static StackObject *op_Implicit_4(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.TrackedReference exists = (UnityEngine.TrackedReference) typeof(UnityEngine.TrackedReference).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = (System.Boolean)exists; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return(__ret + 1); }
static StackObject *GetHashCode_3(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.TrackedReference instance_of_this_method = (UnityEngine.TrackedReference) typeof(UnityEngine.TrackedReference).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.GetHashCode(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return(__ret + 1); }
static int __EqMeta(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (translator.Assignable <UnityEngine.TrackedReference>(L, 1) && translator.Assignable <UnityEngine.TrackedReference>(L, 2)) { UnityEngine.TrackedReference leftside = (UnityEngine.TrackedReference)translator.GetObject(L, 1, typeof(UnityEngine.TrackedReference)); UnityEngine.TrackedReference rightside = (UnityEngine.TrackedReference)translator.GetObject(L, 2, typeof(UnityEngine.TrackedReference)); LuaAPI.lua_pushboolean(L, leftside == rightside); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to right hand of == operator, need UnityEngine.TrackedReference!")); }
static int _m_GetHashCode(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.TrackedReference gen_to_be_invoked = (UnityEngine.TrackedReference)translator.FastGetCSObj(L, 1); { var 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 int _m_Equals(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.TrackedReference gen_to_be_invoked = (UnityEngine.TrackedReference)translator.FastGetCSObj(L, 1); { object _o = translator.GetObject(L, 2, typeof(object)); var gen_ret = gen_to_be_invoked.Equals(_o); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }