Class SteamSaveResult
The outcome of parsing one newachievement or saveachievement response.
Inherited Members
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 |
| string | maxBitId | The highest bit id in use on the app after a |
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 |
MaxStatId
Declaration
public string MaxStatId { get; }
Property Value
| Type | Description |
|---|---|
| string | The highest stat id in use on the app after a |
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. |