static int _s_set_mLastSpokeIndex(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GameCloud.Unity.Common.EbTimeWheel gen_to_be_invoked = (GameCloud.Unity.Common.EbTimeWheel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.mLastSpokeIndex = LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_mListTimerSpoke(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GameCloud.Unity.Common.EbTimeWheel gen_to_be_invoked = (GameCloud.Unity.Common.EbTimeWheel)translator.FastGetCSObj(L, 1); gen_to_be_invoked.mListTimerSpoke = (System.Collections.Generic.List <GameCloud.Unity.Common.EbDoubleLinkList <GameCloud.Unity.Common.EbTimeEvent> >)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <GameCloud.Unity.Common.EbDoubleLinkList <GameCloud.Unity.Common.EbTimeEvent> >)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_mSpokeCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GameCloud.Unity.Common.EbTimeWheel gen_to_be_invoked = (GameCloud.Unity.Common.EbTimeWheel)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.mSpokeCount); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { int _spoke_count = LuaAPI.xlua_tointeger(L, 2); GameCloud.Unity.Common.EbTimeWheel gen_ret = new GameCloud.Unity.Common.EbTimeWheel(_spoke_count); 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 GameCloud.Unity.Common.EbTimeWheel constructor!")); }
static int _m_Destroy(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GameCloud.Unity.Common.EbTimeWheel gen_to_be_invoked = (GameCloud.Unity.Common.EbTimeWheel)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Destroy( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_GetSpoke(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); GameCloud.Unity.Common.EbTimeWheel gen_to_be_invoked = (GameCloud.Unity.Common.EbTimeWheel)translator.FastGetCSObj(L, 1); { int _index = LuaAPI.xlua_tointeger(L, 2); GameCloud.Unity.Common.EbDoubleLinkList <GameCloud.Unity.Common.EbTimeEvent> gen_ret = gen_to_be_invoked.GetSpoke(_index); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }