Example #1
0
File: User.cs Project: 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;
     }
 }
Example #2
0
File: User.cs Project: 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);
 }