예제 #1
0
파일: User.cs 프로젝트: 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);
 }
예제 #2
0
 internal static void AddConnection(gameConnection Endpoint, int ConnectionID)
 {
     if (Connections.ContainsValue(ConnectionID))
         Connections.Remove(ConnectionID);
     Connections.Add(ConnectionID, Endpoint);
 }