|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


类 | |
| struct | FilteredComponentsEnumerable< T > |
| struct | FilteredComponentsEnumerator< T > |
Public 成员函数 | |
| Entity (Project project, ValuesDictionary valuesDictionary) | |
| Component | FindComponent (Type type, string name, bool throwOnError) |
| Component | FindComponent (string name, bool throwOnError) |
| T | FindComponent< T > () |
| T | FindComponent< T > (bool throwOnError) |
| T | FindComponent< T > (string name, bool throwOnError) |
| void | RemoveComponent (Component component) |
| void | ReplaceComponent (Component oldComponent, Component newComponent) |
| FilteredComponentsEnumerable< T > | FindComponents< T > () |
| void | Dispose () |
| void | InternalLoadEntity (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap) |
| void | InternalSaveEntity (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap) |
| void | FireEntityAddedEvent () |
| void | FireEntityRemovedEvent () |
Public 属性 | |
| bool | m_isAddedToProject |
| int | Id |
包函数 | |
| void | DisposeInternal () |
| List< Entity > | InternalGetOwnedEntities () |
属性 | |
| Project | Project [get] |
| ValuesDictionary | ValuesDictionary [get] |
| bool | IsAddedToProject [get] |
| List< Component > | Components [get] |
事件 | |
| EventHandler | EntityAdded |
| EventHandler | EntityRemoved |
| Entity(Project project, ValuesDictionary valuesDictionary, int id) static Action< Entity, List< KeyValuePair< int, Component > > > | EntityComponentsInitialized |
Private 属性 | |
| Project | m_project |
| ValuesDictionary | m_valuesDictionary |
| List< Component > | m_components |
| GameEntitySystem.Entity.Entity | ( | Project | project, |
| ValuesDictionary | valuesDictionary ) |
|
package |
| Component GameEntitySystem.Entity.FindComponent | ( | string | name, |
| bool | throwOnError ) |
| Component GameEntitySystem.Entity.FindComponent | ( | Type | type, |
| string | name, | ||
| bool | throwOnError ) |
| T GameEntitySystem.Entity.FindComponent< T > | ( | ) |
| T GameEntitySystem.Entity.FindComponent< T > | ( | bool | throwOnError | ) |
| T GameEntitySystem.Entity.FindComponent< T > | ( | string | name, |
| bool | throwOnError ) |
| FilteredComponentsEnumerable< T > GameEntitySystem.Entity.FindComponents< T > | ( | ) |
|
package |
| void GameEntitySystem.Entity.InternalLoadEntity | ( | ValuesDictionary | valuesDictionary, |
| IdToEntityMap | idToEntityMap ) |
| void GameEntitySystem.Entity.InternalSaveEntity | ( | ValuesDictionary | valuesDictionary, |
| EntityToIdMap | entityToIdMap ) |
| void GameEntitySystem.Entity.RemoveComponent | ( | Component | component | ) |
|
private |
|
static |