Phpcraft
Public Member Functions | Public Attributes | List of all members
Phpcraft\Event\ProxyEvent Class Reference
Inheritance diagram for Phpcraft\Event\ProxyEvent:
Inheritance graph
[legend]
Collaboration diagram for Phpcraft\Event\ProxyEvent:
Collaboration graph
[legend]

Public Member Functions

 __construct (?ClientConnection $client, ?ServerConnection $server=null)
 

Public Attributes

 $client
 
 $server
 
- Public Attributes inherited from Phpcraft\Event\Event
const PRIORITY_HIGHEST = 2
 
const PRIORITY_HIGH = 1
 
const PRIORITY_NORMAL = 0
 
const PRIORITY_LOW = -1
 
const PRIORITY_LOWEST = -2
 
 $cancelled = false
 

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Event\ProxyEvent::__construct ( ?ClientConnection  $client,
?ServerConnection  $server = null 
)
Parameters
ClientConnection | null$clientThe client connection.
ServerConnection | null$serverThe server connection.

Member Data Documentation

◆ $client

ClientConnection null Phpcraft\Event\ProxyEvent::$client

The client connection.

◆ $server

ServerConnection null Phpcraft\Event\ProxyEvent::$server

The server connection.