コード例 #1
0
 public static void Serialize(Stream stream, GetGameSessionInfoResponse instance)
 {
     if (instance.HasSessionInfo)
     {
         stream.WriteByte(18);
         ProtocolParser.WriteUInt32(stream, instance.SessionInfo.GetSerializedSize());
         GameSessionInfo.Serialize(stream, instance.SessionInfo);
     }
 }
コード例 #2
0
 public void Serialize(Stream stream)
 {
     GameSessionInfo.Serialize(stream, this);
 }