Esempio n. 1
0
		public void ChangeMyStatus(bool isAway, bool isInGame)
		{
			var u = new User();
			u.isAway = isAway;
			u.isInGame = isInGame;
			con.SendCommand(0, "MYSTATUS", u.ToInt());
		}
Esempio n. 2
0
		public bool GetExistingUser(string name, out User u)
		{
			return existingUsers.TryGetValue(name, out u);
		}
 public static User Create(string name)
 {
   User u = new User();
   u.name = name;
   return u;
 }