Class AchievementMessage
A message for requesting data of specific achievements.
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 SourceAchievementMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected AchievementMessage()
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. |
IEnumerable<UInt32> | achievementIDs | IDs of achievements to request. |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to Achievement.
Headers
Message payload headers.
Declaration
[JsonIgnore]
public IDictionary<string, object> Headers { get; }
Property Value
Type | Description |
---|---|
IDictionary<String, Object> |
Language
Language of achievement translations.
Declaration
[JsonProperty("languageId")]
public WolfLanguage Language { get; }
Property Value
Type | Description |
---|---|
WolfLanguage |
RequestAchievementIDs
IDs of achievements to request.
Declaration
[JsonProperty("idList")]
public IEnumerable<uint> RequestAchievementIDs { get; }
Property Value
Type | Description |
---|---|
IEnumerable<UInt32> |