Class AchievementSyncStorefrontStepGui
The wizard's first step: pick a connector to sync with. Draws one card per AchievementPlatformKind — active and clickable when IsWired(AchievementPlatformKind) answers true for it, disabled with a "not wired yet" note otherwise — plus the always-available Snapshot file card, which owns its own file picker, storefront-kind popup, and Pull action rather than a live connector for one specific storefront.
Inherited Members
Namespace: Serenity.Achievements.Infrastructure.Editor.Sync
Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
Syntax
public sealed class AchievementSyncStorefrontStepGui
Remarks
The card grid never branches on which platform it is drawing: every card comes from the same Serenity.Global.Infrastructure.Editor.SerenityWizardPresetGallery.Preset shape, and whether a platform's card is clickable is decided entirely by AchievementSyncConnectorCatalog. A future Xbox/Epic/PlayStation connector only needs a catalog entry — this file does not change.
Constructors
AchievementSyncStorefrontStepGui()
Declaration
public AchievementSyncStorefrontStepGui()
Methods
Draw(AchievementSyncWizardSession, AchievementSyncConnectorCatalog)
Draws the step and reports what the author did.
Declaration
public AchievementSyncStorefrontStepGui.Result Draw(AchievementSyncWizardSession session, AchievementSyncConnectorCatalog connectors)
Parameters
| Type | Name | Description |
|---|---|---|
| AchievementSyncWizardSession | session | The session to read and write. |
| AchievementSyncConnectorCatalog | connectors | Which storefronts can build a live connector. |
Returns
| Type | Description |
|---|---|
| AchievementSyncStorefrontStepGui.Result |