public S2C_UnitSetAutoAttackGroundAllowed(PacketReader reader, ChannelID channelID, NetID senderNetID) { this.SenderNetID = senderNetID; this.ChannelID = channelID; this.NetID = reader.ReadNetID(); this.CanAutoAttackGroundState = reader.ReadGroundAttackMode(); this.ExtraBytes = reader.ReadLeft(); }
public static void WriteGroundAttackMode(this PacketWriter writer, GroundAttackMode data) { writer.WriteByte((byte)data); }