VRage.Game.ModAPI
IMyControllerInfo
Assembly: VRage.Game.dll
public interface IMyControllerInfo
Describes interface that provides information about current control state for controllable entities such as turret, cockpit, character ...
Events
| Member | Description |
|---|---|
| ControlAcquired | Called when the entity gains a controller |
| ControlReleased | Called when the entity loses a controller |
Properties
| Member | Description |
|---|---|
| Controller | Gets the controller for the entity |
| ControllingIdentityId | Gets the controlling entity id (eg. IMyPlayer.IdentityId) |
Methods
| Member | Description |
|---|---|
| IsLocallyControlled() | Returns true if the local player is controlling the entity |
| IsLocallyHumanControlled() | Returns true if the local human player is controlling the entity |
| IsRemotelyControlled() | Returns true if the entity is remotely controlled |