| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(SFXPlayUtility); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 9, 0, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 8, 0, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "PlayEffectAsync", _m_PlayEffectAsync); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "PlayBattleEffect", _m_PlayBattleEffect); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Play", _m_Play); |
| | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Initialize(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | SFXPlayUtility gen_to_be_invoked = (SFXPlayUtility)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.Initialize( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_PlayEffectAsync(RealStatePtr L) |