Beispiel #1
0
 private void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
 {
     try
     {
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
Beispiel #2
0
 private void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
 {
     try
     {
         // Unsubscribe to events here, but know that this event is not gauranteed to happen. I've never seen it not fire though.
         // This is not the proper place to free up resources, but... its the easy way. It's not proper because of above statement.
         Globals.Core.WorldFilter.ChangeObject -= new EventHandler <ChangeObjectEventArgs>(WorldFilter_ChangeObject2);
     }
     catch (Exception ex) { Util.LogError(ex); }
 }
Beispiel #3
0
        void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
        {
            try
            {
                if (!Settings.SettingsManager.InventoryManagement.InventoryLogger.Value)
                {
                    return;
                }

                DumpInventoryToFile();
            }
            catch (Exception ex) { Debug.LogException(ex); }
        }
Beispiel #4
0
        private void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
        {
            try
            {
                // Unsubscribe to events here, but know that this event is not gauranteed to happen. I've never seen it not fire though.

                //Stop anything currently going on
                CharProfile.Policy.Stop();
                spellManager.Stop();
                //Remove events
                masterProfileWatcher.Changed -= RequestReload;
                charProfileWatcher.Changed   -= RequestReload;
                Globals.Core.CommandLineText -= Core_CommandLineText;
            }
            catch (Exception ex) { Util.LogError(ex); }
        }
Beispiel #5
0
        private void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
        {
            try
            {
                // This is not the proper place to free up resources...
                Globals.Core.WorldFilter.ChangeObject -= new EventHandler <ChangeObjectEventArgs>(WorldFilter_ChangeObject2);
                CoreManager.Current.CommandLineText   -= new EventHandler <Decal.Adapter.ChatParserInterceptEventArgs>(this.Core_CommandLineText);
                //CoreManager.Current.EchoFilter.ServerDispatch += new EventHandler<NetworkMessageEventArgs>(this.EchoFilter_NetworkMessage);
                CoreManager.Current.ChatBoxMessage           -= new EventHandler <Decal.Adapter.ChatTextInterceptEventArgs>(this.Core_ChatBoxMessage);
                CoreManager.Current.WorldFilter.CreateObject -= new EventHandler <CreateObjectEventArgs>(this.WorldFilter_CreateObject);

                /*
                 * CoreManager.Current.WorldFilter.ReleaseObject -= new EventHandler<ReleaseObjectEventArgscorn pep>(this.WorldFilter_ReleaseObject);
                 * CoreManager.Current.CharacterFilter.LoginComplete -= new EventHandler(this.CharacterFilter_LoginComplete_VHS);
                 * CoreManager.Current.ItemDestroyed -= new EventHandler<ItemDestroyedEventArgs>(ItemDestroyed_EventArgs);
                 * CoreManager.Current.WorldFilter.ChangeObject -= new EventHandler<ChangeObjectEventArgs>(ChangeObject_EventArgs);
                 */
            }
            catch (Exception ex) { Util.LogError(ex); }
        }
Beispiel #6
0
 private void CharacterFilter_Logoff(object sender, Decal.Adapter.Wrappers.LogoffEventArgs e)
 {
 }