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