Documentation

NetworkInterface

Network interfaces are transport layers which can be used to transmit packets between the server and clients.

Table of Contents

setName()  : void
shutdown()  : void
Gracefully shuts down the network interface.
start()  : void
Performs actions needed to start the interface after it is registered.
tick()  : void
Called every tick to process events on the interface.

Methods

setName()

public setName(string $name) : void
Parameters
$name : string
Return values
void

shutdown()

Gracefully shuts down the network interface.

public shutdown() : void
Return values
void

tick()

Called every tick to process events on the interface.

public tick() : void
Return values
void

Search results