public virtual void GetTextToShow(ArcenDoubleCharacterBuffer Buffer) { if (this.WindowController.SupportsMasterMenuKeys) { if (Input_MasterMenuHandler.GetIsWindowTheTopmostOpenMasterMenuWindow(this.Element.Window)) { int index = Input_MasterMenuHandler.GetIndexByButton(this.Element.Window, this); if (index >= 0) { Buffer.Add("(").Add(index + 1).Add(")"); } } } }
public virtual void GetTextToShow(ArcenDoubleCharacterBuffer Buffer) { if (this.WindowController.SupportsMasterMenuKeys) { if (Input_MasterMenuHandler.GetIsWindowTheTopmostOpenMasterMenuWindow(this.Element.Window) && !Window_InGameBuildTypeIconMenu.Instance.IsOpen && !Window_InGameTechTypeIconMenu.Instance.IsOpen) { int index = Input_MasterMenuHandler.GetIndexByButton(this.Element.Window, this); if (index >= 0) { Buffer.Add("(").Add(index + 1).Add(")"); } } } }