logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SteamSaveResult

    The outcome of parsing one newachievement or saveachievement response.

    Inheritance
    object
    SteamSaveResult
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Steam.Infrastructure
    Assembly: Serenity.Steam.Infrastructure.dll
    Syntax
    public sealed class SteamSaveResult

    Constructors

    SteamSaveResult(bool, string, string, SteamFetchFailureKind, string, string, string)

    Creates a save result.

    Declaration
    public SteamSaveResult(bool succeeded, string statId, string bitId, SteamFetchFailureKind failureKind, string failureDetail, string maxStatId = "", string maxBitId = "")
    Parameters
    Type Name Description
    bool succeeded

    Whether the response parsed as a success.

    string statId

    The stat id the response carried, or empty when it carried none.

    string bitId

    The bit id the response carried, or empty when it carried none.

    SteamFetchFailureKind failureKind

    Why parsing failed, or None when it did not.

    string failureDetail

    A human-readable detail for the failure, or empty when it succeeded.

    string maxStatId

    The highest stat id in use on the app after a newachievement, or empty when the response carried none.

    string maxBitId

    The highest bit id in use on the app after a newachievement, or empty when the response carried none.

    Properties

    BitId

    Declaration
    public string BitId { get; }
    Property Value
    Type Description
    string

    The bit id the response carried, or empty when it carried none.

    FailureDetail

    Declaration
    public string FailureDetail { get; }
    Property Value
    Type Description
    string

    A human-readable detail for the failure, or empty when it succeeded.

    FailureKind

    Declaration
    public SteamFetchFailureKind FailureKind { get; }
    Property Value
    Type Description
    SteamFetchFailureKind

    Why parsing failed, or None when it did not.

    MaxBitId

    Declaration
    public string MaxBitId { get; }
    Property Value
    Type Description
    string

    The highest bit id in use on the app after a newachievement, or empty.

    MaxStatId

    Declaration
    public string MaxStatId { get; }
    Property Value
    Type Description
    string

    The highest stat id in use on the app after a newachievement, or empty.

    StatId

    Declaration
    public string StatId { get; }
    Property Value
    Type Description
    string

    The stat id the response carried, or empty when it carried none.

    Succeeded

    Declaration
    public bool Succeeded { get; }
    Property Value
    Type Description
    bool

    Whether the response parsed as a success.

    In this article
    © 2026 Serenity. All Rights Reserved