TheKingsRace/Assets/Scripts/Network/PlayerData.cs
2021-11-17 13:20:00 -06:00

16 lines
425 B
C#

public struct PlayerData {
public string PlayerName { get; private set; }
public ulong ClientId { get; private set; }
public bool IsKing { get; set; }
public PlayerInventory pInv{get; set;}
public PlayerData(string playerName, ulong clientId, bool isKing = false)
{
PlayerName = playerName;
pInv = new PlayerInventory();
ClientId = clientId;
IsKing = isKing;
}
}