AdventureXpAwardEvent
The end-of-adventure XP award: the totals and the per-head share.
Full documentation: AdventureXpAwardEvent. Wire type: adventure_xp_award.
Default visibility: player
Message codes: session.xp.adventure_award
JSON Schema
{
"$defs": {
"Visibility": {
"description": "Who may see an event.\n\nThe wire values are `\"player\"` and `\"referee\"` \u2014 lowercase, serialized into every\nevent; changing them is a `schema_version` bump.",
"enum": [
"player",
"referee"
],
"title": "Visibility",
"type": "string"
}
},
"description": "The end-of-adventure XP award: the totals and the per-head share.",
"properties": {
"code": {
"default": "session.xp.adventure_award",
"title": "Code",
"type": "string"
},
"visibility": {
"$ref": "#/$defs/Visibility",
"default": "player"
},
"event_type": {
"const": "adventure_xp_award",
"default": "adventure_xp_award",
"title": "Event Type",
"type": "string"
},
"monster_xp": {
"title": "Monster Xp",
"type": "integer"
},
"treasure_xp": {
"title": "Treasure Xp",
"type": "integer"
},
"share": {
"title": "Share",
"type": "integer"
},
"survivors": {
"items": {
"type": "string"
},
"title": "Survivors",
"type": "array"
}
},
"required": [
"monster_xp",
"treasure_xp",
"share",
"survivors"
],
"title": "AdventureXpAwardEvent",
"type": "object"
}