mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-03-29 13:14:54 -05:00
16 lines
425 B
C#
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;
|
|
}
|
|
}
|