logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IAchievementSyncIconSource

    Where AchievementSyncAssetWriter gets the image of an icon the author accepted while a pull is applied.

    Namespace: Serenity.Achievements.Infrastructure.Editor.Sync
    Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
    Syntax
    public interface IAchievementSyncIconSource
    Remarks

    The writer works on the main thread and writes assets as it goes, so getting an image is a plain call that returns at once. The real source hands out the images the Apply step already downloaded, through the connector the pull came from, before the writer started; a test gives a scripted one.

    Methods

    Download(AchievementStorefrontIcon)

    Gets the image of one icon.

    Declaration
    AchievementIconDownload Download(AchievementStorefrontIcon icon)
    Parameters
    Type Name Description
    AchievementStorefrontIcon icon

    The icon the pulled snapshot offered.

    Returns
    Type Description
    AchievementIconDownload

    The image, or why there is none; never throws for a failed download.

    In this article
    © 2026 Serenity. All Rights Reserved