Ejemplo n.º 1
0
Archivo: User.cs Proyecto: habb0/IHI
 /// <summary>
 /// Cleans up the online values when nobody is using them.
 /// </summary>
 public void StopLoggedInValues()
 {
     OnlineValueCounter--;
     if (OnlineValueCounter == 0)
     {
         this.fConnection = null;
         this.fPacketSender = null;
         this.fPacketProcessor = null;
         this.fSessionValues = null;
         this.fFuseRights = null;
     }
 }
Ejemplo n.º 2
0
Archivo: User.cs Proyecto: habb0/IHI
 /// <summary>
 /// Construct a prelogin User object.
 /// DO NOT USE THIS FOR GETTING A USER - USE THE USER DISTRIBUTOR
 /// </summary>
 internal User(IonTcpConnection Connection)
 {
     this.fConnection = Connection;
     this.fPacketSender = new PacketSender(this);
     this.fPacketProcessor = new PacketProcessor(this);
 }