Esempio n. 1
0
File: User.cs Progetto: 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);
 }
Esempio n. 2
0
 internal static void AddConnection(gameConnection Endpoint, int ConnectionID)
 {
     if (Connections.ContainsValue(ConnectionID))
         Connections.Remove(ConnectionID);
     Connections.Add(ConnectionID, Endpoint);
 }