ActionHandler

public class ActionHandler

Constructors

Link copied to clipboard
public void ActionHandler()

Functions

Link copied to clipboard
public void push(Action action, ActionInformation information)
Push an action to all subscribers.
Link copied to clipboard
public void pushFromConfig(HashMap<String, List<String>> actionTypes, ActionInformation information)
Push an action to all subscribers from the config.
Link copied to clipboard
public void pushPhysicalUnwrap(Wrap wrap, Player player)
Push all physical wrap actions to all subscribers.
Link copied to clipboard
public void pushPhysicalWrap(Wrap wrap, Player player)
Push all physical unwrap actions to all subscribers.
Link copied to clipboard
public void pushPreview(Wrap wrap, Player player)
Push all preview actions to all subscribers from the config.
Link copied to clipboard
public void pushUnwrap(Wrap wrap, Player player)
Push all unwrap actions to all subscribers.
Link copied to clipboard
public void pushVirtualUnwrap(Wrap wrap, Player player)
Push all virtual wrap actions to all subscribers.
Link copied to clipboard
public void pushVirtualWrap(Wrap wrap, Player player)
Push all virtual unwrap actions to all subscribers.
Link copied to clipboard
public void pushWrap(Wrap wrap, Player player)
Push all wrap actions to all subscribers.
Link copied to clipboard
public void subscribe(Action action, ActionMethod method)
Subscribe a method to an action.