Core/PacketIO: Implement SMSG_GUILD_EVENT_AWAY_CHANGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdb27ff3020f40c2a9a104a7ebba5c5c19452afc)
This commit is contained in:
@@ -278,6 +278,23 @@ namespace Game.Network.Packets
|
||||
public string OldGuildName;
|
||||
}
|
||||
|
||||
public class GuildEventAwayChange : ServerPacket
|
||||
{
|
||||
public GuildEventAwayChange() : base(ServerOpcodes.GuildEventAwayChange) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WritePackedGuid(Guid);
|
||||
_worldPacket.WriteBit(AFK);
|
||||
_worldPacket.WriteBit(DND);
|
||||
_worldPacket.FlushBits();
|
||||
}
|
||||
|
||||
public ObjectGuid Guid;
|
||||
public bool AFK;
|
||||
public bool DND;
|
||||
}
|
||||
|
||||
public class GuildEventPresenceChange : ServerPacket
|
||||
{
|
||||
public GuildEventPresenceChange() : base(ServerOpcodes.GuildEventPresenceChange) { }
|
||||
|
||||
Reference in New Issue
Block a user