Merge pull request #1036 from Joshua-F/refactor/rename-vars

Rename widgetSettings and settings
This commit is contained in:
Adam
2018-03-22 08:49:16 -04:00
committed by GitHub
7 changed files with 16 additions and 40 deletions

View File

@@ -36,8 +36,8 @@ public class Instructions
public void init()
{
add(LOAD_INT, "load_int", 0, 1);
add(GET_SETTINGS, "get_settings", 0, 1);
add(PUT_SETTINGS, "put_settings", 0, 1);
add(GET_VARP, "get_varp", 0, 1);
add(PUT_VARP, "put_varp", 0, 1);
add(LOAD_STRING, "load_string", 0, 0, 0, 1);
add(JUMP, "jump", 0, 0);
add(IF_ICMPNE, "if_icmpne", 2, 0);

View File

@@ -27,8 +27,8 @@ package net.runelite.cache.script;
public class Opcodes
{
public static final int LOAD_INT = 0;
public static final int GET_SETTINGS = 1;
public static final int PUT_SETTINGS = 2;
public static final int GET_VARP = 1;
public static final int PUT_VARP = 2;
public static final int LOAD_STRING = 3;
public static final int JUMP = 6;
public static final int IF_ICMPNE = 7;