Space Engineers
|
Simple definition manager class that allows loading of definitions from files and support type overrides (e.g. for loading subset of EnvironmentDefinition) More...
Public Member Functions | |||
void | AddDefinitionOverride (Type overridingType, string typeOverride) | ||
| |||
void | LoadDefinitions (string path) | ||
override MyDefinitionSet | GetLoadingSet () | ||
Public Member Functions inherited from VRage.Game.MyDefinitionManagerBase | |||
T | GetDefinition< T > (MyStringHash subtypeId) | ||
T | GetDefinition< T > (MyDefinitionId subtypeId) | ||
IEnumerable< T > | GetDefinitions< T > () | ||
IEnumerable< T > | GetAllDefinitions< T > () | ||
bool | TryGetDefinition< T > (MyStringHash subtypeId, out T def) | ||
HashSet< Type > | GetSubtypes< T > () | ||
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.
|
inline |
typeOverride | The xst:type atrribute overridden |
Definition at line 23 of file MyDefinitionManagerSimple.cs.
|
inlinevirtual |
Implements VRage.Game.MyDefinitionManagerBase.
Definition at line 74 of file MyDefinitionManagerSimple.cs.
|
inline |
Definition at line 39 of file MyDefinitionManagerSimple.cs.