Class WelcomeEvent
Event when connection established.
Inheritance
System.Object
WelcomeEvent
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class WelcomeEvent : IWolfMessage
Constructors
| Improve this Doc View SourceWelcomeEvent()
Creates a message instance.
Declaration
[JsonConstructor]
protected WelcomeEvent()
Properties
| Improve this Doc View SourceCountryCode
Country connection is established from.
Declaration
[JsonProperty("country")]
public string CountryCode { get; }
Property Value
Type | Description |
---|---|
System.String |
Endpoints
Wolf endpoint configuration.
Declaration
[JsonProperty("endpointConfig")]
public WelcomeEvent.EndpointConfig Endpoints { get; }
Property Value
Type | Description |
---|---|
WelcomeEvent.EndpointConfig |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Equals to Welcome.
IP
IP address connection is established from.
Declaration
[JsonProperty("ip")]
public IPAddress IP { get; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress |
LoggedInUser
User if already logged in with provided token.
Declaration
[JsonProperty("loggedInUser")]
public WolfUser LoggedInUser { get; }
Property Value
Type | Description |
---|---|
WolfUser |
Token
Token for this connection.
Declaration
[JsonProperty("token")]
public string Token { get; }
Property Value
Type | Description |
---|---|
System.String |