Space Engineers
Public Member Functions | List of all members
VRage.Game.MyDefinitionManagerSimple Class Reference

Simple definition manager class that allows loading of definitions from files and support type overrides (e.g. for loading subset of EnvironmentDefinition) More...

Inheritance diagram for VRage.Game.MyDefinitionManagerSimple:
VRage.Game.MyDefinitionManagerBase

Public Member Functions

void AddDefinitionOverride (Type overridingType, string typeOverride)
 
Parameters
typeOverrideThe xst:type atrribute overridden
More...
 
void LoadDefinitions (string path)
 
override MyDefinitionSet GetLoadingSet ()
 
- Public Member Functions inherited from VRage.Game.MyDefinitionManagerBase
GetDefinition< T > (MyStringHash subtypeId)
 
GetDefinition< T > (MyDefinitionId subtypeId)
 
IEnumerable< T > GetDefinitions< T > ()
 
IEnumerable< T > GetAllDefinitions< T > ()
 
bool TryGetDefinition< T > (MyStringHash subtypeId, out T def)
 
HashSet< Type > GetSubtypes< T > ()
 

Additional Inherited Members

- Static Public Member Functions inherited from VRage.Game.MyDefinitionManagerBase
static MyObjectFactory< MyDefinitionTypeAttribute, MyDefinitionBaseGetObjectFactory ()
 
static void RegisterTypesFromAssembly (Assembly assembly)
 
static MyDefinitionPostprocessor GetPostProcessor (Type obType)
 
static Type GetObjectBuilderType (Type defType)
 
- Static Public Attributes inherited from VRage.Game.MyDefinitionManagerBase
static MyDefinitionManagerBase Static
 
- Protected Attributes inherited from VRage.Game.MyDefinitionManagerBase
MyDefinitionSet m_definitions = new MyDefinitionSet()
 
- Static Protected Attributes inherited from VRage.Game.MyDefinitionManagerBase
static Dictionary< Type, MyDefinitionPostprocessorm_postprocessorsByType = new Dictionary<Type, MyDefinitionPostprocessor>()
 
static List< MyDefinitionPostprocessorm_postProcessors = new List<MyDefinitionPostprocessor>()
 
static HashSet< Assembly > m_registeredAssemblies = new HashSet<Assembly>()
 
- Properties inherited from VRage.Game.MyDefinitionManagerBase
MyDefinitionSet Definitions [get]
 

Detailed Description

Simple definition manager class that allows loading of definitions from files and support type overrides (e.g. for loading subset of EnvironmentDefinition)

Definition at line 18 of file MyDefinitionManagerSimple.cs.

Member Function Documentation

void VRage.Game.MyDefinitionManagerSimple.AddDefinitionOverride ( Type  overridingType,
string  typeOverride 
)
inline

Parameters
typeOverrideThe xst:type atrribute overridden

Definition at line 23 of file MyDefinitionManagerSimple.cs.

override MyDefinitionSet VRage.Game.MyDefinitionManagerSimple.GetLoadingSet ( )
inlinevirtual

Implements VRage.Game.MyDefinitionManagerBase.

Definition at line 74 of file MyDefinitionManagerSimple.cs.

void VRage.Game.MyDefinitionManagerSimple.LoadDefinitions ( string  path)
inline

Definition at line 39 of file MyDefinitionManagerSimple.cs.


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