static int _g_get_a5(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); IFramework.Hotfix.Lua.NoGc gen_to_be_invoked = (IFramework.Hotfix.Lua.NoGc)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.a5); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_a5(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); IFramework.Hotfix.Lua.NoGc gen_to_be_invoked = (IFramework.Hotfix.Lua.NoGc)translator.FastGetCSObj(L, 1); gen_to_be_invoked.a5 = (decimal[])translator.GetObject(L, 2, typeof(decimal[])); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { IFramework.Hotfix.Lua.NoGc gen_ret = new IFramework.Hotfix.Lua.NoGc(); translator.Push(L, 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 IFramework.Hotfix.Lua.NoGc constructor!")); }
static int _m_FloatParamMethod(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); IFramework.Hotfix.Lua.NoGc gen_to_be_invoked = (IFramework.Hotfix.Lua.NoGc)translator.FastGetCSObj(L, 1); { float _p = (float)LuaAPI.lua_tonumber(L, 2); float gen_ret = gen_to_be_invoked.FloatParamMethod(_p); LuaAPI.lua_pushnumber(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_DecimalParamMethod(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); IFramework.Hotfix.Lua.NoGc gen_to_be_invoked = (IFramework.Hotfix.Lua.NoGc)translator.FastGetCSObj(L, 1); { decimal _p; translator.Get(L, 2, out _p); decimal gen_ret = gen_to_be_invoked.DecimalParamMethod(_p); translator.PushDecimal(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }