static int _s_set_LoginInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.GlobalConfig __cl_gen_to_be_invoked = (xc.GlobalConfig)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.LoginInfo = (xc.GlobalConfig.LoginInfoStruct)translator.GetObject(L, 2, typeof(xc.GlobalConfig.LoginInfoStruct)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_Token(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.GlobalConfig __cl_gen_to_be_invoked = (xc.GlobalConfig)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Token = LuaAPI.lua_tobytes(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_LoginInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.GlobalConfig __cl_gen_to_be_invoked = (xc.GlobalConfig)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.LoginInfo); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_BindMobileState(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.GlobalConfig __cl_gen_to_be_invoked = (xc.GlobalConfig)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, __cl_gen_to_be_invoked.BindMobileState); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_IsPostCloudLadderAction(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.GlobalConfig __cl_gen_to_be_invoked = (xc.GlobalConfig)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.IsPostCloudLadderAction); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.GlobalConfig __cl_gen_ret = new xc.GlobalConfig(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.GlobalConfig constructor!")); }
static int _m_GetInstance_xlua_st_(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { { xc.GlobalConfig __cl_gen_ret = xc.Singleton <xc.GlobalConfig> .GetInstance( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_ResetHostURL(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.GlobalConfig __cl_gen_to_be_invoked = (xc.GlobalConfig)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.ResetHostURL( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }