Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class AchievementMessage

    A message for requesting data of specific achievements.

    Inheritance
    System.Object
    AchievementMessage
    Implements
    IHeadersWolfMessage
    IWolfMessage
    Namespace: TehGM.Wolfringo.Messages
    Assembly: Wolfringo.Core.dll
    Syntax
    [ResponseType(typeof(AchievementResponse))]
    public class AchievementMessage : IHeadersWolfMessage, IWolfMessage
    Remarks

    Uses AchievementResponse as response type.

    Constructors

    | Improve this Doc View Source

    AchievementMessage()

    Creates a message instance.

    Declaration
    [JsonConstructor]
    protected AchievementMessage()
    | Improve this Doc View Source

    AchievementMessage(WolfLanguage, IEnumerable<UInt32>)

    Creates a message instance.

    Declaration
    public AchievementMessage(WolfLanguage language, IEnumerable<uint> achievementIDs)
    Parameters
    Type Name Description
    WolfLanguage language

    Language of achievements.

    System.Collections.Generic.IEnumerable<System.UInt32> achievementIDs

    IDs of achievements to request.

    Properties

    | Improve this Doc View Source

    EventName

    Message event name.

    Declaration
    [JsonIgnore]
    public string EventName { get; }
    Property Value
    Type Description
    System.String
    Remarks

    Equals to Achievement.

    | Improve this Doc View Source

    Headers

    Message payload headers.

    Declaration
    [JsonIgnore]
    public IDictionary<string, object> Headers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>
    | Improve this Doc View Source

    Language

    Language of achievement translations.

    Declaration
    [JsonProperty("languageId")]
    public WolfLanguage Language { get; }
    Property Value
    Type Description
    WolfLanguage
    | Improve this Doc View Source

    RequestAchievementIDs

    IDs of achievements to request.

    Declaration
    [JsonProperty("idList")]
    public IEnumerable<uint> RequestAchievementIDs { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.UInt32>

    Implements

    IHeadersWolfMessage
    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)