Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create DisabledEvents.json #212

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

ThatGravyBoat
Copy link
Contributor

@ThatGravyBoat ThatGravyBoat commented Jun 5, 2024

The format is as follows:

For handlers (ie. Events), it is just the class name, if its an inner class of another class it will be as follows:

Outer$Inner

For invokers (ie. the methods that the events are being posted to), it is a a fully qualified method with the paramters also being fully qualified
Example:

at.hannibal2.skyhanni.api.HypixelAPI.onLocationChange(at.hannibal2.skyhanni.events.hypixel.HypixelLocationEvent)

Examples:

{
  "disabledHandlers": [
    "HypixelLocationEvent"
  ],
  "disabledInvokers": [
    "at.hannibal2.skyhanni.api.HypixelAPI.onLocationChange(at.hannibal2.skyhanni.events.hypixel.HypixelLocationEvent)"
  ]
}

@hannibal002 hannibal002 merged commit c4a227b into hannibal002:main Jun 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants