feat(wip): player properties

This commit is contained in:
2024-04-29 09:12:42 +03:00
parent accd442388
commit b4cba20d82
14 changed files with 110 additions and 93 deletions
+3 -1
View File
@@ -15,6 +15,7 @@
*/
using Ragon.Protocol;
using Ragon.Server.Data;
using Ragon.Server.Entity;
using Ragon.Server.IO;
using Ragon.Server.Plugin;
@@ -29,7 +30,8 @@ public class RagonRoom : IRagonRoom, IRagonAction
public int PlayerMax { get; private set; }
public int PlayerMin { get; private set; }
public int PlayerCount => WaitPlayersList.Count;
public RagonData UserData { get; set; }
public RagonRoomPlayer Owner { get; private set; }
public RagonBuffer Writer { get; }
public IRoomPlugin Plugin { get; private set; }