Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 3.82 KB

EntitySchema.md

File metadata and controls

33 lines (27 loc) · 3.82 KB

EntitySchema Class

Provide type information about all ITag, IComponent and Script types available in the application.

public sealed class EntitySchema

Inheritance System.Object 🡒 EntitySchema

Properties
Components Return all component types - structs implementing IComponent.
ComponentTypeByType A map to lookup ComponentType's by System.Type.
EngineDependants List of System.Reflection.Assembly's referencing the Fliox.Engine assembly as dependency.
SchemaTypeByKey A map to lookup ComponentType's and ScriptType's by ComponentKey.
Scripts Return all Script types - classes extending Script
ScriptTypeByType A map to lookup ScriptType's by System.Type.
Tags Return all Tag types - structs implementing ITag.
TagTypeByName A map to lookup TagType's by TagName.
TagTypeByType A map to lookup TagType's by System.Type.
Methods
GetComponentType<T>() Return the ComponentType of a struct implementing IComponent.
GetRelationType<T>()
GetScriptType<T>() Return the ScriptType of a class extending Script.
GetTagType<T>() Return the TagType of a struct implementing ITag.
ToString()