Sandbox.Game.EntityComponents
MyIngameScriptComponent
Assembly: Sandbox.Game.dll
public class MyIngameScriptComponent: MyGameLogicComponent, IMyComponentBase, IMyEntityComponentBase, IMyGameLogicComponent
A component to control the execution of a programmable block script based on its configured update frequency.
Events
| Member | Description |
|---|---|
| static OnAfterAddedToContainer | Inherited from MyEntityComponentBase |
| BeforeRemovedFromContainer | Inherited from IMyEntityComponentBase |
| BeforeRemovedFromContainer | Inherited from MyEntityComponentBase |
Properties
| Member | Description |
|---|---|
| UpdateFrequency | The update frequency with which to run the script. |
| AttachSyncToEntity | Inherited from MyEntityComponentBase |
| Closed | Inherited from MyGameLogicComponent |
| ComponentTypeDebugString | Inherited from IMyEntityComponentBase |
| ComponentTypeDebugString | Inherited from MyGameLogicComponent |
| ComponentTypeDebugString | Name of the base component type for debug purposes (e.g.: "Position") Inherited from MyEntityComponentBase |
| Container | Inherited from IMyEntityComponentBase |
| Container | Inherited from MyEntityComponentBase |
| ContainerBase | Inherited from IMyComponentBase |
| ContainerBase | This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. Inherited from MyComponentBase |
| Entity | Inherited from IMyEntityComponentBase |
| Entity | Inherited from MyEntityComponentBase |
| EntityUpdate | Inherited from MyGameLogicComponent |
| FailedOnSceneAdd | Inherited from MyComponentBase |
| MarkedForClose | Inherited from MyGameLogicComponent |
| ModContext | Returns the mod context this gamelogic belongs to. This can be passed to methods to read content from the mod's directory. Inherited from MyGameLogicComponent |
| NeedsUpdate | Inherited from MyGameLogicComponent |
| RemoveExistingComponentOnNewInsert | Inherited from IMyComponentBase |
| RemoveExistingComponentOnNewInsert | Inherited from MyComponentBase |
Constructors
| Member | Description |
|---|---|
| MyIngameScriptComponent() |
Methods
Inheritance: MyComponentBase ˃ MyEntityComponentBase ˃ MyGameLogicComponent
Implements:
- IMyComponentBase
- IMyEntityComponentBase
- IMyGameLogicComponent prohibited