Ejemplo n.º 1
0
        // Token: 0x0600C29B RID: 49819 RVA: 0x00360624 File Offset: 0x0035E824
        private void BusinessCardUIController_OnUpdateSign(string sign)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_BusinessCardUIController_OnUpdateSignString_hotfix != null)
            {
                this.m_BusinessCardUIController_OnUpdateSignString_hotfix.call(new object[]
                {
                    this,
                    sign2
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            string                        sign  = sign2;
            BusinessCardUITask            $this = this;
            BusinessCardDescUpdateNetTask businessCardDescUpdateNetTask = new BusinessCardDescUpdateNetTask(sign);

            businessCardDescUpdateNetTask.EventOnStop += delegate(Task task)
            {
                BusinessCardDescUpdateNetTask businessCardDescUpdateNetTask2 = task as BusinessCardDescUpdateNetTask;
                if (businessCardDescUpdateNetTask2.Result == 0)
                {
                    $this.m_businessCardUIController.PlayerSignUpdateSuccess(sign);
                }
                else
                {
                    $this.m_businessCardUIController.PlayerSignUpdateEnd();
                    CommonUIController.Instance.ShowErrorMessage(businessCardDescUpdateNetTask2.Result, 2f, null, true);
                }
            };
            businessCardDescUpdateNetTask.Start(null);
        }
Ejemplo n.º 2
0
 // Token: 0x0600C2BF RID: 49855 RVA: 0x00360DB0 File Offset: 0x0035EFB0
 public LuaExportHelper(BusinessCardUITask owner)
 {
     this.m_owner = owner;
 }