Exemplo n.º 1
0
 public byte[] ToProtoBytes()
 {
     return(PlayerTeam.SerializeToBytes(this));
 }
Exemplo n.º 2
0
 public static void SerializeLengthDelimited(Stream stream, PlayerTeam instance)
 {
     byte[] bytes = PlayerTeam.SerializeToBytes(instance);
     ProtocolParser.WriteUInt32(stream, (uint)bytes.Length);
     stream.Write(bytes, 0, (int)bytes.Length);
 }