mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Nicely decouple them. Everything server and client are now grouped as they should. The Ui namespace has been merged with Client.
36 lines
922 B
C++
36 lines
922 B
C++
#ifndef VSCRIPT_CLIENT_H
|
|
#define VSCRIPT_CLIENT_H
|
|
|
|
namespace VScriptCode
|
|
{
|
|
namespace Client
|
|
{
|
|
SQRESULT RefreshServerCount(HSQUIRRELVM v);
|
|
SQRESULT GetServerCount(HSQUIRRELVM v);
|
|
|
|
SQRESULT GetHiddenServerName(HSQUIRRELVM v);
|
|
SQRESULT GetServerName(HSQUIRRELVM v);
|
|
SQRESULT GetServerDescription(HSQUIRRELVM v);
|
|
|
|
SQRESULT GetServerMap(HSQUIRRELVM v);
|
|
SQRESULT GetServerPlaylist(HSQUIRRELVM v);
|
|
|
|
SQRESULT GetServerCurrentPlayers(HSQUIRRELVM v);
|
|
SQRESULT GetServerMaxPlayers(HSQUIRRELVM v);
|
|
|
|
SQRESULT GetPromoData(HSQUIRRELVM v);
|
|
|
|
SQRESULT ConnectToListedServer(HSQUIRRELVM v);
|
|
SQRESULT ConnectToHiddenServer(HSQUIRRELVM v);
|
|
SQRESULT ConnectToServer(HSQUIRRELVM v);
|
|
|
|
SQRESULT IsClientDLL(HSQUIRRELVM v);
|
|
}
|
|
}
|
|
|
|
void Script_RegisterClientFunctions(CSquirrelVM* s);
|
|
void Script_RegisterUIFunctions(CSquirrelVM* s);
|
|
void Script_RegisterCoreClientFunctions(CSquirrelVM* s);
|
|
|
|
#endif // VSCRIPT_CLIENT_H
|