feat(wip) room properties
This commit is contained in:
@@ -26,8 +26,7 @@ namespace Ragon.Client
|
||||
public ushort PeerId { get; set; }
|
||||
public bool IsRoomOwner { get; set; }
|
||||
public bool IsLocal { get; set; }
|
||||
|
||||
public IRagonSerializable Data { get; set; }
|
||||
public byte[] Data { get; private set; }
|
||||
|
||||
public RagonPlayer(ushort peerId, string playerId, string name, bool isRoomOwner, bool isLocal)
|
||||
{
|
||||
@@ -37,5 +36,10 @@ namespace Ragon.Client
|
||||
Name = name;
|
||||
Id = playerId;
|
||||
}
|
||||
|
||||
public void SetData(byte[] data)
|
||||
{
|
||||
Data = data;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user