Exemple #1
0
        //@todo Instances of the client class should only be created by the ClientMgr
        public User(Creds creds)
        {
            Settings.ALWAYS_DECODE_OBJECTS  = false;
            Settings.ALWAYS_REQUEST_OBJECTS = false;
            Settings.MULTIPLE_SIMS          = false;
            Settings.ENABLE_SIMSTATS        = true;
            Settings.LOGOUT_TIMEOUT         = 20000;
            Settings.LOG_RESENDS            = false;
            Settings.USE_ASSET_CACHE        = false;
            Throttle.Cloud   = 0;
            Throttle.Task    = 0;
            Throttle.Wind    = 0;
            Throttle.Asset   = 50000;
            Throttle.Resend  = 500000;
            Throttle.Texture = 500000;

            lastRequest           = DateTime.Now;
            sessionID             = Guid.NewGuid();
            Settings.LOGIN_SERVER = creds.gridURL;
            this.creds            = creds;
            tracker = new NearbyAvatarTracker(this);
        }
Exemple #2
0
        //@todo Instances of the client class should only be created by the ClientMgr
        public User(Creds creds)
        {
            Settings.ALWAYS_DECODE_OBJECTS = false;
            Settings.ALWAYS_REQUEST_OBJECTS = false;
            Settings.MULTIPLE_SIMS = false;
            Settings.ENABLE_SIMSTATS = true;
            Settings.LOGOUT_TIMEOUT = 20000;
            Settings.LOG_RESENDS = false;
            Settings.USE_ASSET_CACHE = false;
            Throttle.Cloud = 0;
            Throttle.Task = 0;
            Throttle.Wind = 0;
            Throttle.Asset = 50000;
            Throttle.Resend = 500000;
            Throttle.Texture = 500000;

            lastRequest = DateTime.Now;
            sessionID = Guid.NewGuid();
            Settings.LOGIN_SERVER = creds.gridURL;
            this.creds = creds;
            tracker = new NearbyAvatarTracker(this);
        }