Interface Contribution
- All Superinterfaces:
Identified
A hook handler or service replacement an addon contributed. The player can turn it off in the Hooks window; one
that throws is turned off for the session (and the call goes on to the next). Its
Identified.id() is made from the
addon's namespace, the target and the label, so the player's choice sticks across restarts.-
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Whether the player left it on (saved).booleanfailed()Whether it threw and was turned off until the game restarts.label()What it does, as the addon put it ("Smooth turns").match()When it applies: for which callers, on which anti-cheat profile and server.voidsetEnabled(boolean enabled) Turns it on or off, as the Hooks window does; saved at once.target()Methods inherited from interface Identified
id
-
Method Details
-
target
-
label
String label()What it does, as the addon put it ("Smooth turns"). -
match
Match match()When it applies: for which callers, on which anti-cheat profile and server. -
enabled
boolean enabled()Whether the player left it on (saved). -
setEnabled
void setEnabled(boolean enabled) Turns it on or off, as the Hooks window does; saved at once. Hook chains and the replacement each service uses are worked out again, so a replacement is started or stopped right away. -
failed
boolean failed()Whether it threw and was turned off until the game restarts.
-