载入中...
搜索中...
未找到
eve::climbing::ClimbingState结构体 参考

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

eve::Result< ClimbingState > eve::climbing::ClimbingState::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()

类成员变量说明

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


该结构体的文档由以下文件生成: