Sandbox.Game.Entities
MyGridMechanicalGroupData
Assembly: Sandbox.Game.dll
public class MyGridMechanicalGroupData: MyGridGroupData<MyGridMechanicalGroupData>, IGroupData<MyCubeGrid>, IMyGridGroupData
Events
| Member | Description |
|---|---|
| OnGridAdded | First MyGridGroupData(this) - where grid would be added Second MyGridGroupData(Nullable) - previous grid group of grid Inherited from IMyGridGroupData |
| OnGridRemoved | First MyGridGroupData(this) - from where grid was removed Second MyGridGroupData(Nullable) - where grid group would be added Called after Keen OnAdded logic, like MyGridLogicalGroupData.OnNodeAdded Inherited from IMyGridGroupData |
| OnReleased | You must clean your subscriptions here. Instances of IMyGridGroupData are re-used in ObjectPool. At the time event is called it has no grids attached to it. Inherited from IMyGridGroupData |
Properties
| Member | Description |
|---|---|
| LinkType | Get connection type Inherited from IMyGridGroupData |
Constructors
| Member | Description |
|---|---|
| MyGridMechanicalGroupData() |
Methods
| Member | Description |
|---|---|
| GetGrids |
Inherited from IMyGridGroupData |
| GetVariable |
Inherited from IMyGridGroupData |
| RemoveVariable(Guid) | Removes stored variable Inherited from IMyGridGroupData |
| SetVariable(Guid, object) | Sets memory-stored variable Inherited from IMyGridGroupData |
| TryGetVariable |
Inherited from IMyGridGroupData |
Inheritance: MyGridGroupData prohibited
Implements:
- IGroupData
prohibited - IMyGridGroupData