Space Engineers
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Static Protected Attributes | Properties | List of all members
VRage.Game.MyDefinitionManagerBase Class Referenceabstract
Inheritance diagram for VRage.Game.MyDefinitionManagerBase:
Sandbox.Definitions.MyDefinitionManager VRage.Game.MyDefinitionManagerSimple

Public Member Functions

GetDefinition< T > (MyStringHash subtypeId)
 
GetDefinition< T > (MyDefinitionId subtypeId)
 
IEnumerable< T > GetDefinitions< T > ()
 
IEnumerable< T > GetAllDefinitions< T > ()
 
bool TryGetDefinition< T > (MyStringHash subtypeId, out T def)
 
abstract MyDefinitionSet GetLoadingSet ()
 
HashSet< Type > GetSubtypes< T > ()
 

Static Public Member Functions

static MyObjectFactory< MyDefinitionTypeAttribute, MyDefinitionBaseGetObjectFactory ()
 
static void RegisterTypesFromAssembly (Assembly assembly)
 
static MyDefinitionPostprocessor GetPostProcessor (Type obType)
 
static Type GetObjectBuilderType (Type defType)
 

Static Public Attributes

static MyDefinitionManagerBase Static
 

Protected Attributes

MyDefinitionSet m_definitions = new MyDefinitionSet()
 

Static Protected Attributes

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

MyDefinitionSet Definitions [get]
 

Detailed Description

Definition at line 16 of file MyDefinitionManagerBase.cs.

Member Function Documentation

IEnumerable<T> VRage.Game.MyDefinitionManagerBase.GetAllDefinitions< T > ( )
inline
Type Constraints
T :MyDefinitionBase 

Definition at line 142 of file MyDefinitionManagerBase.cs.

T VRage.Game.MyDefinitionManagerBase.GetDefinition< T > ( MyStringHash  subtypeId)
inline
Type Constraints
T :MyDefinitionBase 

Definition at line 127 of file MyDefinitionManagerBase.cs.

T VRage.Game.MyDefinitionManagerBase.GetDefinition< T > ( MyDefinitionId  subtypeId)
inline
Type Constraints
T :MyDefinitionBase 

Definition at line 132 of file MyDefinitionManagerBase.cs.

IEnumerable<T> VRage.Game.MyDefinitionManagerBase.GetDefinitions< T > ( )
inline
Type Constraints
T :MyDefinitionBase 

Definition at line 137 of file MyDefinitionManagerBase.cs.

abstract MyDefinitionSet VRage.Game.MyDefinitionManagerBase.GetLoadingSet ( )
pure virtual
static Type VRage.Game.MyDefinitionManagerBase.GetObjectBuilderType ( Type  defType)
inlinestatic

Definition at line 115 of file MyDefinitionManagerBase.cs.

static MyObjectFactory<MyDefinitionTypeAttribute, MyDefinitionBase> VRage.Game.MyDefinitionManagerBase.GetObjectFactory ( )
inlinestatic

Definition at line 22 of file MyDefinitionManagerBase.cs.

static MyDefinitionPostprocessor VRage.Game.MyDefinitionManagerBase.GetPostProcessor ( Type  obType)
inlinestatic

Definition at line 107 of file MyDefinitionManagerBase.cs.

HashSet<Type> VRage.Game.MyDefinitionManagerBase.GetSubtypes< T > ( )
inline

Definition at line 160 of file MyDefinitionManagerBase.cs.

static void VRage.Game.MyDefinitionManagerBase.RegisterTypesFromAssembly ( Assembly  assembly)
inlinestatic

Definition at line 46 of file MyDefinitionManagerBase.cs.

bool VRage.Game.MyDefinitionManagerBase.TryGetDefinition< T > ( MyStringHash  subtypeId,
out T  def 
)
inline
Type Constraints
T :MyDefinitionBase 

Definition at line 147 of file MyDefinitionManagerBase.cs.

Member Data Documentation

MyDefinitionSet VRage.Game.MyDefinitionManagerBase.m_definitions = new MyDefinitionSet()
protected

Definition at line 18 of file MyDefinitionManagerBase.cs.

List<MyDefinitionPostprocessor> VRage.Game.MyDefinitionManagerBase.m_postProcessors = new List<MyDefinitionPostprocessor>()
staticprotected

Definition at line 28 of file MyDefinitionManagerBase.cs.

Dictionary<Type, MyDefinitionPostprocessor> VRage.Game.MyDefinitionManagerBase.m_postprocessorsByType = new Dictionary<Type, MyDefinitionPostprocessor>()
staticprotected

Definition at line 27 of file MyDefinitionManagerBase.cs.

HashSet<Assembly> VRage.Game.MyDefinitionManagerBase.m_registeredAssemblies = new HashSet<Assembly>()
staticprotected

Definition at line 31 of file MyDefinitionManagerBase.cs.

MyDefinitionManagerBase VRage.Game.MyDefinitionManagerBase.Static
static

Definition at line 35 of file MyDefinitionManagerBase.cs.

Property Documentation

MyDefinitionSet VRage.Game.MyDefinitionManagerBase.Definitions
get

Definition at line 156 of file MyDefinitionManagerBase.cs.


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