Space Engineers
Public Member Functions | Protected Member Functions | List of all members
Sandbox.Game.World.MySessionCompatHelper Class Reference
Inheritance diagram for Sandbox.Game.World.MySessionCompatHelper:
World.MySpaceSessionCompatHelper

Public Member Functions

virtual void FixSessionComponentObjectBuilders (MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
 
virtual void FixSessionObjectBuilders (MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
 
virtual void AfterEntitiesLoad (int saveVersion)
 
virtual void CheckAndFixPrefab (MyObjectBuilder_Definitions prefab)
 

Protected Member Functions

MyObjectBuilder_EntityBase ConvertBuilderToEntityBase (MyObjectBuilder_EntityBase origEntity, string subTypeNamePrefix)
 Converts the given builder to be of type EntityBase only with components. Prefix is added to sub type name for the created EntityBase and also for component builders. Should be used when an entity was transformed to components and do not need specific entity implementation at all. More...
 
MyObjectBuilder_EntityBase ConvertInventoryBagToEntityBase (MyObjectBuilder_EntityBase oldBuilder)
 

Detailed Description

Definition at line 17 of file MySessionCompatHelper.cs.

Member Function Documentation

virtual void Sandbox.Game.World.MySessionCompatHelper.AfterEntitiesLoad ( int  saveVersion)
inlinevirtual

Definition at line 29 of file MySessionCompatHelper.cs.

virtual void Sandbox.Game.World.MySessionCompatHelper.CheckAndFixPrefab ( MyObjectBuilder_Definitions  prefab)
inlinevirtual

Definition at line 32 of file MySessionCompatHelper.cs.

MyObjectBuilder_EntityBase Sandbox.Game.World.MySessionCompatHelper.ConvertBuilderToEntityBase ( MyObjectBuilder_EntityBase  origEntity,
string  subTypeNamePrefix 
)
inlineprotected

Converts the given builder to be of type EntityBase only with components. Prefix is added to sub type name for the created EntityBase and also for component builders. Should be used when an entity was transformed to components and do not need specific entity implementation at all.

Definition at line 39 of file MySessionCompatHelper.cs.

MyObjectBuilder_EntityBase Sandbox.Game.World.MySessionCompatHelper.ConvertInventoryBagToEntityBase ( MyObjectBuilder_EntityBase  oldBuilder)
inlineprotected

Definition at line 97 of file MySessionCompatHelper.cs.

virtual void Sandbox.Game.World.MySessionCompatHelper.FixSessionComponentObjectBuilders ( MyObjectBuilder_Checkpoint  checkpoint,
MyObjectBuilder_Sector  sector 
)
inlinevirtual

Definition at line 19 of file MySessionCompatHelper.cs.

virtual void Sandbox.Game.World.MySessionCompatHelper.FixSessionObjectBuilders ( MyObjectBuilder_Checkpoint  checkpoint,
MyObjectBuilder_Sector  sector 
)
inlinevirtual

Reimplemented in World.MySpaceSessionCompatHelper.

Definition at line 25 of file MySessionCompatHelper.cs.


The documentation for this class was generated from the following file: