logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.GameWeapon.Domain.Entities

    Classes

    MagazineState

    Mutable state tracking the current ammo in a weapon's magazine.

    WeaponState

    Mutable state of a weapon instance, tracking magazine, fire mode, and trigger state. Enforces basic weapon invariants (e.g. no firing with empty magazine).

    In this article
    © 2026 Serenity. All Rights Reserved