static int _m_Equals(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BehaviorDesigner.Runtime.Tasks.HotfixAction gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.HotfixAction)translator.FastGetCSObj(L, 1); { object _obj = translator.GetObject(L, 2, typeof(object)); bool gen_ret = gen_to_be_invoked.Equals( _obj); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_getHashCode(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BehaviorDesigner.Runtime.Tasks.HotfixAction gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.HotfixAction)translator.FastGetCSObj(L, 1); gen_to_be_invoked.getHashCode = translator.GetDelegate <System.Func <int> >(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_behaviorTreeConfigID(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BehaviorDesigner.Runtime.Tasks.HotfixAction gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.HotfixAction)translator.FastGetCSObj(L, 1); gen_to_be_invoked.behaviorTreeConfigID = LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_toString(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BehaviorDesigner.Runtime.Tasks.HotfixAction gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.HotfixAction)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.toString); } 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) == 1) { BehaviorDesigner.Runtime.Tasks.HotfixAction gen_ret = new BehaviorDesigner.Runtime.Tasks.HotfixAction(); 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 BehaviorDesigner.Runtime.Tasks.HotfixAction constructor!")); }
static int _m_OnStart(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BehaviorDesigner.Runtime.Tasks.HotfixAction gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.HotfixAction)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.OnStart( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_GetHashCode(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BehaviorDesigner.Runtime.Tasks.HotfixAction gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.HotfixAction)translator.FastGetCSObj(L, 1); { int gen_ret = gen_to_be_invoked.GetHashCode( ); LuaAPI.xlua_pushinteger(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static StackObject *Add_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); ILRuntime.Runtime.Intepreter.ILTypeInstance @value = (ILRuntime.Runtime.Intepreter.ILTypeInstance) typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); BehaviorDesigner.Runtime.Tasks.HotfixAction @key = (BehaviorDesigner.Runtime.Tasks.HotfixAction) typeof(BehaviorDesigner.Runtime.Tasks.HotfixAction).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Collections.Generic.Dictionary <BehaviorDesigner.Runtime.Tasks.HotfixAction, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method = (System.Collections.Generic.Dictionary <BehaviorDesigner.Runtime.Tasks.HotfixAction, ILRuntime.Runtime.Intepreter.ILTypeInstance>) typeof(System.Collections.Generic.Dictionary <BehaviorDesigner.Runtime.Tasks.HotfixAction, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Add(@key, @value); return(__ret); }