예제 #1
0
파일: User.cs 프로젝트: 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;
     }
 }
예제 #2
0
파일: User.cs 프로젝트: 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);
 }