static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.UIMainmapJoystick __cl_gen_ret = new xc.ui.UIMainmapJoystick(); 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.ui.UIMainmapJoystick constructor!")); }
static int _m_ResetJoystick(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.UIMainmapJoystick __cl_gen_to_be_invoked = (xc.ui.UIMainmapJoystick)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.ResetJoystick( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }