Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
This commit is contained in:
@@ -93,13 +93,22 @@ namespace Game.Networking.Packets
|
||||
Standing = standing;
|
||||
}
|
||||
|
||||
public FactionStandingData(int index, int standing, int factionId)
|
||||
{
|
||||
Index = index;
|
||||
Standing = standing;
|
||||
FactionID = factionId;
|
||||
}
|
||||
|
||||
public void Write(WorldPacket data)
|
||||
{
|
||||
data.WriteInt32(Index);
|
||||
data.WriteInt32(Standing);
|
||||
data.WriteInt32(FactionID);
|
||||
}
|
||||
|
||||
int Index;
|
||||
int Standing;
|
||||
int FactionID;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user