Progression Events
Track player advancement through levels, stages, and achievements.
progression
GameRebellion.TrackProgression(new GrProgressionEvent
{
Type = "level",
Status = "complete",
Progression01 = "world_1",
Progression02 = "level_5",
Score = 1200,
CompletionTime = 245.0,
Difficulty = "normal"
});
| Field | Type | Required | Description |
|---|---|---|---|
Type | string | Yes | Progression type (level, quest, mission, tutorial) |
Status | string | Yes | start, complete, fail |
Progression01 | string | No | Primary hierarchy (e.g., world) |
Progression02 | string | No | Secondary hierarchy (e.g., level) |
Progression03 | string | No | Tertiary hierarchy (e.g., sub-level) |
Score | int | No | Score at this point |
CompletionTime | double | No | Time in seconds |
Difficulty | string | No | Difficulty setting |
level_up
GameRebellion.TrackLevelUp(new GrLevelUpEvent { Level = 5 });
| Field | Type | Required | Description |
|---|---|---|---|
Level | int | No | New level reached |
achievement
GameRebellion.TrackAchievement(new GrAchievementEvent { Id = "dragon_slayer" });
| Field | Type | Required | Description |
|---|---|---|---|
Id | string | Yes | Achievement identifier |