EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

player_defeated

A player's actor went down.

Signature

{ actor: ActorRef, kind: "player_defeated", player: PlayerRef, source: (ActorRef)? }

Fields

NameTypeMeaning
actorActorRefThe player's actor.
Length: 1…256; Pattern: ^[\s\S]+$
kind"player_defeated"Discriminant
playerPlayerRefPlayer the event belongs to.
Length: 1…256; Pattern: ^[\s\S]+$
sourceActorRefConfirmed 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"
}