private NrTextMgr.eTEXTMGR _GetEnumFromGroupKey(string strGroupKey) { NrTextMgr.eTEXTMGR result = NrTextMgr.eTEXTMGR.eTEXTMGR_NONE; if (!this.m_dicGroupEnum.TryGetValue(strGroupKey, out result)) { return(NrTextMgr.eTEXTMGR.eTEXTMGR_NONE); } return(result); }
public string GetTextFrom(string strGroupKey, string strTextkey) { NrTextMgr.eTEXTMGR eTEXTMGR = this._GetEnumFromGroupKey(strGroupKey); if (eTEXTMGR == NrTextMgr.eTEXTMGR.eTEXTMGR_NONE) { return(string.Empty); } return(this.GetTextFrom(eTEXTMGR, strTextkey)); }
public string GetTextFrom(NrTextMgr.eTEXTMGR eTextMgr, string strTextKey) { return(this.m_tsTextMgr[(int)eTextMgr].GetText(strTextKey)); }
public bool ClearTextGroup(NrTextMgr.eTEXTMGR eTextMgr) { this.m_tsTextMgr[(int)eTextMgr].Clear(); return(true); }
public TsTextGroup GetTextGroup(NrTextMgr.eTEXTMGR eTextMgr) { return(this.m_tsTextMgr[(int)eTextMgr]); }
public string GetGroupTextKey(NrTextMgr.eTEXTMGR eTextMgr) { return(this.m_strGroupText[(int)eTextMgr]); }
public NrTextTable_ForTsTxtMgr(string strGroupKey, NrTextMgr.eTEXTMGR eTextMgr, string strFilePath) : base(strFilePath) { this.m_strGroupKey = strGroupKey; this.m_eTextMgr = eTextMgr; this.m_IsQuestDlg = (eTextMgr == NrTextMgr.eTEXTMGR.eTEXTMGR_QUEST_DIALOG); }