LevelUpEvent class
Fired once per level actually crossed by a PlayerProgressionService.grantXp call — a single call that jumps several levels at once fires one of these per level, in ascending order.
Constructors
-
LevelUpEvent({required int level, required List<
RewardLine> rewardLines}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → int
-
final
-
rewardLines
→ List<
RewardLine> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited