Class MetaEnvironment
Inheritance
System.Object
MetaEnvironment
Assembly: LeagueToolkit.dll
public sealed class MetaEnvironment : object
Properties
|
Improve this Doc
View Source
Declaration
public IReadOnlyDictionary<uint, Type> RegisteredMetaClasses { get; }
Property Value
Type |
Description |
IReadOnlyDictionary<System.UInt32, Type> |
|
|
Improve this Doc
View Source
Declaration
public IReadOnlyDictionary<uint, IMetaClass> RegisteredObjects { get; }
Property Value
Type |
Description |
IReadOnlyDictionary<System.UInt32, IMetaClass> |
|
Methods
|
Improve this Doc
View Source
Declaration
public static MetaEnvironment Create(IEnumerable<Type> metaClasses)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public bool DeregisterObject(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool DeregisterObject(uint pathHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
pathHash |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public Type GetMetaClassTypeOrDefault(uint classNameHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
classNameHash |
|
Returns
|
Improve this Doc
View Source
Declaration
public T GetObject<T>(string path)
where T : IMetaClass
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public T GetObject<T>(uint pathHash)
where T : IMetaClass
Parameters
Type |
Name |
Description |
System.UInt32 |
pathHash |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public void RegisterObject<T>(string path, T metaObject)
where T : IMetaClass
Parameters
Type |
Name |
Description |
System.String |
path |
|
T |
metaObject |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public void RegisterObject<T>(uint pathHash, T metaObject)
where T : IMetaClass
Parameters
Type |
Name |
Description |
System.UInt32 |
pathHash |
|
T |
metaObject |
|
Type Parameters