protected override void SerializeRequestBody(ITypeWriter typeWriter) { typeWriter.WriteDictionary(Properties, typeWriter.Write); typeWriter.Write(Players.Count); foreach (var property in Players) { typeWriter.Write(property.Key); typeWriter.WriteDictionary(property.Value, typeWriter.Write); } typeWriter.Write(RoomId); }
protected override void SerializeBody(ITypeWriter typeWriter) { typeWriter.Write(RoomId); typeWriter.Write(MaxPlayers); typeWriter.Write(CurrentPlayers); typeWriter.WriteDictionary(RoomProperties, typeWriter.Write); typeWriter.Write((byte)State); }
protected override void SerializeRequestBody(ITypeWriter typeWriter) { typeWriter.WriteDictionary(MatchMakingProperties, typeWriter.Write); typeWriter.Write(MatchMakingWeight); }
protected override void SerializeRequestBody(ITypeWriter typeWriter) { typeWriter.Write(RoomId); typeWriter.WriteDictionary(Properties, typeWriter.Write); }