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

            if (bSetNickName)
            {
                this.NickName = str;
            }
            return(str);
        }