Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode
Port From (https://github.com/TrinityCore/TrinityCore/commit/4772c4817f1b34553f1c697e2aedc0372af9aea2)
This commit is contained in:
@@ -317,6 +317,22 @@ namespace Game.Networking.Packets
|
||||
public uint GarrPlotInstanceID;
|
||||
}
|
||||
|
||||
class GarrisonOpenTalentNpc : ServerPacket
|
||||
{
|
||||
public GarrisonOpenTalentNpc() : base(ServerOpcodes.GarrisonOpenTalentNpc, ConnectionType.Instance) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WritePackedGuid(NpcGUID);
|
||||
_worldPacket.WriteInt32(GarrTalentTreeID);
|
||||
_worldPacket.WriteInt32(FriendshipFactionID);
|
||||
}
|
||||
|
||||
public ObjectGuid NpcGUID;
|
||||
public int GarrTalentTreeID;
|
||||
public int FriendshipFactionID; // Always 0 except on The Deaths of Chromie Scenario
|
||||
}
|
||||
|
||||
//Structs
|
||||
public struct GarrisonPlotInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user