public static void Serialize(Stream stream, GetCAISInfoResponse instance)
 {
     if (instance.HasCaisInfo)
     {
         stream.WriteByte(10);
         ProtocolParser.WriteUInt32(stream, instance.CaisInfo.GetSerializedSize());
         CAIS.Serialize(stream, instance.CaisInfo);
     }
 }
Beispiel #2
0
 public static void Serialize(Stream stream, GameSessionUpdateInfo instance)
 {
     if (instance.HasCais)
     {
         stream.WriteByte(66);
         ProtocolParser.WriteUInt32(stream, instance.Cais.GetSerializedSize());
         CAIS.Serialize(stream, instance.Cais);
     }
 }
 public void Serialize(Stream stream)
 {
     CAIS.Serialize(stream, this);
 }