mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-03 00:38:00 +00:00
26 lines
695 B
Java
26 lines
695 B
Java
package org.rev317.min.callback;
|
|
|
|
import org.rev317.min.Loader;
|
|
import org.rev317.min.accessors.Client;
|
|
import org.rev317.min.debug.DActions;
|
|
|
|
/**
|
|
*
|
|
* @author Everel
|
|
*
|
|
*/
|
|
public class MenuAction {
|
|
|
|
public static void intercept(int index) {
|
|
if(DActions.debugActions()) {
|
|
Client client = Loader.getClient();
|
|
int action1 = client.getMenuAction1()[index];
|
|
int action2 = client.getMenuAction2()[index];
|
|
int action3 = client.getMenuAction3()[index];
|
|
int actionId = client.getMenuActionId()[index];
|
|
System.out.println(String.format("[index: %d, action1: %d, action2: %d, action3: %d, id: %d]", index, action1, action2, action3, actionId));
|
|
}
|
|
}
|
|
|
|
}
|