Space Engineers
|
Class which handles small block to large one connection. Such connection creates block and grid groups so connected grids can be copied together. It is done on server and client, but client uses it only for groups (copying of all grids together), dynamic grid testing is processed on server only. More...
Public Member Functions | |
MyCubeGridSmallToLargeConnection () | |
override void | LoadData () |
bool | AddBlockSmallToLargeConnection (MySlimBlock block) |
Adds small/large block static connections and creates links. Returns true if the block connects to any other block. More... | |
bool | TestGridSmallToLargeConnection (MyCubeGrid smallGrid) |
Tests whether the given small grid connects to any large static block. More... | |
Public Member Functions inherited from VRage.Game.Components.MySessionComponentBase | |
virtual bool | UpdatedBeforeInit () |
MySessionComponentBase () | |
void | SetUpdateOrder (MyUpdateOrder order) |
virtual void | InitFromDefinition (MySessionComponentDefinition definition) |
virtual void | Init (MyObjectBuilder_SessionComponent sessionComponent) |
virtual MyObjectBuilder_SessionComponent | GetObjectBuilder () |
void | AfterLoadData () |
void | UnloadDataConditional () |
virtual void | SaveData () |
virtual void | BeforeStart () |
virtual void | UpdateBeforeSimulation () |
virtual void | Simulate () |
virtual void | UpdateAfterSimulation () |
virtual void | UpdatingStopped () |
virtual void | Draw () |
virtual void | HandleInput () |
override string | ToString () |
Static Public Attributes | |
static MyCubeGridSmallToLargeConnection | Static |
Protected Member Functions | |
override void | UnloadData () |
Properties | |
override bool | IsRequiredByGame [get] |
Properties inherited from VRage.Game.Components.MySessionComponentBase | |
MyUpdateOrder | UpdateOrder [get] |
MyObjectBuilderType | ObjectBuilderType [get] |
bool | Loaded [get] |
bool | Initialized [get] |
MyDefinitionId | Definition [get, set] |
virtual Type[] | Dependencies [get] |
virtual bool | IsRequiredByGame [get] |
Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction More... | |
Additional Inherited Members | |
Public Attributes inherited from VRage.Game.Components.MySessionComponentBase | |
readonly string | DebugName |
readonly int | Priority |
readonly Type | ComponentType |
IMySession | Session |
Class which handles small block to large one connection. Such connection creates block and grid groups so connected grids can be copied together. It is done on server and client, but client uses it only for groups (copying of all grids together), dynamic grid testing is processed on server only.
Definition at line 47 of file MyCubeGridSmallToLargeConnection.cs.
|
inline |
Definition at line 89 of file MyCubeGridSmallToLargeConnection.cs.
|
inline |
Adds small/large block static connections and creates links. Returns true if the block connects to any other block.
Definition at line 436 of file MyCubeGridSmallToLargeConnection.cs.
|
inlinevirtual |
Reimplemented from VRage.Game.Components.MySessionComponentBase.
Definition at line 98 of file MyCubeGridSmallToLargeConnection.cs.
|
inline |
Tests whether the given small grid connects to any large static block.
Definition at line 694 of file MyCubeGridSmallToLargeConnection.cs.
|
inlineprotectedvirtual |
Reimplemented from VRage.Game.Components.MySessionComponentBase.
Definition at line 104 of file MyCubeGridSmallToLargeConnection.cs.
|
static |
Definition at line 84 of file MyCubeGridSmallToLargeConnection.cs.
|
get |
Definition at line 94 of file MyCubeGridSmallToLargeConnection.cs.