TargetType

定义技能、效果或交互的目标选择类型。

该枚举用于指定游戏内各种机制(如技能、治疗、伤害、增益/减益)的作用目标。 使用 enum class 提供类型安全和命名空间隔离。 每个枚举值都附带清晰的注释,说明其目标范围、是否包含自己以及典型使用场景。

Entries

Link copied to clipboard

目标为施法者自身。

Link copied to clipboard

目标为除自己外的任意一位队友。

Link copied to clipboard

目标为除自己外的两位队友。

Link copied to clipboard

目标为所有玩家,包括自己和所有队友。

Link copied to clipboard

目标为游戏中的Boss敌人。

Link copied to clipboard

目标为队伍中的DPS(输出位)角色。

Link copied to clipboard

目标为队伍中的Tank(扛伤位)角色。

Link copied to clipboard

目标为生命值未满的单位(处于“受伤”状态)。

Link copied to clipboard

目标为生命值极低的单位(处于“濒死”状态)。

Link copied to clipboard

目标为当前拥有增益效果(Buff)的单位。

Link copied to clipboard

目标为当前拥有减益效果(Debuff)的单位。

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.