summaryrefslogblamecommitdiffstats
path: root/src/Bindings/ManualBindings.h
blob: 74d24d5f50e39dd163e2778f8dba47f58d216511 (plain) (tree)
1
2
3
4
5
6
7
8
9


                 
                 




 
                                           


                    






                                                                             



                                                                           
  



 




                                                
#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);