protected override void OnWrite() { GameNetworkMessage.WriteMBTeamReferenceToPacket(this.Team, CompressionMission.TeamCompressionInfo); GameNetworkMessage.WriteIntToPacket((int)this.Side, CompressionMission.TeamSideCompressionInfo); GameNetworkMessage.WriteUintToPacket(this.Color, CompressionGeneric.ColorCompressionInfo); GameNetworkMessage.WriteUintToPacket(this.Color2, CompressionGeneric.ColorCompressionInfo); GameNetworkMessage.WriteStringToPacket(this.BannerCode); GameNetworkMessage.WriteBoolToPacket(this.IsPlayerGeneral); GameNetworkMessage.WriteBoolToPacket(this.IsPlayerSergeant); }
protected override void OnWrite() { GameNetworkMessage.WriteMBTeamReferenceToPacket(this.Team1, CompressionMission.TeamCompressionInfo); GameNetworkMessage.WriteMBTeamReferenceToPacket(this.Team2, CompressionMission.TeamCompressionInfo); GameNetworkMessage.WriteBoolToPacket(this.IsEnemyOf); }
protected override void OnWrite() { GameNetworkMessage.WriteAgentReferenceToPacket(this.Agent); GameNetworkMessage.WriteMBTeamReferenceToPacket(this.Team, CompressionMission.TeamCompressionInfo); }