mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-12 04:15:16 -05:00
Player Inventory Networking
This commit is contained in:
@@ -3,10 +3,12 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user