- summary: A player's experience in a fight result: the total, the level's bounds and what the fight earned.
- area: Game.Fight
A player's experience in a fight result: the total, the level's bounds and what the fight earned.
Kind struct · Area Game.Fight
The experience gauge of a character at the end of the fight.
HOW TO READ IT
1. ExperienceData.experience is the character's total experience AFTER the fight.
2. The current level spans ExperienceData.experience_level_floor (the gauge's low end)
to ExperienceData.experience_next_level_floor (its high end).
3. ExperienceData.experience_fight_delta is the experience this fight earned. The
total before the fight is experience - experience_fight_delta (the client animates the
gauge from max(floor, that value) to experience).
4. Print the gain only when ExperienceData.show_experience_fight_delta is true; the
client prints "+ N" then, and "0" otherwise.
Unnamed members: one int32 the client copies and never reads, and three bools (one copied into a flag bit nothing tests, two never read). Ignore them.
Not sent on its own — it is only ever FightResultAdditionalData.experience_data. proven
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 3 | experience | int64 | The character's total experience after the fight. | never |
| 4 | experience_level_floor | int64 | The experience at which the character's current level starts. The low end of the result screen's XP gauge. | never |
| 6 | experience_next_level_floor | int64 | The experience at which the next level starts. The high end of the result screen's XP gauge. | never |
| 8 | experience_fight_delta | int64 | The experience this fight earned. Shown as the XP gain; experience - delta is the total before the fight. | never |
| 9 | show_experience_fight_delta | bool | Whether to show the experience this fight earned. When false the client prints "0" instead of the gain. | never |