static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ui.ugui.UIMainMapAnimationBehaviour __cl_gen_ret = new xc.ui.ugui.UIMainMapAnimationBehaviour(); 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.ugui.UIMainMapAnimationBehaviour constructor!")); }
static int _m_UpdateBehaviour(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIMainMapAnimationBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.UIMainMapAnimationBehaviour)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.UpdateBehaviour( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_OnPlayAnimationEnd(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIMainMapAnimationBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.UIMainMapAnimationBehaviour)translator.FastGetCSObj(L, 1); try { { string param = LuaAPI.lua_tostring(L, 2); __cl_gen_to_be_invoked.OnPlayAnimationEnd(param); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_SendAnimationEvent(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIMainMapAnimationBehaviour __cl_gen_to_be_invoked = (xc.ui.ugui.UIMainMapAnimationBehaviour)translator.FastGetCSObj(L, 1); try { { string part = LuaAPI.lua_tostring(L, 2); bool is_show = LuaAPI.lua_toboolean(L, 3); __cl_gen_to_be_invoked.SendAnimationEvent(part, is_show); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }