Ejemplo n.º 1
0
 public void RefreshFilterMask()
 {
     if (this.param == null || this.partyMainSlot != -1 || this.partySubSlot != -1)
     {
         this.filterMask = UnitListFilterWindow.SelectType.NONE;
     }
     else
     {
         this.filterMask = UnitListFilterWindow.GetFilterMask(this);
     }
 }
Ejemplo n.º 2
0
 protected override void Awake()
 {
     base.Awake();
     this.m_WindowController.Initialize((FlowNode)this);
     this.m_WindowController.Add((FlowWindowBase.SerializeParamBase) this.m_RootWindowParam);
     this.m_WindowController.Add((FlowWindowBase.SerializeParamBase) this.m_SortWindowParam);
     this.m_WindowController.Add((FlowWindowBase.SerializeParamBase) this.m_FilterWindowParam);
     this.m_RootWindow   = this.m_WindowController.GetWindow <UnitListRootWindow>();
     this.m_SortWindow   = this.m_WindowController.GetWindow <UnitListSortWindow>();
     this.m_FilterWindow = this.m_WindowController.GetWindow <UnitListFilterWindow>();
     if (this.m_RootWindow != null)
     {
         this.m_RootWindow.SetRoot(this);
     }
     if (this.m_SortWindow != null)
     {
         this.m_SortWindow.SetRoot(this);
     }
     if (this.m_FilterWindow == null)
     {
         return;
     }
     this.m_FilterWindow.SetRoot(this);
 }