Example #1
0
File: User.cs Project: habb0/Zazlak
 public User(gameConnection ConnectionManager)
 {
     this.Game = ConnectionManager;
     this.connectionID = ConnectionManager.ConnectionID;
     this.HabboUser = new HabboUser(this);
     this.HabboCatalog = new HabboCatalog(this);
     this.HabboNavigator = new HabboNavigator(this);
     this.HabboRooms = new HabboRooms(this);
 }
Example #2
0
 internal static void AddConnection(gameConnection Endpoint, int ConnectionID)
 {
     if (Connections.ContainsValue(ConnectionID))
         Connections.Remove(ConnectionID);
     Connections.Add(ConnectionID, Endpoint);
 }