Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Use 'using static' for ApiFunctionManager function calls #86

Open
LeagueSandboxBot opened this issue Oct 3, 2018 · 0 comments
Open
Labels
E-easy I-cleanup No impact; the issue is one of maintainability or tidiness S-verified This issue has been verified

Comments

@LeagueSandboxBot
Copy link

C# 6 and above allow you to import static members of a class into the local scope via using static declarations. Using this feature would allow us to not have to type ApiFunctionManager.AddBuffHudVisual() or ApiFunctionManager.AddParticleTarget() everywhere, and would allow us to use AddBuddHudVisual() or AddParticleTarget() directly, which I believe would drastically improve readibility.


Beep, boop, I'm a bot! This issue was created by @Pokémonred200 in #development.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E-easy I-cleanup No impact; the issue is one of maintainability or tidiness S-verified This issue has been verified
Projects
None yet
Development

No branches or pull requests

2 participants