63 void OpenServer(String port,
int maxConnections, String Password, GlobalEnum THREAD_TYPE);
83 void OpenClient(
int IP, String port, String password, GlobalEnum THREAD_TYPE);
121 void Subscribe(GlobalEnum ID, functionCall);
153 void Send(
int Stream);
200 void Ban(user , value);
287 String
Stats(
int clientID);
418 void SendPosition(
int objID,
float x,
float y,
float z);
void SendImmediate(int Stream, int clientID)
Sends a prepared message to the network. : Stream this is a returned value from the raknet...
void Subscribe(GlobalEnum ID, functionCall)
Special Lua callback to connect messages with user functions.
void update()
Updates the raknet system and sends any messages throught the subscribe() option. ...
String Ping()
Ping returns in ms.
void Ban(user, value)
Bans a user.
void Kick()
Kick out a user.
Definition: LUA_API_RakNet.h:31
void GetUserNetwork()
GetUserNetwork.
void bitStreamWrite()
Write to a created bitsteam. This message can be repeated many times for various data.
void OpenClient(int IP, String port, String password, GlobalEnum THREAD_TYPE)
Opens a Client.
void SendPosition(int objID, float x, float y, float z)
Sends a prepared entity setPosition to the network. The player doesnt get a signal back all users app...
void RemoveBan(user, value)
Remove a Ban.
void Sleep(int ms)
Puse the system for x ms.
void OpenServer(String port, int maxConnections, String Password, GlobalEnum THREAD_TYPE)
Opens a server.
void dissconnect()
Stops a server or client when called.
void bitStreamCreate()
Creats a bitsteam for writing to.
void Send(int Stream)
Sends a prepared message to the network. : Stream this is a returned value from the raknet...
int id IsBanned()
check for ban
void bitStreamRead()
Read data from a bitsteam in the same order that is was created.
String Stats(int clientID)
display current server Statistics