Class UserCharmsSelectMessage
A message for setting active selected charm.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class UserCharmsSelectMessage : IWolfMessage
Constructors
| Improve this Doc View SourceUserCharmsSelectMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected UserCharmsSelectMessage()
UserCharmsSelectMessage(IDictionary<Int32, UInt32>)
Creates a message instance.
Declaration
public UserCharmsSelectMessage(IDictionary<int, uint> charmsPositionsAndIDs)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<Int32, UInt32> | charmsPositionsAndIDs | Positions and IDs of charms to set as selected. |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to CharmSubscriberSetSelected.
SelectedCharmsIDs
Selected charms IDs.
Declaration
[JsonProperty("selectedList")]
[JsonConverter(typeof(ObjectPropertiesDictionaryConverter<int, uint>), new object[]{"position", "charmId"})]
public IReadOnlyDictionary<int, uint> SelectedCharmsIDs { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<Int32, UInt32> |