/// <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; } }
/// <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); }