Sandbox.Game.Entities
MyGridPhysicalGroupData
Assembly: Sandbox.Game.dll
public class MyGridPhysicalGroupData: MyGridGroupData<MyGridPhysicalGroupData>, 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 |
|---|---|
| MyGridPhysicalGroupData() |
Methods
| Member | Description |
|---|---|
| static GetGroupSharedProperties(MyCubeGrid, bool) | |
| static InvalidateSharedMassPropertiesCache(MyCubeGrid) | |
| OnNodeAdded |
|
| OnNodeRemoved |
|
| OnRelease() | |
| 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