logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SteamAchievementGateway

    The Steam gateway as this project compiles it: inert, because Steamworks.NET is not installed.

    Inheritance
    object
    InertAchievementPlatformGateway
    SteamAchievementGateway
    Implements
    IAchievementPlatformGateway
    Inherited Members
    InertAchievementPlatformGateway.InitializeAsync(CancellationToken)
    InertAchievementPlatformGateway.UnlockAsync(AchievementDefinition, CancellationToken)
    InertAchievementPlatformGateway.SetProgressAsync(AchievementDefinition, long, long, CancellationToken)
    InertAchievementPlatformGateway.QueryUnlockedAsync(CancellationToken)
    InertAchievementPlatformGateway.ClearAsync(CancellationToken)
    InertAchievementPlatformGateway.PlatformName
    InertAchievementPlatformGateway.IsAvailable
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Achievements.Infrastructure.Platforms.Gateways
    Assembly: Serenity.UnityAchievements.Infrastructure.dll
    Syntax
    public sealed class SteamAchievementGateway : InertAchievementPlatformGateway, IAchievementPlatformGateway
    Remarks

    The real implementation lives in the same file behind SERENITY_ACHIEVEMENTS_STEAM. Two declarations of one type rather than a subclass, so a definition asset can hand back new SteamAchievementGateway(...) without knowing which of the two it got — the whole point of the inert template being a compile-time twin.

    Constructors

    SteamAchievementGateway(uint, bool, AchievementPlatformGatewayContext)

    Initializes the inert Steam gateway.

    Declaration
    public SteamAchievementGateway(uint appId, bool restartThroughSteamWhenLaunchedOutsideSteam, AchievementPlatformGatewayContext context)
    Parameters
    Type Name Description
    uint appId

    The configured Steam application id. Unused while inert; the parameter is here so both declarations of this type take the same arguments and the caller never branches.

    bool restartThroughSteamWhenLaunchedOutsideSteam

    Unused while inert, for the same reason.

    AchievementPlatformGatewayContext context

    The gateway context. Only its log service is read while inert.

    Implements

    IAchievementPlatformGateway
    In this article
    © 2026 Serenity. All Rights Reserved