Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
ClientConnectedEvent Class Reference

Event for a client connection. More...

#include <clientevents.hpp>

Inheritance diagram for ClientConnectedEvent:
IEvent< ClientConnectedEvent >

Additional Inherited Members

- Static Public Member Functions inherited from IEvent< ClientConnectedEvent >
static void loadLua (lua_State *state)
 Loads the event to the lua state.
 

Detailed Description

Event for a client connection.

Launched when a new clients connects. Should implement in lua as such :

local function onClient(e)
-- do your thing
end
event.onClientConnected(onClient)

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