static StackObject *AssignFromStack_sound_2(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; FairyGUI.NAudioClip @sound = (FairyGUI.NAudioClip) typeof(FairyGUI.NAudioClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0); ((FairyGUI.GComboBox)o).sound = @sound; return(ptr_of_this_method); }
static int _s_set_nativeClip(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.NAudioClip gen_to_be_invoked = (FairyGUI.NAudioClip)translator.FastGetCSObj(L, 1); gen_to_be_invoked.nativeClip = (UnityEngine.AudioClip)translator.GetObject(L, 2, typeof(UnityEngine.AudioClip)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_nativeClip(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.NAudioClip gen_to_be_invoked = (FairyGUI.NAudioClip)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.nativeClip); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_destroyMethod(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.NAudioClip gen_to_be_invoked = (FairyGUI.NAudioClip)translator.FastGetCSObj(L, 1); FairyGUI.DestroyMethod gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.destroyMethod = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 2 && translator.Assignable <UnityEngine.AudioClip>(L, 2)) { UnityEngine.AudioClip _audioClip = (UnityEngine.AudioClip)translator.GetObject(L, 2, typeof(UnityEngine.AudioClip)); FairyGUI.NAudioClip gen_ret = new FairyGUI.NAudioClip(_audioClip); 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 FairyGUI.NAudioClip constructor!")); }
static int _m_Unload(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.NAudioClip gen_to_be_invoked = (FairyGUI.NAudioClip)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Unload( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
public FairyGUI.NAudioClip __Gen_Delegate_Imp14(string p0) { #if THREAD_SAFE || HOTFIX_ENABLE lock (luaEnv.luaEnvLock) { #endif RealStatePtr L = luaEnv.rawL; int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); ObjectTranslator translator = luaEnv.translator; LuaAPI.lua_pushstring(L, p0); PCall(L, 1, 1, errFunc); FairyGUI.NAudioClip __gen_ret = (FairyGUI.NAudioClip)translator.GetObject(L, errFunc + 1, typeof(FairyGUI.NAudioClip)); LuaAPI.lua_settop(L, errFunc - 1); return(__gen_ret); #if THREAD_SAFE || HOTFIX_ENABLE } #endif }