Game API PlayerInfo

PlayerInfo
Class used to pass player information.

public int clientId
Id of client

public float radiation
Current radiation?

public float radiationMax
?

public float bodyTemp
Current bodytemperature?

public float bodyTempMax
?

public int kills
Amount of kills by player?

public int died
Amount of deaths by player?

public double credits
Amount of credits on player

public float foodMax
Maximum foodbar value?

public ItemStack[] toolbar
Array of items in players toolbelt.

public int exp
Amount of experience (gained or currently had?)

public int upgrade
Amount of upgrade points (gained or currently had?)

public float bpRemainingTime
Current time remaining on blueprint construction?

public Dictionary bpResourcesInFactory
Dictionary of  in blueprint (?)

public string bpInFactory
? Possibly name of current blueprint being produced

public List producedPrefabs
List of all produced prefabs by the player?

public int ping
current? ping of the player to the server

public ItemStack[] bag
Array of items in the players bag.

public int permission
Permission-level of the player.

public float food
current? foodvalue of the player.

public float stamina
current? stamina of the player.

public int entityId
Entitiy ID of the player

public string steamId
SteamId of the player. (Unique entity for each copy of the game, should the user have several)

public string steamOwnerId
For most cases, the same as steamId. Will be the *main account*s ID, in the case of several game-copies registered to the same steam account.

public string playerName
"friendly" name of the player.

public string playfield
Name of the playfield the player currently is at.

public string startPlayfield
Name of the playfield the player started at.

public PVector3 pos
Likely a x,y,z coordinate of the players position.

public float staminaMax
Maximum value stamina can have for the player?

public PVector3 rot
Likely a x,y,z rotation value of the player (looking at)

public byte factionGroup
Likely which factiongroup the player belongs to (Assumingly faction in this content is player/alien/neutral/...

public int factionId
ID of faction player belongs to

public byte factionRole
Role in faction. (permission?)

public float health
Current? value of the players health

public float healthMax
Maximum value the players health can be.

public float oxygen
Current? vale of the players oxygen

public float oxygenMax
Maximum value the players oxygen can be.

public byte origin
origin-choice. Not too much of a clue to this.

Methods

public PlayerInfo
Constructor.