Class CharacterKilledSignal
Signal dispatched when a character is killed (HP reaches zero). Contains the identity of the killed character. Specialized character types (e.g., Character) can extend this signal to add type-specific payload fields.
Namespace: Serenity.Character.Application.Events
Assembly: Serenity.Character.Application.dll
Syntax
public class CharacterKilledSignal : EventDispatcherSignal
Constructors
CharacterKilledSignal(CharacterId)
Creates a new CharacterKilledSignal.
Declaration
public CharacterKilledSignal(CharacterId characterId)
Parameters
| Type | Name | Description |
|---|---|---|
| CharacterId | characterId | The identity of the killed character. |
Fields
CharacterId
The identity of the killed character.
Declaration
public readonly CharacterId CharacterId
Field Value
| Type | Description |
|---|---|
| CharacterId |