Beispiel #1
0
 public NecClient()
 {
     Creation  = DateTime.Now;
     Identity  = "";
     Soul      = new Soul();
     Character = new Character();
 }
 public NecClient()
 {
     creation       = DateTime.Now;
     identity       = "";
     soul           = new Soul();
     character      = new Character();
     bodyCollection = new Dictionary <uint, NecClient>();
 }
Beispiel #3
0
        /// <summary>
        ///     Returns a Client by soul name if it exists.
        /// </summary>
        public NecClient GetBySoulName(string soulName)
        {
            List <NecClient> clients = GetAll();

            foreach (NecClient client in clients)
            {
                Soul soul = client.soul;
                if (soul != null && soul.name == soulName)
                {
                    return(client);
                }
            }

            return(null);
        }