logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    CharacterKilledSignal
    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
    In this article
    © 2026 Serenity. All Rights Reserved