35 lines
645 B
C++
35 lines
645 B
C++
#pragma once
|
|
|
|
struct lua_State;
|
|
class cPluginLua;
|
|
|
|
|
|
|
|
|
|
|
|
/** Provides namespace for the bindings. */
|
|
class ManualBindings
|
|
{
|
|
public:
|
|
/** Binds all the manually implemented functions to tolua_S. */
|
|
static void Bind(lua_State * tolua_S);
|
|
|
|
protected:
|
|
/** Binds the manually implemented cRankManager glue code to tolua_S.
|
|
Implemented in ManualBindings_RankManager.cpp. */
|
|
static void BindRankManager(lua_State * tolua_S);
|
|
|
|
/** Binds the manually implemented cNetwork-related API to tolua_S.
|
|
Implemented in ManualBindings_Network.cpp. */
|
|
static void BindNetwork(lua_State * tolua_S);
|
|
};
|
|
|
|
|
|
|
|
|
|
extern cPluginLua * GetLuaPlugin(lua_State * L);
|
|
|
|
|
|
|
|
|