OccupationType

@Serializable
enum OccupationType : Enum<OccupationType>

职业类型枚举类

定义了游戏中角色的职业类型,包括坦克、输出、支援和治疗四种基础职业

Entries

Link copied to clipboard

坦克职业 - 主要负责承受伤害和保护队友

Link copied to clipboard

输出职业 - 主要负责造成伤害

Link copied to clipboard

支援职业 - 主要负责提供辅助和控制

Link copied to clipboard

治疗职业 - 主要负责恢复队友生命值

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
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.