Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.rs.game.entity.player.inter;
- import com.rs.game.entity.player.Player;
- /**
- * An interface used to handle the registered in-game clicks for a RuneScape interface with their corresponding identification codes.
- *
- * @author Abdallah Wahidi | Aug 22, 2017 : 10:47:55 PM
- */
- public interface Interface {
- /**
- * This registers when a click is performed on an interface.
- *
- * @param interfaceId The id of the interface.
- *
- * @param buttonId The id of the button clicked.
- *
- * @param slotId The id of the slot.
- *
- * @param itemId The id of the item.
- *
- * @param opcode The opcode used.
- *
- * @param player The player that clicks this interface.
- */
- public void click(int interfaceId, int buttonId, int slotId, int itemId, int opcode, Player player);
- /**
- * Gets and returns the possible IDs of this interface.
- *
- * @return the ids
- */
- public int[] getPossibleIds();
- }
Advertisement
Add Comment
Please, Sign In to add comment