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); }
internal static void AddConnection(gameConnection Endpoint, int ConnectionID) { if (Connections.ContainsValue(ConnectionID)) Connections.Remove(ConnectionID); Connections.Add(ConnectionID, Endpoint); }