|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|
Public 类型 | |
| enum | ReferenceType { Null , Local , ByEntityId , ByEntityName } |
Public 成员函数 | |
| Entity | GetEntity (Entity localEntity, IdToEntityMap idToEntityMap, bool throwIfNotFound) |
| T | GetComponent< T > (Entity localEntity, IdToEntityMap idToEntityMap, bool throwIfNotFound) |
| bool | IsNullOrEmpty () |
静态 Public 成员函数 | |
| static EntityReference | Local (Component component) |
| static EntityReference | FromId (Component component) |
| static EntityReference | FromId (Entity entity) |
| static EntityReference | FromId (Entity entity, EntityToIdMap entityToIdMap) |
| static EntityReference | FromId (Component component, EntityToIdMap entityToIdMap) |
| static EntityReference | FromName (Component component) |
| static EntityReference | FromName (Entity entity) |
| static EntityReference | FromReferenceString (string referenceString) |
Public 属性 | |
| ReferenceType | m_referenceType |
| string | m_entityReference |
| string | m_componentReference |
属性 | |
| string | ReferenceString [get] |
| static EntityReference | Null [get] |
在文件 EntityReference.cs 第 5 行定义.
| 枚举值 | |
|---|---|
| Null | |
| Local | |
| ByEntityId | |
| ByEntityName | |
在文件 EntityReference.cs 第 6 行定义.
|
static |
|
static |
在文件 EntityReference.cs 第 113 行定义.
|
static |
在文件 EntityReference.cs 第 102 行定义.
|
static |
在文件 EntityReference.cs 第 111 行定义.
|
static |
|
static |
|
static |
| T Game.EntityReference.GetComponent< T > | ( | Entity | localEntity, |
| IdToEntityMap | idToEntityMap, | ||
| bool | throwIfNotFound ) |
| Entity Game.EntityReference.GetEntity | ( | Entity | localEntity, |
| IdToEntityMap | idToEntityMap, | ||
| bool | throwIfNotFound ) |
| bool Game.EntityReference.IsNullOrEmpty | ( | ) |
|
static |
在文件 EntityReference.cs 第 86 行定义.
| string Game.EntityReference.m_componentReference |
在文件 EntityReference.cs 第 17 行定义.
| string Game.EntityReference.m_entityReference |
在文件 EntityReference.cs 第 15 行定义.
| ReferenceType Game.EntityReference.m_referenceType |
在文件 EntityReference.cs 第 13 行定义.
|
staticget |
在文件 EntityReference.cs 第 37 行定义.
|
get |
在文件 EntityReference.cs 第 19 行定义.