Game API GlobalStructureInfo

GlobalStructureInfo
Class used to pass structure information. (ressourcenode / POI / vessel /..). From GlobalStructureList

public int id
Contains the structures ID.

public List dockedShips
Contains a list of all the docked ships on this structure.

public int classNr
? Possibly the class-size. (performance)

public int cntLights
? Possibly the amount of lights. (performance)

public int cntTriangles
? Possibly the amount of triangles. (performance)

public int cntBlocks
? Possibly the amount of blocks. (performance)

public int cntDevices
? Possibly the amount of devices. (performance)

public int fuel
? Likely the amount of fuel left.

public bool powered
Wether or not it is currently powered on/off.

public PVector3 rot
The rotation of the structure.

public PVector3 pos
The position of the structure.

public long lastVisitedUTC
The timestamp, for last visit. (last active - when a player was on it)

Note, that this is actually a binary, not a long.

You can convert it to DateTime by DateTime start = DateTime.FromBinary(entry.lastVisitedUTC); //Entry being whatever you have GlobalStructureInfo passed as

public string name
The name of the structure.

public int factionId
? Likely the ID of the owning faction.

public byte factionGroup
Likely the factiongroup owning it. Faction = 0 Privat = 1 Zirax = 2 Predator = 3 Prey = 4 Admin = 5 Talon = 6 Polaris = 7 Alien = 8 Unknown = 11 Public = 10 None = 12 Decored = 255

public byte type
What type it is. 2: POI

public sbyte coreType
What type the core is. (alien/...)

-1 - data not valid yet 0 - no core 1 - player core 2 - admin core 3 - npc core 4 - admin npc core 5 - no faction

public int pilotId
? Likely the entity ID of whoever is piloting it.

Note
If values are not loaded, they will appear as -1

Values might not be loaded, if outside 'DSL-loading-range'.

Note, that the lastVisitedUTC will be year 0001 or so, if not loaded.