Class MyAPIGatewayShortcuts
Links to modapi actions. Delegates are set inside MyAPIGateway. VRAGE TODO: This is probably a temporary class helping us to remove sandbox.
Inheritance
System.Object
MyAPIGatewayShortcuts
Namespace: VRage.ModAPI
Assembly: VRage.Game.dll
Syntax
public static class MyAPIGatewayShortcuts : Object
Fields
GetLocalPlayerPosition
Declaration
public static MyAPIGatewayShortcuts.GetLocalPlayerPositionCallback GetLocalPlayerPosition
Field Value
Type | Description |
---|---|
MyAPIGatewayShortcuts.GetLocalPlayerPositionCallback |
GetMainCamera
Declaration
public static MyAPIGatewayShortcuts.GetMainCameraCallback GetMainCamera
Field Value
Type | Description |
---|---|
MyAPIGatewayShortcuts.GetMainCameraCallback |
GetWorldBoundaries
Declaration
public static MyAPIGatewayShortcuts.GetWorldBoundariesCallback GetWorldBoundaries
Field Value
Type | Description |
---|---|
MyAPIGatewayShortcuts.GetWorldBoundariesCallback |
RegisterEntityUpdate
Registers entity in update loop. Parameters: IMyEntity entity (ref to entity to be registered)
Declaration
public static Action<IMyEntity> RegisterEntityUpdate
Field Value
Type | Description |
---|---|
System.Action<IMyEntity> |
UnregisterEntityUpdate
Unregisters entity from update loop. Parameters: IMyEntity entity (ref to entity to be unregistered), bool immediate (default is false)
Declaration
public static Action<IMyEntity, bool> UnregisterEntityUpdate
Field Value
Type | Description |
---|---|
System.Action<IMyEntity, System.Boolean> |