summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.h
blob: 74d24d5f50e39dd163e2778f8dba47f58d216511 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#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);