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

    Class PresenceUpdateEvent

    Event when a user changes presence state.

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

    Constructors

    | Improve this Doc View Source

    PresenceUpdateEvent()

    Creates a message instance.

    Declaration
    [JsonConstructor]
    protected PresenceUpdateEvent()

    Properties

    | Improve this Doc View Source

    Device

    User's device.

    Declaration
    [JsonProperty("deviceType")]
    public WolfDevice Device { get; }
    Property Value
    Type Description
    WolfDevice
    | Improve this Doc View Source

    EventName

    Message event name.

    Declaration
    [JsonIgnore]
    public string EventName { get; }
    Property Value
    Type Description
    System.String
    Remarks

    Equals to PresenceUpdate.

    | Improve this Doc View Source

    OnlineState

    User's online state.

    Declaration
    [JsonProperty("onlineState")]
    public WolfOnlineState OnlineState { get; }
    Property Value
    Type Description
    WolfOnlineState
    | Improve this Doc View Source

    UserID

    ID of the user.

    Declaration
    [JsonProperty("id")]
    public uint UserID { get; }
    Property Value
    Type Description
    System.UInt32

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)