mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-03-23 02:04:17 -05:00
- Currently deletes the wrong player upon enter - Still needs to swap to proper scene on all players finished
19 lines
517 B
C#
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;
|
|
}
|
|
}
|