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

One animation step request, expressed in the host's own animation space. 更多...

#include <RpgDialect.h>

Public 属性

std::string targetId
 Authored target=<id> verbatim; the host's own subject space.
 
RPGActor * actor = nullptr
 Target resolved through the binding, or nullptr.
 
std::string clip
 Authored clip=<uri> verbatim; opaque to the engine.
 
bool loop = false
 Authored loop flag; false when the step omits it.
 
bool hold = false
 Authored hold flag; false when the step omits it.
 

详细描述

One animation step request, expressed in the host's own animation space.

clip is an opaque locator owned by the host — a skeletal clip id, a sprite sequence name, a Spine animation, a montage section. The engine never resolves it, never loads it and never assumes a rig or a clip format, so one authored .dnut story is not tied to one animation stack; the meaning is settled by whoever installs the handler.

loop and hold are carried verbatim as authored and are never interpreted here. loop asks for indefinite repetition; hold asks playback to stay on its final pose once the clip ends. A host whose animation stack has no such concept simply ignores the flags it does not implement.

@thread Filled and consumed synchronously inside one step dispatch.

在文件 RpgDialect.h 第 121 行定义.

类成员变量说明

◆ actor

RPGActor* eve::rpg::StoryAnimationRequest::actor = nullptr

Target resolved through the binding, or nullptr.

The same convenience projection as StoryMoveRequest::actor: it is non-null exactly when RpgStoryBinding::resolveActor or party resolved targetId, and visibly null when the id belongs to another subject space (a map prop, a camera, a UI element). A host must not read a null here as "the target does not exist" — use targetId and resolve it yourself.

在文件 RpgDialect.h 第 133 行定义.

◆ clip

std::string eve::rpg::StoryAnimationRequest::clip

Authored clip=<uri> verbatim; opaque to the engine.

在文件 RpgDialect.h 第 135 行定义.

◆ hold

bool eve::rpg::StoryAnimationRequest::hold = false

Authored hold flag; false when the step omits it.

在文件 RpgDialect.h 第 139 行定义.

◆ loop

bool eve::rpg::StoryAnimationRequest::loop = false

Authored loop flag; false when the step omits it.

在文件 RpgDialect.h 第 137 行定义.

◆ targetId

std::string eve::rpg::StoryAnimationRequest::targetId

Authored target=<id> verbatim; the host's own subject space.

在文件 RpgDialect.h 第 123 行定义.


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