public static string GetNNFromID(int nID) { if (!PLRefSource.bRead) { PLRefSource.ReadTable(); } return(PLRefSource.m_MapIDtoNN.ContainsKey(nID) ? PLRefSource.m_MapIDtoNN[nID].ToString() : ""); }
public static int GetIDFromNN(string Key) { if (!PLRefSource.bRead) { PLRefSource.ReadTable(); } Key = Key.ToUpper(); return(PLRefSource.m_MapNNtoID.ContainsKey(Key) ? Convert.ToInt32(PLRefSource.m_MapNNtoID[Key]) : 0); }
public override string MakeNN(bool bSetNickName) { if (!PLRefSource.bRead) { PLRefSource.ReadTable(); } string str = this.MakeListNN(this.Name, PLRefSource.m_NNs, (short)20); if (bSetNickName) { this.NickName = str; } return(str); }