TheKingsRace/Assets/Scripts/Network/PlayerData.cs
Julia Butenhoff df4a3f0173 Mostly working EndBox Collider
- Currently deletes the wrong player upon enter
- Still needs to swap to proper scene on all players finished
2021-12-03 14:14:29 -06:00

19 lines
517 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 bool Finished { get; set; }
public PlayerData(string playerName, ulong clientId, bool isKing = false, bool finished = false)
{
PlayerName = playerName;
pInv = new PlayerInventory();
ClientId = clientId;
IsKing = isKing;
Finished = finished;
}
}