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

    Class UserCharmsSelectMessage

    A message for setting active selected charm.

    Inheritance
    System.Object
    UserCharmsSelectMessage
    Implements
    IWolfMessage
    Namespace: TehGM.Wolfringo.Messages
    Assembly: Wolfringo.Core.dll
    Syntax
    public class UserCharmsSelectMessage : IWolfMessage

    Constructors

    | Improve this Doc View Source

    UserCharmsSelectMessage()

    Creates a message instance.

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

    UserCharmsSelectMessage(IDictionary<Int32, UInt32>)

    Creates a message instance.

    Declaration
    public UserCharmsSelectMessage(IDictionary<int, uint> charmsPositionsAndIDs)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.Int32, System.UInt32> charmsPositionsAndIDs

    Positions and IDs of charms to set as selected.

    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 CharmSubscriberSetSelected.

    | Improve this Doc View Source

    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
    System.Collections.Generic.IReadOnlyDictionary<System.Int32, System.UInt32>

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)