-
Member
Skillbars DPS remove
Ive trying to remove these things..
Imgur: The magic of the Internet
Ive looking all plugins settings and i cant find it... I would like any help, this is the last one thing i wish to setting at mine plugins.
Last edited by M1SHAKE; 03-09-2019 at 01:30 AM.
-
Member
-
Contributor
add the following in PluginEnablerOrDisablerPlugin.cs
Hud.GetPlugin<OriginalSkillBarPlugin>().SkillPainter.EnableSkillDpsBar = false;
Hud.GetPlugin<OriginalSkillBarPlugin>().SkillPainter.EnableDetailedDpsHint = false;
-
Member
-
Member
Hi s4000,
Can you tell me the differences between your code
Hud.GetPlugin<OriginalSkillBarPlugin>().SkillPainter.EnableSkillDpsBar = false;
and this code:
Hud.TogglePlugin<SkillPainter.EnableSkillDpsBar>(false);
? Thanks!
-
Contributor
T GetPlugin<T>() where T : IPlugin;
void RunOnPlugin<T>(Action<T> action) where T : IPlugin;
void TogglePlugin<T>(bool enabled) where T : IPlugin;
-
Legendary
Originally Posted by
gksgudtjr
Hi s4000,
Can you tell me the differences between your code
Hud.GetPlugin<OriginalSkillBarPlugin>().SkillPainter.EnableSkillDpsBar = false;
and this code:
Hud.TogglePlugin<SkillPainter.EnableSkillDpsBar>(false);
? Thanks!
I guess you mean::
Code:
Hud.GetPlugin<OriginalSkillBarPlugin>().SkillPainter.EnableSkillDpsBar = false;
Hud.GetPlugin<OriginalSkillBarPlugin>().SkillPainter.EnableDetailedDpsHint = false;
and that
Code:
Hud.GetPlugin<OriginalSkillBarPlugin>().Enabled = false;
similar to
Code:
Hud.TogglePlugin<OriginalSkillBarPlugin>(false);
The second code deactivates the entire OriginalSkillBarPlugin plugin, the first only deactivates parts (recommended or I think you won't see the cooldowns)
In other words, the second assigns false to Enabled and the first assigns false to SkillPainter.EnableSkillDpsBar and SkillPainter.EnableDetailedDpsHint , in the plugin.
Last edited by RNN; 09-29-2019 at 08:44 AM.
-
Post Thanks / Like - 1 Thanks
gksgudtjr (1 members gave Thanks to RNN for this useful post)
-
Member
Ah ha! So the first line of the code is to edit a specific part of the plugin, and the second is to turn on or off the plugin itself! Got it. Thank you! =)