public S2C_HandleCapturePointUpdate(PacketReader reader, ChannelID channelID, NetID senderNetID) { this.SenderNetID = senderNetID; this.ChannelID = channelID; this.CapturePointIndex = reader.ReadByte(); this.OtherNetID = reader.ReadNetID(); this.PARType = reader.ReadPARType(); this.AttackTeam = reader.ReadTeamID(); this.Command = reader.ReadCapturePointUpdateCommand(); this.ExtraBytes = reader.ReadLeft(); }
public static void WriteCapturePointUpdateCommand(this PacketWriter writer, CapturePointUpdateCommand data) { writer.WriteByte((byte)data); }