Difference between revisions of "IObjectTemplateInfo"
From Virtual World Web Wiki
(Documentation for the IObjectTemplateInfo class) |
(Documentation for the IObjectTemplateInfo class) |
||
Line 8: | Line 8: | ||
:: | :: | ||
::The UTC date the object template was created | ::The UTC date the object template was created | ||
+ | |||
+ | :{{CSharp|Dictionary<string, ProtoValue> Metadata {get;} }} | ||
:{{CSharp|IObjectContainerInfo ObjectContainer {get;} }} | :{{CSharp|IObjectContainerInfo ObjectContainer {get;} }} | ||
Line 20: | Line 22: | ||
:: | :: | ||
::Information about the object type of the template | ::Information about the object type of the template | ||
+ | |||
+ | ===Methods=== | ||
+ | :{{CSharp|Dictionary<string, ProtoValue> FlattenMetadata()}} | ||
+ | |||
+ | :{{CSharp|T GetMetaValue<T>(string key, bool includeParents {{=}} true)}} | ||
+ | |||
+ | :{{CSharp|bool HasMetaValue(string key, bool includeParents {{=}} true)}} | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Latest revision as of 14:15, 15 January 2018
An interface to a structure of information about an Object Template
Remarks [edit]
Properties
- DateTime Created {get;}
- The UTC date the object template was created
- Dictionary<string, ProtoValue> Metadata {get;}
- IObjectContainerInfo ObjectContainer {get;}
- Information about the object container in which the template resides
- Guid ObjectTemplateID {get;}
- The globally unique identifier of the object template
- IObjectTypeInfo ObjectType {get;}
- Information about the object type of the template
Methods
- Dictionary<string, ProtoValue> FlattenMetadata()
- T GetMetaValue<T>(string key, bool includeParents = true)
- bool HasMetaValue(string key, bool includeParents = true)