CONTENT CONTRACT · VERSION 1
player_defeated
A player's actor went down.
Signature
{ actor: ActorRef, kind: "player_defeated", player: PlayerRef, source: (ActorRef)? }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | The player's actor. Length: 1…256; Pattern: ^[\s\S]+$ |
kind | "player_defeated" | Discriminant |
player | PlayerRef | Player the event belongs to. Length: 1…256; Pattern: ^[\s\S]+$ |
source | ActorRef | Confirmed origin of the damage; absent for environmental sources. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"actor": "a1",
"kind": "player_defeated",
"player": "p1",
"source": "a2"
}