载入中...
搜索中...
未找到
SimulationEvents.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4#include "rpg/SkillTypes.h"
5#include "rpg/StatusTypes.h"
6#include "rpg/VitalsSystem.h"
7
8#include <vector>
9
10namespace eve::rpg::detail {
13 std::vector<SkillCastEvent> casts;
14 std::vector<StatusTickEvent> ticks;
15 std::vector<StatusChangeEvent> changes;
16 std::vector<VitalsEvent> vitals;
17};
38} // namespace eve::rpg::detail
#define EVENGINE_API_PLATFORM
Definition Export.h:107
当前资源(hp/mana...)的受伤 / 治疗 / 复活 / 死亡。
Redirect RPG events into a caller-owned simulation for a nested synchronous scope....
SimulationEventScope(const SimulationEventScope &)=delete
SimulationEventScope & operator=(const SimulationEventScope &)=delete
SimulationEvents & simulationEvents()
Borrow the current thread's event owner for the immediate synchronous operation.
One simulation's owning event queues; actors are borrowed until that simulation ends.
std::vector< SkillCastEvent > casts
std::vector< VitalsEvent > vitals
std::vector< StatusChangeEvent > changes
std::vector< StatusTickEvent > ticks