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

Public 成员函数

virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual ComponentRider FindNearbyRider (float range)
virtual void ProcessRidingOrders ()
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 属性

SubsystemTime m_subsystemTime
SubsystemBodies m_subsystemBodies
ComponentCreature m_componentCreature
ComponentPathfinding m_componentPathfinding
ComponentMount m_componentMount
StateMachine m_stateMachine = new()
float m_importanceLevel
bool m_isEnabled
Random m_random = new()
DynamicArray< ComponentBodym_bodies = []
float[] m_speedLevels = [-0.33f, 0f, 0.33f, 0.66f, 1f]
int m_speedLevel
float m_speed
float m_turnSpeed
float m_speedChangeFactor
float m_timeToSpeedReduction
double m_lastNotBlockedTime
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

属性

int SpeedOrder [get, set]
float TurnOrder [get, set]
float JumpOrder [get, set]
bool WasOrderIssued [get, set]
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 ()

详细描述

在文件 ComponentSteedBehavior.cs6 行定义.

成员函数说明

◆ FindNearbyRider()

virtual ComponentRider Game.ComponentSteedBehavior.FindNearbyRider ( float range)
virtual

在文件 ComponentSteedBehavior.cs140 行定义.

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

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentSteedBehavior.cs82 行定义.

函数调用图:

◆ ProcessRidingOrders()

virtual void Game.ComponentSteedBehavior.ProcessRidingOrders ( )
virtual

在文件 ComponentSteedBehavior.cs158 行定义.

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

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentSteedBehavior.cs53 行定义.

函数调用图:

类成员变量说明

◆ m_bodies

DynamicArray<ComponentBody> Game.ComponentSteedBehavior.m_bodies = []

在文件 ComponentSteedBehavior.cs25 行定义.

◆ m_componentCreature

ComponentCreature Game.ComponentSteedBehavior.m_componentCreature

在文件 ComponentSteedBehavior.cs11 行定义.

◆ m_componentMount

ComponentMount Game.ComponentSteedBehavior.m_componentMount

在文件 ComponentSteedBehavior.cs15 行定义.

◆ m_componentPathfinding

ComponentPathfinding Game.ComponentSteedBehavior.m_componentPathfinding

在文件 ComponentSteedBehavior.cs13 行定义.

◆ m_importanceLevel

float Game.ComponentSteedBehavior.m_importanceLevel

在文件 ComponentSteedBehavior.cs19 行定义.

◆ m_isEnabled

bool Game.ComponentSteedBehavior.m_isEnabled

在文件 ComponentSteedBehavior.cs21 行定义.

◆ m_lastNotBlockedTime

double Game.ComponentSteedBehavior.m_lastNotBlockedTime

在文件 ComponentSteedBehavior.cs39 行定义.

◆ m_random

Random Game.ComponentSteedBehavior.m_random = new()

在文件 ComponentSteedBehavior.cs23 行定义.

◆ m_speed

float Game.ComponentSteedBehavior.m_speed

在文件 ComponentSteedBehavior.cs31 行定义.

◆ m_speedChangeFactor

float Game.ComponentSteedBehavior.m_speedChangeFactor

在文件 ComponentSteedBehavior.cs35 行定义.

◆ m_speedLevel

int Game.ComponentSteedBehavior.m_speedLevel

在文件 ComponentSteedBehavior.cs29 行定义.

◆ m_speedLevels

float [] Game.ComponentSteedBehavior.m_speedLevels = [-0.33f, 0f, 0.33f, 0.66f, 1f]

在文件 ComponentSteedBehavior.cs27 行定义.

◆ m_stateMachine

StateMachine Game.ComponentSteedBehavior.m_stateMachine = new()

在文件 ComponentSteedBehavior.cs17 行定义.

◆ m_subsystemBodies

SubsystemBodies Game.ComponentSteedBehavior.m_subsystemBodies

在文件 ComponentSteedBehavior.cs9 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentSteedBehavior.m_subsystemTime

在文件 ComponentSteedBehavior.cs7 行定义.

◆ m_timeToSpeedReduction

float Game.ComponentSteedBehavior.m_timeToSpeedReduction

在文件 ComponentSteedBehavior.cs37 行定义.

◆ m_turnSpeed

float Game.ComponentSteedBehavior.m_turnSpeed

在文件 ComponentSteedBehavior.cs33 行定义.

属性说明

◆ ImportanceLevel

override float Game.ComponentSteedBehavior.ImportanceLevel
get

在文件 ComponentSteedBehavior.cs51 行定义.

◆ JumpOrder

float Game.ComponentSteedBehavior.JumpOrder
getset

在文件 ComponentSteedBehavior.cs45 行定义.

◆ SpeedOrder

int Game.ComponentSteedBehavior.SpeedOrder
getset

在文件 ComponentSteedBehavior.cs41 行定义.

◆ TurnOrder

float Game.ComponentSteedBehavior.TurnOrder
getset

在文件 ComponentSteedBehavior.cs43 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentSteedBehavior.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentSteedBehavior.cs49 行定义.

◆ WasOrderIssued

bool Game.ComponentSteedBehavior.WasOrderIssued
getset

在文件 ComponentSteedBehavior.cs47 行定义.


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