GamecraftModdingAPI
v1.8.0
The unofficial Gamecraft modding API
|
Engine for executing general block actions More...
Classes | |
struct | BlockInitData |
Holds information needed to construct a component initializer More... | |
Public Member Functions | |
bool | BlockExists (EGID blockID) |
float4 | ConvertBlockColor (byte index) |
void | Dispose () |
EGID? | FindBlockEGID (uint id) |
U | GetBlockInfo< T, U > (Block block, Func< T, U > getter, U def=default) |
bool | GetBlockInfoExists< T > (Block block) |
ref T | GetBlockInfoViewStruct< T > (EGID blockID) |
U | GetBlockInfoViewStruct< T, U > (Block block, Func< T, U > getter, U def=default) |
Block[] | GetBodyBlocks (uint sbid) |
Cluster | GetCluster (uint sbid) |
SimBody[] | GetClusterBodies (uint cid) |
Block[] | GetConnectedBlocks (EGID blockID) |
SimBody[] | GetConnectedSimBodies (uint id) |
ObjectIdentifier[] | GetObjectIDsFromID (byte id, bool sim) |
SimBody[] | GetSimBodiesFromID (byte id) |
void | Ready () |
void | SetBlockInfo< T, U > (Block block, Setter< T, U > setter, U value) |
void | SetBlockInfoViewStruct< T, U > (Block block, Setter< T, U > setter, U value) |
delegate void | Setter< T, U > (ref T component, U value) |
void | UpdateDisplayedBlock (EGID id) |
Public Attributes | |
bool | isRemovable => false |
Package Functions | |
delegate FasterDictionary< RefWrapperType, ITypeSafeDictionary > | GetInitGroup (EntityInitializer initializer) |
Static Package Functions | |
static TDelegate | CreateAccessor< TDelegate > (string memberName) |
Package Attributes | |
GetInitGroup | InitGroup = CreateAccessor<GetInitGroup>("_group") |
Accesses the group field of the initializer More... | |
Properties | |
EntitiesDB | entitiesDB [set] |
string | Name = "GamecraftModdingAPIBlockGameEngine" [get] |
Engine for executing general block actions
|
inline |
|
inline |
|
inlinestaticpackage |
TDelegate | : | Delegate |
|
inline |
|
inline |
|
inline |
T | : | unmanaged | |
T | : | IEntityComponent |
|
inline |
T | : | struct | |
T | : | IEntityComponent |
|
inline |
T | : | struct | |
T | : | INeedEGID | |
T | : | IEntityViewComponent |
|
inline |
T | : | struct | |
T | : | IEntityViewComponent |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
package |
|
inline |
|
inline |
|
inline |
|
inline |
T | : | unmanaged | |
T | : | IEntityComponent |
|
inline |
T | : | struct | |
T | : | IEntityViewComponent |
delegate void GamecraftModdingAPI.Blocks.BlockEngine.Setter< T, U > | ( | ref T | component, |
U | value | ||
) |
T | : | struct | |
T | : | IEntityComponent |
|
inline |
|
package |
Accesses the group field of the initializer
bool GamecraftModdingAPI.Blocks.BlockEngine.isRemovable => false |
|
set |
|
get |