载入中...
搜索中...
未找到
eve::combat::CombatLoopRuntime类 参考

Owner-thread coordinator that welds combat runtimes for one arena tick. 更多...

#include <CombatLoop.h>

Public 成员函数

void setCharacters (CombatCharacterRuntime &characters) noexcept
 Sets the characters.
 
void setMelee (MeleeHitRuntime &melee) noexcept
 Sets the melee.
 
void setWindows (const CombatActionWindowState *windows) noexcept
 Sets the windows.
 
void setGuards (const GuardWindowState *guards) noexcept
 Sets the guards.
 
void setFeel (HitFeelRuntime *feel) noexcept
 Sets the feel.
 
void setTargets (CombatTargetRuntime *targets) noexcept
 Sets the targets.
 
void setCameraFocus (SubjectRef player) noexcept
 Sets the camera focus.
 
void setDamageStates (std::map< std::string, CombatState, std::less<> > *states) noexcept
 Borrow the map of CombatState values mutated by melee hits.
 
void setCancelResolver (CombatCancelResolver *cancels) noexcept
 Sets the cancel resolver.
 
void setCancelSubject (SubjectRef subject) noexcept
 Sets the cancel subject.
 
void setCancelAbility (LogicalId ability) noexcept
 Sets the cancel ability.
 
void setEnemyAI (CombatEnemyIntentSource *enemies) noexcept
 Sets the enemy ai.
 
Result< CombatLoopFrame > advance (const SimulationStep &step)
 Advance every wired runtime with the supplied deterministic step.
 

详细描述

Owner-thread coordinator that welds combat runtimes for one arena tick.

Each collaborator remains the unique owner of its facts. This object only sequences optional enemy steering / cancel resolve → warp → character → hurtbox pose → melee → guard/invuln/damage/feel/reaction → camera framing. It does not introduce a CombatActor root.

在文件 CombatLoop.h 第 53 行定义.

成员函数说明

◆ advance()

◆ setCameraFocus()

void eve::combat::CombatLoopRuntime::setCameraFocus ( SubjectRef  player)
inlinenoexcept

Sets the camera focus.

在文件 CombatLoop.h 第 68 行定义.

◆ setCancelAbility()

void eve::combat::CombatLoopRuntime::setCancelAbility ( LogicalId  ability)
inlinenoexcept

Sets the cancel ability.

在文件 CombatLoop.h 第 76 行定义.

◆ setCancelResolver()

void eve::combat::CombatLoopRuntime::setCancelResolver ( CombatCancelResolver *  cancels)
inlinenoexcept

Sets the cancel resolver.

在文件 CombatLoop.h 第 72 行定义.

◆ setCancelSubject()

void eve::combat::CombatLoopRuntime::setCancelSubject ( SubjectRef  subject)
inlinenoexcept

Sets the cancel subject.

在文件 CombatLoop.h 第 74 行定义.

引用了 subject.

◆ setCharacters()

void eve::combat::CombatLoopRuntime::setCharacters ( CombatCharacterRuntime &  characters)
inlinenoexcept

Sets the characters.

在文件 CombatLoop.h 第 56 行定义.

◆ setDamageStates()

void eve::combat::CombatLoopRuntime::setDamageStates ( std::map< std::string, CombatState, std::less<> > *  states)
inlinenoexcept

Borrow the map of CombatState values mutated by melee hits.

在文件 CombatLoop.h 第 70 行定义.

◆ setEnemyAI()

void eve::combat::CombatLoopRuntime::setEnemyAI ( CombatEnemyIntentSource *  enemies)
inlinenoexcept

Sets the enemy ai.

在文件 CombatLoop.h 第 78 行定义.

◆ setFeel()

void eve::combat::CombatLoopRuntime::setFeel ( HitFeelRuntime *  feel)
inlinenoexcept

Sets the feel.

在文件 CombatLoop.h 第 64 行定义.

◆ setGuards()

void eve::combat::CombatLoopRuntime::setGuards ( const GuardWindowState *  guards)
inlinenoexcept

Sets the guards.

在文件 CombatLoop.h 第 62 行定义.

◆ setMelee()

void eve::combat::CombatLoopRuntime::setMelee ( MeleeHitRuntime &  melee)
inlinenoexcept

Sets the melee.

在文件 CombatLoop.h 第 58 行定义.

◆ setTargets()

void eve::combat::CombatLoopRuntime::setTargets ( CombatTargetRuntime *  targets)
inlinenoexcept

Sets the targets.

在文件 CombatLoop.h 第 66 行定义.

◆ setWindows()

void eve::combat::CombatLoopRuntime::setWindows ( const CombatActionWindowState *  windows)
inlinenoexcept

Sets the windows.

在文件 CombatLoop.h 第 60 行定义.


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