logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameWeaponInstaller

    Abstract base class for installing the GameWeapon service.

    Inheritance
    object
    GameWeaponInstaller
    Implements
    IInstaller
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameWeapon.Installation.Installers
    Assembly: Serenity.GameWeapon.Installation.dll
    Syntax
    public abstract class GameWeaponInstaller : IInstaller
    Remarks

    Concrete implementations override Install(ILogService) to create and configure the weapon service with engine-specific dependencies.

    Constructors

    GameWeaponInstaller()

    Declaration
    protected GameWeaponInstaller()

    Fields

    _service

    Declaration
    protected IGameWeaponService _service
    Field Value
    Type Description
    IGameWeaponService

    The installed game weapon service.

    Methods

    GetService()

    Gets the installed game weapon service.

    Declaration
    public IGameWeaponService GetService()
    Returns
    Type Description
    IGameWeaponService

    The installed IGameWeaponService.

    Install(ILogService)

    Installs the GameWeapon service.

    Declaration
    public abstract void Install(ILogService logService)
    Parameters
    Type Name Description
    ILogService logService

    The logging service for diagnostic output.

    Implements

    IInstaller
    In this article
    © 2026 Serenity. All Rights Reserved