Struct CharacterDeathStateBroadcast
Tells observers a character died or was revived.
public struct CharacterDeathStateBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Remarks
Deliberately not a buffered message. Clients arriving after a death are served by the spawn
payload, which carries CharacterFlags.IsDead for players and NPCs alike; buffering
this instead would tie a message's lifetime to a pooled NPC's slot rather than to the
creature that died in it.
Fields
CharacterObjectID
NetworkObject id of the character whose death state changed.
public int CharacterObjectID
Field Value
Dead
True on death, false on revive.
public bool Dead