refactor: rename get/set settings to get/set varp
This commit is contained in:
@@ -36,8 +36,8 @@ public class Instructions
|
|||||||
public void init()
|
public void init()
|
||||||
{
|
{
|
||||||
add(LOAD_INT, "load_int", 0, 1);
|
add(LOAD_INT, "load_int", 0, 1);
|
||||||
add(GET_SETTINGS, "get_settings", 0, 1);
|
add(GET_VARP, "get_varp", 0, 1);
|
||||||
add(PUT_SETTINGS, "put_settings", 0, 1);
|
add(PUT_VARP, "put_varp", 0, 1);
|
||||||
add(LOAD_STRING, "load_string", 0, 0, 0, 1);
|
add(LOAD_STRING, "load_string", 0, 0, 0, 1);
|
||||||
add(JUMP, "jump", 0, 0);
|
add(JUMP, "jump", 0, 0);
|
||||||
add(IF_ICMPNE, "if_icmpne", 2, 0);
|
add(IF_ICMPNE, "if_icmpne", 2, 0);
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ package net.runelite.cache.script;
|
|||||||
public class Opcodes
|
public class Opcodes
|
||||||
{
|
{
|
||||||
public static final int LOAD_INT = 0;
|
public static final int LOAD_INT = 0;
|
||||||
public static final int GET_SETTINGS = 1;
|
public static final int GET_VARP = 1;
|
||||||
public static final int PUT_SETTINGS = 2;
|
public static final int PUT_VARP = 2;
|
||||||
public static final int LOAD_STRING = 3;
|
public static final int LOAD_STRING = 3;
|
||||||
public static final int JUMP = 6;
|
public static final int JUMP = 6;
|
||||||
public static final int IF_ICMPNE = 7;
|
public static final int IF_ICMPNE = 7;
|
||||||
|
|||||||
Reference in New Issue
Block a user