public void UpdateDatabase(UUID user, AvatarAppearance appearance, Action callBack, Dictionary <UUID, UUID> bakedTextures)
        {
            lock (_pendingUpdates)
            {
                if (_pendingUpdates.ContainsKey(user))
                {
                    _pendingUpdates.Remove(user);
                }

                AppearanceUpdateRequest appearanceUpdate =
                    new AppearanceUpdateRequest
                {
                    UserId        = user,
                    Appearance    = appearance,
                    RequestTime   = DateTime.Now,
                    BakedTextures = bakedTextures,
                    CallBack      = callBack
                };

                _pendingUpdates.Add(user, appearanceUpdate);

                if (!_appearanceUpdateTimer.Enabled)
                {
                    _appearanceUpdateTimer.Enabled = true;
                }
            }
        }
        public void UpdateDatabase(UUID user, AvatarAppearance appearance, Action callBack, Dictionary <UUID, UUID> bakedTextures)
        {
            lock (_pendingUpdates)
            {
                // m_log.InfoFormat("[LLCV]: Avatar database update ({0}) queued for user {1}", appearance.Serial, user);
                if (_pendingUpdates.ContainsKey(user))
                {
                    _pendingUpdates.Remove(user);
                }

                AppearanceUpdateRequest appearanceUpdate =
                    new AppearanceUpdateRequest
                {
                    UserId        = user,
                    Appearance    = appearance,
                    RequestTime   = DateTime.Now,
                    BakedTextures = bakedTextures,
                    CallBack      = callBack
                };

                _pendingUpdates.Add(user, appearanceUpdate);

                if (!_appearanceUpdateTimer.Enabled)
                {
                    _appearanceUpdateTimer.Enabled = true;
                }
            }
        }
        public void UpdateDatabase(UUID user, AvatarAppearance appearance, Action callBack, Dictionary<UUID, UUID> bakedTextures)
        {
            lock (_pendingUpdates)
            {
                if (_pendingUpdates.ContainsKey(user))
                {
                    _pendingUpdates.Remove(user);
                }

                AppearanceUpdateRequest appearanceUpdate =
                    new AppearanceUpdateRequest
                    {
                        UserId = user,
                        Appearance = appearance,
                        RequestTime = DateTime.Now,
                        BakedTextures = bakedTextures,
                        CallBack = callBack
                    };

                _pendingUpdates.Add(user, appearanceUpdate);

                if (!_appearanceUpdateTimer.Enabled)
                {
                    _appearanceUpdateTimer.Enabled = true;
                }
            }
        }
        public void UpdateDatabase(UUID user, AvatarAppearance appearance, Action callBack, Dictionary<UUID, UUID> bakedTextures)
        {
            lock (_pendingUpdates)
            {
                // m_log.InfoFormat("[LLCV]: Avatar database update ({0}) queued for user {1}", appearance.Serial, user);
                if (_pendingUpdates.ContainsKey(user))
                {
                    _pendingUpdates.Remove(user);
                }

                AppearanceUpdateRequest appearanceUpdate =
                    new AppearanceUpdateRequest
                    {
                        UserId = user,
                        Appearance = appearance,
                        RequestTime = DateTime.Now,
                        BakedTextures = bakedTextures,
                        CallBack = callBack
                    };

                _pendingUpdates.Add(user, appearanceUpdate);

                if (!_appearanceUpdateTimer.Enabled)
                {
                    _appearanceUpdateTimer.Enabled = true;
                }
            }
        }