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>(); }
/// <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); }