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

    Class WelcomeEvent

    Event when connection established.

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

    Constructors

    | Improve this Doc View Source

    WelcomeEvent()

    Creates a message instance.

    Declaration
    [JsonConstructor]
    protected WelcomeEvent()

    Properties

    | Improve this Doc View Source

    CountryCode

    Country connection is established from.

    Declaration
    [JsonProperty("country")]
    public string CountryCode { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Endpoints

    Wolf endpoint configuration.

    Declaration
    [JsonProperty("endpointConfig")]
    public WelcomeEvent.EndpointConfig Endpoints { get; }
    Property Value
    Type Description
    WelcomeEvent.EndpointConfig
    | Improve this Doc View Source

    EventName

    Message event name.

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

    Equals to Welcome.

    | Improve this Doc View Source

    IP

    IP address connection is established from.

    Declaration
    [JsonProperty("ip")]
    public IPAddress IP { get; }
    Property Value
    Type Description
    System.Net.IPAddress
    | Improve this Doc View Source

    LoggedInUser

    User if already logged in with provided token.

    Declaration
    [JsonProperty("loggedInUser")]
    public WolfUser LoggedInUser { get; }
    Property Value
    Type Description
    WolfUser
    | Improve this Doc View Source

    Token

    Token for this connection.

    Declaration
    [JsonProperty("token")]
    public string Token { get; }
    Property Value
    Type Description
    System.String

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)