|
AmpHelper
|
The base interface for all tweaks. More...
Public Member Functions | |
| ITweak | SetPath (string path) |
| Sets the path to the unpacked game files More... | |
| bool | IsEnabled () |
| Checks if the tweak is enabled More... | |
| void | EnableTweak () |
| Enables the tweak More... | |
| void | DisableTweak () |
| Disables the tweak More... | |
Static Public Member Functions | |
| static IEnumerable< InstantiableTweakInfo > | GetTweaks (AppDomain domain=null) |
| Finds all classes conforming to ITweak in the domain. More... | |
The base interface for all tweaks.
Classes implementing this interface should add the Attributes.TweakInfo attribute.
| void AmpHelper.Interfaces.ITweak.DisableTweak | ( | ) |
Disables the tweak
Implemented in AmpHelper.Tweaks.UnlockAllTweak, and AmpHelper.Tweaks.UnlockFpsTweak.
| void AmpHelper.Interfaces.ITweak.EnableTweak | ( | ) |
Enables the tweak
Implemented in AmpHelper.Tweaks.UnlockAllTweak, and AmpHelper.Tweaks.UnlockFpsTweak.
|
inlinestatic |
Finds all classes conforming to ITweak in the domain.
| domain | The domain to search, or the current domain if left null. |
| bool AmpHelper.Interfaces.ITweak.IsEnabled | ( | ) |
Checks if the tweak is enabled
Implemented in AmpHelper.Tweaks.UnlockAllTweak, and AmpHelper.Tweaks.UnlockFpsTweak.
| ITweak AmpHelper.Interfaces.ITweak.SetPath | ( | string | path | ) |
Sets the path to the unpacked game files
| path | Path to the unpacked game files |
Implemented in AmpHelper.Tweaks.UnlockAllTweak, and AmpHelper.Tweaks.UnlockFpsTweak.