static StackObject *get_Id_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); EB.Sparx.User instance_of_this_method = (EB.Sparx.User) typeof(EB.Sparx.User).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.Id; return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
/// <summary> /// 友盟登录统计 /// </summary> /// <param name="account"></param> /// <param name="user"></param> public static void PostLogin(Account account, EB.Sparx.User user) { if (ILRDefine.USE_UMENG && !ILRDefine.UNITY_EDITOR && user != null && user.Id != null) { EB.Debug.Log("PostLogin userId = {0}", user.Id.Value); Umeng.GA.ProfileSignIn(user.Id.Value.ToString()); } LoginEvenTimer = ILRTimerManager.instance.AddTimer(10000, 1, UmengLoginEven);//10秒后才进行登录统计 if (SparxHub.Instance != null && SparxHub.Instance.LevelRewardsManager != null) { SparxHub.Instance.LevelRewardsManager.OnLevelChange += OnLevelChange; } }
static StackObject *get_CreateTime_3(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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); EB.Sparx.User instance_of_this_method = (EB.Sparx.User) typeof(EB.Sparx.User).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.CreateTime; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return(__ret + 1); }
static StackObject *Update_8(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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Object @data = (System.Object) typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); EB.Sparx.User instance_of_this_method = (EB.Sparx.User) typeof(EB.Sparx.User).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Update(@data); return(__ret); }
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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); EB.Sparx.User @item = (EB.Sparx.User) typeof(EB.Sparx.User).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Collections.Generic.List <EB.Sparx.User> instance_of_this_method = (System.Collections.Generic.List <EB.Sparx.User>) typeof(System.Collections.Generic.List <EB.Sparx.User>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Add(@item); return(__ret); }