Class AchievementMessage
A message for requesting data of specific achievements.
Inheritance
System.Object
AchievementMessage
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
protected AchievementMessage()
Remarks
Uses AchievementResponse as response type.
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. |
Remarks
Uses AchievementResponse as response type.
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
public string EventName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Equals to Achievement.
Headers
Message payload headers.
Declaration
public IDictionary<string, object> Headers { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.Object> |
Remarks
Uses AchievementResponse as response type.
Language
Language of achievement translations.
Declaration
public WolfLanguage Language { get; }
Property Value
| Type | Description |
|---|---|
| WolfLanguage |
Remarks
Uses AchievementResponse as response type.
RequestAchievementIDs
IDs of achievements to request.
Declaration
public IEnumerable<uint> RequestAchievementIDs { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.UInt32> |
Remarks
Uses AchievementResponse as response type.