Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ComponentFindPlayerBehavior
类 Game.ComponentFindPlayerBehavior 继承关系图:
Game.ComponentFindPlayerBehavior 的协作图:

Public 成员函数

virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual ComponentCreature FindTarget ()
virtual float ScoreTarget (ComponentCreature target)
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
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 属性

SubsystemGameInfo m_subsystemGameInfo
SubsystemTime m_subsystemTime
SubsystemSky m_subsystemSky
SubsystemBodies m_subsystemBodies
ComponentCreature m_componentCreature
ComponentPathfinding m_componentPathfinding
StateMachine m_stateMachine = new()
DynamicArray< ComponentBodym_componentBodies = []
Random m_random = new()
float m_importanceLevel
float m_dayRange
float m_nightRange
float m_minRange
float m_dt
ComponentCreature m_target
double m_nextUpdateTime
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

属性

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 ()

详细描述

在文件 ComponentFindPlayerBehavior.cs6 行定义.

成员函数说明

◆ FindTarget()

virtual ComponentCreature Game.ComponentFindPlayerBehavior.FindTarget ( )
virtual

在文件 ComponentFindPlayerBehavior.cs126 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Load()

override void Game.ComponentFindPlayerBehavior.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentFindPlayerBehavior.cs51 行定义.

函数调用图:

◆ ScoreTarget()

virtual float Game.ComponentFindPlayerBehavior.ScoreTarget ( ComponentCreature target)
virtual

在文件 ComponentFindPlayerBehavior.cs145 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Update()

virtual void Game.ComponentFindPlayerBehavior.Update ( float dt)
virtual

实现了 Game.IUpdateable.

在文件 ComponentFindPlayerBehavior.cs43 行定义.

函数调用图:

类成员变量说明

◆ m_componentBodies

DynamicArray<ComponentBody> Game.ComponentFindPlayerBehavior.m_componentBodies = []

在文件 ComponentFindPlayerBehavior.cs21 行定义.

◆ m_componentCreature

ComponentCreature Game.ComponentFindPlayerBehavior.m_componentCreature

在文件 ComponentFindPlayerBehavior.cs15 行定义.

◆ m_componentPathfinding

ComponentPathfinding Game.ComponentFindPlayerBehavior.m_componentPathfinding

在文件 ComponentFindPlayerBehavior.cs17 行定义.

◆ m_dayRange

float Game.ComponentFindPlayerBehavior.m_dayRange

在文件 ComponentFindPlayerBehavior.cs27 行定义.

◆ m_dt

float Game.ComponentFindPlayerBehavior.m_dt

在文件 ComponentFindPlayerBehavior.cs33 行定义.

◆ m_importanceLevel

float Game.ComponentFindPlayerBehavior.m_importanceLevel

在文件 ComponentFindPlayerBehavior.cs25 行定义.

◆ m_minRange

float Game.ComponentFindPlayerBehavior.m_minRange

在文件 ComponentFindPlayerBehavior.cs31 行定义.

◆ m_nextUpdateTime

double Game.ComponentFindPlayerBehavior.m_nextUpdateTime

在文件 ComponentFindPlayerBehavior.cs37 行定义.

◆ m_nightRange

float Game.ComponentFindPlayerBehavior.m_nightRange

在文件 ComponentFindPlayerBehavior.cs29 行定义.

◆ m_random

Random Game.ComponentFindPlayerBehavior.m_random = new()

在文件 ComponentFindPlayerBehavior.cs23 行定义.

◆ m_stateMachine

StateMachine Game.ComponentFindPlayerBehavior.m_stateMachine = new()

在文件 ComponentFindPlayerBehavior.cs19 行定义.

◆ m_subsystemBodies

SubsystemBodies Game.ComponentFindPlayerBehavior.m_subsystemBodies

在文件 ComponentFindPlayerBehavior.cs13 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentFindPlayerBehavior.m_subsystemGameInfo

在文件 ComponentFindPlayerBehavior.cs7 行定义.

◆ m_subsystemSky

SubsystemSky Game.ComponentFindPlayerBehavior.m_subsystemSky

在文件 ComponentFindPlayerBehavior.cs11 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentFindPlayerBehavior.m_subsystemTime

在文件 ComponentFindPlayerBehavior.cs9 行定义.

◆ m_target

ComponentCreature Game.ComponentFindPlayerBehavior.m_target

在文件 ComponentFindPlayerBehavior.cs35 行定义.

属性说明

◆ ImportanceLevel

override float Game.ComponentFindPlayerBehavior.ImportanceLevel
get

在文件 ComponentFindPlayerBehavior.cs41 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentFindPlayerBehavior.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentFindPlayerBehavior.cs39 行定义.


该类的文档由以下文件生成: