Exemple #1
0
 public User(User user)
 {
     this.Name = user.Name;
     this.Image = user.Image;
     this.IsOnline = user.IsOnline;
     this.Level = user.Level;
     discution = new Channel(user.Name, false);
 }
Exemple #2
0
 public User(string name, string image, bool isOnline, int level)
 {
     this.Name = name;
     this.Image = image;
     this.IsOnline = isOnline;
     this.Level = level;
     discution = new Channel(name, false);
     ump = new UserMapPoint();
     ump.DataContext = this;
 }