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

    Class OnlineStateUpdateMessage

    A message for changing online state.

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

    Uses OnlineStateUpdateResponse as response type.

    Constructors

    | Improve this Doc View Source

    OnlineStateUpdateMessage()

    Creates a message instance.

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

    OnlineStateUpdateMessage(WolfOnlineState)

    Creates a message instance.

    Declaration
    public OnlineStateUpdateMessage(WolfOnlineState onlineState)
    Parameters
    Type Name Description
    WolfOnlineState onlineState

    Online state to set.

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

    | Improve this Doc View Source

    OnlineState

    New online state.

    Declaration
    [JsonProperty("state")]
    [JsonConverter(typeof(ObjectPropertyConverter), new object[]{"state"})]
    public WolfOnlineState OnlineState { get; }
    Property Value
    Type Description
    WolfOnlineState

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)