Class SteamAchievementGateway
The Steam gateway as this project compiles it: inert, because Steamworks.NET is not installed.
Implements
Inherited Members
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. |