Show / Hide Table of Contents

Interface IMyEntityController

Describes entity controller (mods interface) Allows to take controls

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game.dll
Syntax
public interface IMyEntityController

Properties

ControlledEntity

Get currently controlled entity

Declaration
IMyControllableEntity ControlledEntity { get; }
Property Value
Type Description
IMyControllableEntity

Methods

TakeControl(IMyControllableEntity)

Taking control on entity.

Declaration
void TakeControl(IMyControllableEntity entity)
Parameters
Type Name Description
IMyControllableEntity entity

Entity to control

Events

ControlledEntityChanged

Event triggered when currently controlled grid is changed

Declaration
event Action<IMyControllableEntity, IMyControllableEntity> ControlledEntityChanged
Event Type
Type Description
System.Action<IMyControllableEntity, IMyControllableEntity>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾