Class DiscordPresence
java.lang.Object
meteordevelopment.meteorclient.systems.modules.Module
meteordevelopment.meteorclient.systems.modules.misc.DiscordPresence
- All Implemented Interfaces:
Comparable<Module>,ISerializable<Module>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class meteordevelopment.meteorclient.systems.modules.Module
autoSubscribe, category, chatFeedback, color, description, favorite, keybind, mc, name, runInMainMenu, serialize, settings, title, toggleOnBindRelease -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic voidregisterCustomState(String packageName, String state) Registers a custom state to be used when the current screen is a class in the specified package.static voidunregisterCustomState(String packageName) The package name must match exactly to the one provided throughregisterCustomState(String, String).
-
Field Details
-
customStates
-
-
Constructor Details
-
DiscordPresence
public DiscordPresence()
-
-
Method Details
-
registerCustomState
Registers a custom state to be used when the current screen is a class in the specified package. -
unregisterCustomState
The package name must match exactly to the one provided throughregisterCustomState(String, String). -
onActivate
public void onActivate()- Overrides:
onActivatein classModule
-
onDeactivate
public void onDeactivate()- Overrides:
onDeactivatein classModule
-
getWidget
-