-
Notifications
You must be signed in to change notification settings - Fork 7
Stream:GainExperience
cooltrain7 edited this page Jan 20, 2024
·
2 revisions
GainExperience
is a character event that is fired whenever a character earns a tick of experience.
As with all Census payloads all types are given as strings, and can be cast to the following base types.
Name | Type | Description |
---|---|---|
event_name | string | The name of the Payload, i.e GainExperience |
amount | uint_32 | The amount of experience earned |
character_id | uint_64 | The character who earned the experience |
loadout_id | uint_32 | The loadout (class) of the character who earned the experience |
other_id | uint_64 | The other character or NPC ID in the experience interaction |
experience_id | uint_32 | The ID of the experience tick |
team_id | uint_32 | The team (faction) of the character who earned experience |
world_id | uint_32 | The World (Server) the event was triggered from |
zone_id | uint_32 | The Zone (Continent) the event was triggered from |
timestamp | uint_64 | The UTC unix timestamp the event triggered |
{
"payload": {
"amount": "10",
"character_id": "0000000000000000000",
"event_name": "GainExperience",
"experience_id": "37",
"loadout_id": "6",
"other_id": "0000000000000000000",
"team_id": "2",
"world_id": "1",
"zone_id": "2",
"timestamp": "1678148440"
},
"service": "event",
"type": "serviceMessage"
}