// Token: 0x06001F68 RID: 8040 RVA: 0x003C0C9C File Offset: 0x003BEE9C private void SetEmptyMsgAlly(eMsgPanel msg) { if (msg == eMsgPanel.None) { this.m_EmptyMsgPanel.gameObject.SetActive(false); } else if (msg == eMsgPanel.PlzInputName) { this.m_EmptyMsgTextStr.ClearString(); if (AllianceHint.SeekKind == 0) { this.m_EmptyMsgTextStr.AppendFormat(this.DM.mStringTable.GetStringByID(4711u)); } else if (AllianceHint.SearchLang != string.Empty && AllianceHint.SearchName != string.Empty) { this.m_EmptyMsgTextStr.StringToFormat(AllianceHint.FilterName); this.m_EmptyMsgTextStr.StringToFormat(this.DM.GetLanguageStr(AllianceHint.FilterIdx)); this.m_EmptyMsgTextStr.AppendFormat(this.DM.mStringTable.GetStringByID(735u)); } else if (AllianceHint.SearchName != string.Empty) { this.m_EmptyMsgTextStr.StringToFormat(AllianceHint.FilterName); this.m_EmptyMsgTextStr.AppendFormat(this.DM.mStringTable.GetStringByID(4709u)); } else if (AllianceHint.SearchLang != string.Empty) { this.m_EmptyMsgTextStr.StringToFormat(this.DM.GetLanguageStr(AllianceHint.FilterIdx)); this.m_EmptyMsgTextStr.AppendFormat(this.DM.mStringTable.GetStringByID(4709u)); } this.m_EmptyMsgText.text = this.m_EmptyMsgTextStr.ToString(); this.m_EmptyMsgText.SetAllDirty(); this.m_EmptyMsgText.cachedTextGenerator.Invalidate(); this.m_EmptyMsgPanel.gameObject.SetActive(true); } else if (msg == eMsgPanel.SearchError) { this.m_EmptyMsgTextStr.ClearString(); this.m_EmptyMsgTextStr.StringToFormat(this.m_InputField.text); this.m_EmptyMsgTextStr.AppendFormat(this.DM.mStringTable.GetStringByID(7050u)); this.m_EmptyMsgText.text = this.m_EmptyMsgTextStr.ToString(); this.m_EmptyMsgText.SetAllDirty(); this.m_EmptyMsgText.cachedTextGenerator.Invalidate(); this.m_EmptyMsgPanel.gameObject.SetActive(true); } }
// Token: 0x06001F5F RID: 8031 RVA: 0x003BFEC8 File Offset: 0x003BE0C8 private void SetEmptyMsgPanel(eMsgPanel msg) { if (msg == eMsgPanel.None) { this.m_EmptyMsgPanel.gameObject.SetActive(false); } else if (msg == eMsgPanel.PlzInputName) { this.m_EmptyMsgText.text = this.DM.mStringTable.GetStringByID(7021u); this.m_EmptyMsgPanel.gameObject.SetActive(true); } else if (msg == eMsgPanel.SearchError) { this.m_EmptyMsgTextStr.ClearString(); this.m_EmptyMsgTextStr.StringToFormat(this.m_InputField.text); this.m_EmptyMsgTextStr.AppendFormat(this.DM.mStringTable.GetStringByID(7050u)); this.m_EmptyMsgText.text = this.m_EmptyMsgTextStr.ToString(); this.m_EmptyMsgText.SetAllDirty(); this.m_EmptyMsgText.cachedTextGenerator.Invalidate(); this.m_EmptyMsgPanel.gameObject.SetActive(true); } }