// Token: 0x06000A0C RID: 2572 RVA: 0x0002AED4 File Offset: 0x000290D4 protected virtual void OnRetryLoginButtonClicked(UIControllerBase ctrl) { global::Debug.Log("OnRetryLoginButtonClicked"); if (!base.IsUIInputEnable) { return; } this.EnableUIInput(false, null); this.StartRelogin(); }
// Token: 0x06000A0D RID: 2573 RVA: 0x0002AF10 File Offset: 0x00029110 protected virtual void OnReturnToLoginConfirmButtonClicked(UIControllerBase ctrl) { global::Debug.Log("OnReturnToLoginConfirmButtonClicked"); this.EnableUIInput(false, null); Action eventOnReturnToLoginConfirmed = ReloginBySessionUITaskBase.EventOnReturnToLoginConfirmed; base.Stop(); GameManager.Instance.Return2Login(this.m_raiseCriticalDataCacheDirty); if (eventOnReturnToLoginConfirmed != null) { eventOnReturnToLoginConfirmed(); } }
// Token: 0x06000A23 RID: 2595 RVA: 0x0002B5F4 File Offset: 0x000297F4 protected override void OnBindFiledsCompleted() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.m_OnBindFiledsCompleted_hotfix != null) { this.m_OnBindFiledsCompleted_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; base.OnBindFiledsCompleted(); if (this.AutoInitLocalizedString) { UIControllerBase.InitLocalizedString(base.gameObject); } }
// Token: 0x06000A44 RID: 2628 RVA: 0x0002C760 File Offset: 0x0002A960 public LuaExportHelper(UIControllerBase owner) { this.m_owner = owner; }
// Token: 0x06000A24 RID: 2596 RVA: 0x0002B660 File Offset: 0x00029860 protected override UnityEngine.Object BindFieldImpl(Type fieldType, string path, AutoBindAttribute.InitState initState, string fieldName, string ctrlName = null, bool optional = false) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.m_BindFieldImplTypeStringInitStateStringStringBoolean_hotfix != null) { return((UnityEngine.Object) this.m_BindFieldImplTypeStringInitStateStringStringBoolean_hotfix.call(new object[] { this, fieldType, path, initState, fieldName2, ctrlName, optional })); } BJLuaObjHelper.IsSkipLuaHotfix = false; string fieldName = fieldName2; UIControllerBase $this = this; GameObject childByPath = base.GetChildByPath(path); if (childByPath == null) { global::Debug.LogError(string.Format("BindFields fail can not found child {0}", path)); return(null); } UnityEngine.Object result; if (fieldType.IsSubclassOf(typeof(Selectable))) { Component component = childByPath.GetComponent(fieldType); if (component == null) { global::Debug.LogError(string.Format("BindFields fail can not found comp in child {0} {1}", path, fieldType.Name)); return(null); } result = component; string name = fieldType.Name; if (name != null) { if (!(name == "Button")) { if (!(name == "ButtonEx")) { if (!(name == "Toggle")) { if (name == "ToggleEx") { ToggleEx toggle = component as ToggleEx; if (toggle != null) { toggle.onValueChanged.AddListener(delegate(bool value) { $this.OnToggleValueChanged(toggle, fieldName, value); }); } } } else { Toggle toggle = component as Toggle; if (toggle != null) { toggle.onValueChanged.AddListener(delegate(bool value) { $this.OnToggleValueChanged(toggle, fieldName, value); }); } } } else { ButtonEx button = component as ButtonEx; if (button != null) { button.onClick.AddListener(delegate() { $this.OnButtonClick(button, fieldName); }); button.onDoubleClick.AddListener(delegate() { $this.OnButtonDoubleClick(button, fieldName); }); button.onLongPressStart.AddListener(delegate() { $this.OnButtonLongPressStart(button, fieldName); }); button.onLongPressing.AddListener(delegate() { $this.OnButtonLongPressing(button, fieldName); }); button.onLongPressEnd.AddListener(delegate() { $this.OnButtonLongPressEnd(button, fieldName); }); } } } else { Button button = component as Button; if (button != null) { button.onClick.AddListener(delegate() { $this.OnButtonClick(button, fieldName); }); } } } } else { result = base.BindFieldImpl(fieldType, path, initState, fieldName, ctrlName, optional); } if (initState == AutoBindAttribute.InitState.Active) { childByPath.SetActive(true); } else if (initState == AutoBindAttribute.InitState.Inactive) { childByPath.SetActive(false); } return(result); }