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
@@ -31,14 +31,13 @@ public class RagonLobbyPlayer
public INetworkConnection Connection { get; }
public string Id { get; private set; }
public string Name { get; private set; }
public string Payload { get; private set; }
public RagonData UserData { get; private set; }
public RagonLobbyPlayer(INetworkConnection connection, string id, string name, byte[] payload)
public RagonLobbyPlayer(INetworkConnection connection, string id, string name, string payload)
{
Id = id;
Name = name;
Connection = connection;
UserData = new RagonData(payload);
Payload = payload;
}
}