Hot authoritative execution component holding the module-owned runtime identity. 更多...
#include <ClimbingECS.h>
Public 成员函数 | |
| eve::Result< void > | releaseRuntime () |
| Release the runtime once and clear this component's handle. | |
静态 Public 成员函数 | |
| static eve::Result< ClimbingState > | create () |
| Create the canonical module-owned runtime referenced by this component. | |
Public 属性 | |
| ClimbingRuntimeHandleRef | runtime |
| ClimbingAdvance | lastAdvance |
| eve::SimulationTick | lastAdvanceTick = eve::SimulationTick::zero() |
详细描述
Hot authoritative execution component holding the module-owned runtime identity.
The gameplay entity is the source-side owner and must call releaseRuntime() before destruction. Copies made by ECS deferred publication only copy the generation handle; release invalidates every copy safely.
在文件 ClimbingECS.h 第 96 行定义.
成员函数说明
◆ create()
|
static |
Create the canonical module-owned runtime referenced by this component.
在文件 ClimbingECS.cpp 第 32 行定义.
引用了 created, eve::Result< T >::failure(), eve::climbing::Climbing::newRuntime(), state , 以及 eve::Result< T >::success().
◆ releaseRuntime()
| eve::Result< void > eve::climbing::ClimbingState::releaseRuntime | ( | ) |
Release the runtime once and clear this component's handle.
在文件 ClimbingECS.cpp 第 40 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, eve::script::RuntimeHandleRef< Tag >::isValid(), lastAdvance, lastAdvanceTick, eve::climbing::Climbing::release(), runtime, eve::Result< T >::success() , 以及 eve::detail::StrongUint64< detail::SimulationTickTag >::zero().
类成员变量说明
◆ lastAdvance
| ClimbingAdvance eve::climbing::ClimbingState::lastAdvance |
在文件 ClimbingECS.h 第 98 行定义.
被这些函数引用 releaseRuntime().
◆ lastAdvanceTick
| eve::SimulationTick eve::climbing::ClimbingState::lastAdvanceTick = eve::SimulationTick::zero() |
在文件 ClimbingECS.h 第 99 行定义.
被这些函数引用 releaseRuntime().
◆ runtime
| ClimbingRuntimeHandleRef eve::climbing::ClimbingState::runtime |
在文件 ClimbingECS.h 第 97 行定义.
被这些函数引用 releaseRuntime().
该结构体的文档由以下文件生成:
- src/modules/climbing/ClimbingECS.h
- src/modules/climbing/ClimbingECS.cpp