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

Card-domain effect adapter and executor. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "common/SubjectRef.h"
#include "common/Time.h"
#include "effects/EffectContainer.h"
#include "settlement/Settlement.h"
#include "settlement/SettlementRules.h"
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::card::CardEffectTarget
 Mutable card combat state changed by the card effect executor. 更多...
 
struct  eve::card::CardEffectDefinition
 Strong card definition projected into the common effect definition. 更多...
 
struct  eve::card::CardEffectUpdate
 Result of one card effect lifecycle step and its domain settlement. 更多...
 
struct  eve::card::CardEffectSnapshot
 Serializable in-memory card effect snapshot. 更多...
 
class  eve::card::CardEffectExecutor
 Card executor: interprets card policy without owning effect instances. 更多...
 
class  eve::card::CardEffectAdapter
 Card adapter composing the common lifecycle container with CardEffectExecutor. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::card
 

枚举

enum class  eve::card::CardEffectKind : std::uint8_t { eve::card::Damage , eve::card::Heal , eve::card::Shield }
 Card-specific interpretation of an effect magnitude. 更多...
 

详细描述

Card-domain effect adapter and executor.

The adapter owns no second effect store: effects::EffectContainer is the sole owner of live instances. Card code only supplies typed policy and interprets periodic triggers (shield/damage/heal).

在文件 CardEffects.h 中定义.