Torque2D Reference
Loading...
Searching...
No Matches
ConnectedNotifyEvent Struct Reference

Notify simulation of state of a connection. More...

#include <event.h>

Inheritance diagram for ConnectedNotifyEvent:

Public Types

enum  State {
  DNSResolved , DNSFailed , Connected , ConnectFailed ,
  Disconnected
}
 Valid connection states. More...

Public Member Functions

 ConnectedNotifyEvent ()
Public Member Functions inherited from Event
 Event ()

Public Attributes

U32 state
 Indicates current connection state.
NetSocket tag
 Identifies connection.
Public Attributes inherited from Event
U16 type
U16 size

Detailed Description

Notify simulation of state of a connection.

Member Enumeration Documentation

◆ State

enum State

Valid connection states.

Enumerator
DNSResolved 
DNSFailed 
Connected 
ConnectFailed 
Disconnected 

Constructor & Destructor Documentation

◆ ConnectedNotifyEvent()

Member Data Documentation

◆ state

U32 state

Indicates current connection state.

◆ tag

NetSocket tag

Identifies connection.


The documentation for this struct was generated from the following file: