|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| virtual void | Update (float dt) |
| override void | Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap) |
| virtual float | GetFoodFactor (FoodType foodType) |
| virtual Pickable | FindPickable (Vector3 position) |
| virtual bool | TryAddPickable (Pickable pickable) |
| Public 成员函数 继承自 GameEntitySystem.Component | |
| virtual IEnumerable< Entity > | GetOwnedEntities () |
| virtual void | OnEntityAdded () |
| virtual void | OnEntityRemoved () |
| virtual void | Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap) |
| virtual void | Dispose () |
| virtual void | InheritFromComponent (Component baseComponent) |
| virtual void | Initialize (Entity entity, ValuesDictionary valuesDictionary) |
Public 属性 | |
| SubsystemTime | m_subsystemTime |
| SubsystemPickables | m_subsystemPickables |
| ComponentCreature | m_componentCreature |
| ComponentPathfinding | m_componentPathfinding |
| StateMachine | m_stateMachine = new() |
| Dictionary< Pickable, bool > | m_pickables = [] |
| Random | m_random = new() |
| float[] | m_foodFactors |
| float | m_importanceLevel |
| double | m_nextFindPickableTime |
| double | m_nextPickablesUpdateTime |
| Pickable | m_pickable |
| double | m_eatTime |
| float | m_satiation |
| float | m_blockedTime |
| int | m_blockedCount |
| Public 属性 继承自 GameEntitySystem.Component | |
| Entity | m_entity |
| ValuesDictionary | m_valuesDictionary |
静态 Public 属性 | |
| const float | m_range = 16f |
属性 | |
| float | Satiation [get] |
| UpdateOrder | UpdateOrder [get] |
| override float | ImportanceLevel [get] |
| 属性 继承自 Game.ComponentBehavior | |
| float | ImportanceLevel [get] |
| virtual bool | IsActive [get, set] |
| virtual string | DebugInfo [get] |
| 属性 继承自 GameEntitySystem.Component | |
| ValuesDictionary | ValuesDictionary [get] |
| Entity | Entity [get] |
| Project | Project [get] |
| bool | IsAddedToProject [get] |
| 属性 继承自 Game.IUpdateable | |
| float | FloatUpdateOrder [get] |
额外继承的成员函数 | |
| 包函数 继承自 GameEntitySystem.Component | |
| void | DisposeInternal () |
在文件 ComponentEatPickableBehavior.cs 第 6 行定义.
|
virtual |
在文件 ComponentEatPickableBehavior.cs 第 253 行定义.
|
virtual |
|
virtual |
|
virtual |
| int Game.ComponentEatPickableBehavior.m_blockedCount |
在文件 ComponentEatPickableBehavior.cs 第 37 行定义.
| float Game.ComponentEatPickableBehavior.m_blockedTime |
在文件 ComponentEatPickableBehavior.cs 第 35 行定义.
| ComponentCreature Game.ComponentEatPickableBehavior.m_componentCreature |
在文件 ComponentEatPickableBehavior.cs 第 11 行定义.
| ComponentPathfinding Game.ComponentEatPickableBehavior.m_componentPathfinding |
在文件 ComponentEatPickableBehavior.cs 第 13 行定义.
| double Game.ComponentEatPickableBehavior.m_eatTime |
在文件 ComponentEatPickableBehavior.cs 第 31 行定义.
| float [] Game.ComponentEatPickableBehavior.m_foodFactors |
在文件 ComponentEatPickableBehavior.cs 第 21 行定义.
| float Game.ComponentEatPickableBehavior.m_importanceLevel |
在文件 ComponentEatPickableBehavior.cs 第 23 行定义.
| double Game.ComponentEatPickableBehavior.m_nextFindPickableTime |
在文件 ComponentEatPickableBehavior.cs 第 25 行定义.
| double Game.ComponentEatPickableBehavior.m_nextPickablesUpdateTime |
在文件 ComponentEatPickableBehavior.cs 第 27 行定义.
| Pickable Game.ComponentEatPickableBehavior.m_pickable |
在文件 ComponentEatPickableBehavior.cs 第 29 行定义.
| Dictionary<Pickable, bool> Game.ComponentEatPickableBehavior.m_pickables = [] |
在文件 ComponentEatPickableBehavior.cs 第 17 行定义.
| Random Game.ComponentEatPickableBehavior.m_random = new() |
在文件 ComponentEatPickableBehavior.cs 第 19 行定义.
|
static |
在文件 ComponentEatPickableBehavior.cs 第 39 行定义.
| float Game.ComponentEatPickableBehavior.m_satiation |
在文件 ComponentEatPickableBehavior.cs 第 33 行定义.
| StateMachine Game.ComponentEatPickableBehavior.m_stateMachine = new() |
在文件 ComponentEatPickableBehavior.cs 第 15 行定义.
| SubsystemPickables Game.ComponentEatPickableBehavior.m_subsystemPickables |
在文件 ComponentEatPickableBehavior.cs 第 9 行定义.
| SubsystemTime Game.ComponentEatPickableBehavior.m_subsystemTime |
在文件 ComponentEatPickableBehavior.cs 第 7 行定义.
|
get |
在文件 ComponentEatPickableBehavior.cs 第 45 行定义.
|
get |
在文件 ComponentEatPickableBehavior.cs 第 41 行定义.
|
get |
实现了 Game.IUpdateable.
在文件 ComponentEatPickableBehavior.cs 第 43 行定义.