载入中...
搜索中...
未找到
RpgDialect.h 文件参考

RPG vocabulary for the .dnut sequence language, plus its catalogue and session. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::rpg::StoryMoveRequest
 One move step request, expressed in the host's own movement space. 更多...
 
struct  eve::rpg::StoryAnimationRequest
 One animation step request, expressed in the host's own animation space. 更多...
 
struct  eve::rpg::RpgStoryBinding
 Borrowed domain objects an RPG story step runs against. 更多...
 
class  eve::rpg::RpgStoryCatalogue
 Strict process-local catalogue of .dnut story assets. 更多...
 
class  eve::rpg::RpgStorySession
 Caller-owned cursor over one published .dnut story. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::dnut
 
namespace  eve::inventory
 运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。
 
namespace  eve::rpg
 RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。
 

类型定义

using eve::rpg::StoryMoveHandler = std::function< eve::Result< StoryMoveStatus >(const StoryMoveRequest &)>
 Host movement controller invoked by the move step.
 
using eve::rpg::StoryAnimationHandler = std::function< eve::Result< StoryAnimationStatus >(const StoryAnimationRequest &)>
 Host animation controller invoked by the animation step.
 

枚举

enum class  eve::rpg::StoryMoveStatus : std::uint8_t { eve::rpg::Arrived , eve::rpg::Travelling , eve::rpg::Unreachable }
 Terminal state of one requested actor move. 更多...
 
enum class  eve::rpg::StoryAnimationStatus : std::uint8_t { eve::rpg::Finished , eve::rpg::Playing , eve::rpg::Unavailable }
 Terminal state of one requested animation playback. 更多...
 

函数

StepKindRegistry & eve::rpg::rpgStoryStepRegistry ()
 Process-local step vocabulary for the RPG story dialect.
 

详细描述

RPG vocabulary for the .dnut sequence language, plus its catalogue and session.

在文件 RpgDialect.h 中定义.