operator | method

  1. @override
CooldownType operator |(
  1. Flags<CooldownType> other
)
override

Combine two cooldown types.

For details on how cooldown types are combined, see CooldownCheck.getKey.

Implementation

@override
CooldownType operator |(Flags<CooldownType> other) => CooldownType(value | other.value);