This commit is contained in:
2024-11-03 11:36:58 +03:00
parent 672bb1ff6d
commit edf90b39c4
79 changed files with 233 additions and 3830 deletions
@@ -22,7 +22,7 @@ public class RagonLobbyDispatcher
for (int i = 0; i < rooms.Count; i++)
{
var room = rooms[i];
writer.WriteString(room.Id);
writer.WriteString(room.Scene);
writer.WriteUShort((ushort)room.PlayerMax);
@@ -73,6 +73,11 @@ public class LobbyInMemory : IRagonLobby
return false;
}
public bool FindRoomByProperties(Dictionary<string, object> props)
{
return true;
}
public void Persist(RagonRoom room)
{
room.Attach();
@@ -14,7 +14,6 @@
* limitations under the License.
*/
using Ragon.Server.Data;
using Ragon.Server.IO;
namespace Ragon.Server.Lobby;