static int _s_set_TimeLimit(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ClickLimit __cl_gen_to_be_invoked = (xc.ui.ClickLimit)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.TimeLimit = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_IsClick(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ui.ClickLimit __cl_gen_to_be_invoked = (xc.ui.ClickLimit)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.IsClick); } 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.ui.ClickLimit __cl_gen_ret = new xc.ui.ClickLimit(); 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.ClickLimit constructor!")); }
static int _m_OnDestroy(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ClickLimit __cl_gen_to_be_invoked = (xc.ui.ClickLimit)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.OnDestroy( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_OnPointerDown(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ClickLimit __cl_gen_to_be_invoked = (xc.ui.ClickLimit)translator.FastGetCSObj(L, 1); try { { UnityEngine.EventSystems.PointerEventData eventData = (UnityEngine.EventSystems.PointerEventData)translator.GetObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData)); __cl_gen_to_be_invoked.OnPointerDown(eventData); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }