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

状态生命周期变更事件(施加 / 刷新 / 叠层 / 延长 / 移除 / 到期 / 拒绝)。 与 StatusTickEvent 分开:tick 是周期性数值触发,change 是实例结构变化。 更多...

#include <StatusTypes.h>

Public 属性

class RPGActoractor = nullptr
 
int instanceId = 0
 
std::string effectId
 
std::string source
 
std::string action
 
int stacks = 0
 
std::string reason
 reject / 自定义条件失败时的说明;其它情况可空
 

详细描述

状态生命周期变更事件(施加 / 刷新 / 叠层 / 延长 / 移除 / 到期 / 拒绝)。 与 StatusTickEvent 分开:tick 是周期性数值触发,change 是实例结构变化。

action 取值(字符串,便于脚本与扩展): "apply" | "refresh" | "extend" | "stack" | "remove" | "expire" | "reject"

在文件 StatusTypes.h59 行定义.

类成员变量说明

◆ action

std::string eve::rpg::StatusChangeEvent::action

在文件 StatusTypes.h64 行定义.

被这些函数引用 eve::rpg::StatusSystem::apply() , 以及 eve::rpg::StatusSystem::update().

◆ actor

◆ effectId

std::string eve::rpg::StatusChangeEvent::effectId

在文件 StatusTypes.h62 行定义.

被这些函数引用 eve::rpg::StatusSystem::apply() , 以及 eve::rpg::StatusSystem::update().

◆ instanceId

int eve::rpg::StatusChangeEvent::instanceId = 0

在文件 StatusTypes.h61 行定义.

被这些函数引用 eve::rpg::StatusSystem::apply() , 以及 eve::rpg::StatusSystem::update().

◆ reason

std::string eve::rpg::StatusChangeEvent::reason

reject / 自定义条件失败时的说明;其它情况可空

在文件 StatusTypes.h66 行定义.

被这些函数引用 eve::rpg::StatusSystem::apply().

◆ source

std::string eve::rpg::StatusChangeEvent::source

在文件 StatusTypes.h63 行定义.

被这些函数引用 eve::rpg::StatusSystem::apply() , 以及 eve::rpg::StatusSystem::update().

◆ stacks

int eve::rpg::StatusChangeEvent::stacks = 0

在文件 StatusTypes.h65 行定义.

被这些函数引用 eve::rpg::StatusSystem::apply() , 以及 eve::rpg::StatusSystem::update().


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