Interface IMyGridControlSystem
ModAPI interface giving access to grid-group control system
Namespace: VRage.Game.ModAPI
Assembly: VRage.Game.dll
Syntax
public interface IMyGridControlSystem
Properties
CurrentShipController
Gets the controllable entity of the ship controller currently controlling the grid. Can cast its Entity property to IMyShipController
Declaration
IMyControllableEntity CurrentShipController { get; }
Property Value
Type | Description |
---|---|
IMyControllableEntity |
IsControlled
Gets whether grid-group is controlled
Declaration
bool IsControlled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Events
IsControlledChanged
Called when IsControlled changed. Invoked with grid main grid that
Declaration
event Action<bool, IMyCubeGrid> IsControlledChanged
Event Type
Type | Description |
---|---|
System.Action<System.Boolean, IMyCubeGrid> |