EntityManager
Summary
EntityManager global table.
Functions
| Method | Returns |
|---|---|
| Create(dataContainer: DataContainer) | Entity |
| GetList(entityType: string, realm: integer) | Entity[] |
Functions
Create
EntityManager.Create(dataContainer: DataContainer): EntityCreate an entity. Experimental!
Parameters
| Name | Type | Description |
|---|---|---|
| dataContainer | DataContainer | The entity data container. The desired entity is derived from this type. |
Returns
| Type | Description |
|---|---|
| Entity |
GetList
EntityManager.GetList(entityType: string, realm: integer): EntityGet every entity of a type. Experimental & Very slow!
Parameters
| Name | Type | Description |
|---|---|---|
| entityType | string | The desired entity type name. |
| realm | integer | The realm you want to search in. Pass in a Realm type. Ex: Realm.Realm_Server. Anything other than Realm.Realm_Server may cause a crash! |
Returns
| Type | Description |
|---|---|
| Entity[] |