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(MyCubeGrid, TGroupData)
OnNodeRemoved(MyCubeGrid, TGroupData)
OnRelease()
GetGrids(T) Inherited from IMyGridGroupData
GetVariable(Guid) Inherited from IMyGridGroupData
RemoveVariable(Guid) Removes stored variable

Inherited from IMyGridGroupData
SetVariable(Guid, object) Sets memory-stored variable

Inherited from IMyGridGroupData
TryGetVariable(Guid, out T) Inherited from IMyGridGroupData

Inheritance: MyGridGroupData prohibited

Implements: