SHARE
TWEET

Untitled

a guest Jun 24th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  2. // *.txt files are not loaded automatically by TurboHUD
  3. // you have to change this file's extension to .cs to enable it
  4. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5.  
  6. using Turbo.Plugins.Default;
  7.  
  8. namespace Turbo.Plugins.User
  9. {
  10.  
  11.     public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
  12.     {
  13.  
  14.         public PluginEnablerOrDisablerPlugin()
  15.         {
  16.             Enabled = true;
  17.         }
  18.  
  19.         public override void Load(IController hud)
  20.         {
  21.             base.Load(hud);
  22.         }
  23.  
  24.         // "Customize" methods are automatically executed after every plugin is loaded.
  25.         // So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
  26.         // Make sure you test the return value against null!
  27.         public void Customize()
  28.         {
  29.             Hud.TogglePlugin    <ParagonCapturePlugin>          (false);
  30.            
  31.             Hud.GetPlugin<InventoryAndStashPlugin>().LooksGoodDisplayEnabled     = false;
  32.             Hud.GetPlugin<InventoryAndStashPlugin>().DefinitelyBadDisplayEnabled     = false;
  33.             Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled     = false;
  34.         }
  35.  
  36.     }
  37.  
  38. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top