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

Independent policy dimensions used when applying an effect definition. 更多...

#include <EffectTypes.h>

Public 属性

StackMode stackMode = StackMode::Replace
 
StackCountPolicy stackCount = StackCountPolicy::Keep
 
DurationPolicy duration = DurationPolicy::Replace
 
MagnitudePolicy magnitude = MagnitudePolicy::Replace
 
OverflowPolicy overflow = OverflowPolicy::Reject
 
std::uint32_t maxStacks = 1
 

详细描述

Independent policy dimensions used when applying an effect definition.

StackMode selects the instance relationship. The remaining dimensions are evaluated independently when an existing instance is reused or accumulated. maxStacks == 0 means unlimited; otherwise it is the maximum stack count for one instance.

在文件 EffectTypes.h 第 53 行定义.

类成员变量说明

◆ duration

DurationPolicy eve::effects::EffectPolicy::duration = DurationPolicy::Replace

在文件 EffectTypes.h 第 56 行定义.

◆ magnitude

MagnitudePolicy eve::effects::EffectPolicy::magnitude = MagnitudePolicy::Replace

在文件 EffectTypes.h 第 57 行定义.

◆ maxStacks

std::uint32_t eve::effects::EffectPolicy::maxStacks = 1

在文件 EffectTypes.h 第 59 行定义.

被这些函数引用 eve::effects::EffectDefinition::validate().

◆ overflow

OverflowPolicy eve::effects::EffectPolicy::overflow = OverflowPolicy::Reject

在文件 EffectTypes.h 第 58 行定义.

被这些函数引用 eve::effects::EffectDefinition::validate().

◆ stackCount

StackCountPolicy eve::effects::EffectPolicy::stackCount = StackCountPolicy::Keep

在文件 EffectTypes.h 第 55 行定义.

被这些函数引用 eve::effects::EffectDefinition::validate().

◆ stackMode

StackMode eve::effects::EffectPolicy::stackMode = StackMode::Replace

在文件 EffectTypes.h 第 54 行定义.


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