Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

Reflection

Source

function instanceCount(int typeId) returns int

Source

returns the number of active instances for a typeId

function maxInstanceCount(int typeId) returns int

Source

returns the maximum number of instances reached for the given type id

function maxTypeId() returns int

Source

returns the maximum type id, can be usd to iterate over all type-ids from 1 to maxTypeId()

function typeIdToTypeName(int typeId) returns string

Source

returns the class name for a given type id