Add more script opcodes
This commit is contained in:
@@ -103,6 +103,7 @@ public class Instructions
|
||||
add(CC_RESUME_PAUSEBUTTON, "cc_resume_pausebutton");
|
||||
add(CC_SETFILLCOLOUR, "cc_setfillcolour");
|
||||
add(CC_SETLINEDIRECTION, "cc_setlinedirection");
|
||||
add(CC_SETMODELTRANSPARENT, "cc_setmodeltransparent");
|
||||
add(CC_SETOBJECT, "cc_setobject");
|
||||
add(CC_SETNPCHEAD, "cc_setnpchead");
|
||||
add(CC_SETPLAYERHEAD_SELF, "cc_setplayerhead_self");
|
||||
@@ -116,6 +117,12 @@ public class Instructions
|
||||
add(CC_SETOPBASE, "cc_setopbase");
|
||||
add(CC_SETTARGETVERB, "cc_settargetverb");
|
||||
add(CC_CLEAROPS, "cc_clearops");
|
||||
add(CC_SETOPKEY, "cc_setopkey");
|
||||
add(CC_SETOPTKEY, "cc_setoptkey");
|
||||
add(CC_SETOPKEYRATE, "cc_setopkeyrate");
|
||||
add(CC_SETOPTKEYRATE, "cc_setoptkeyrate");
|
||||
add(CC_SETOPKEYIGNOREHELD, "cc_setopkeyignoreheld");
|
||||
add(CC_SETOPTKEYIGNOREHELD, "cc_setoptkeyignoreheld");
|
||||
add(CC_SETONCLICK, "cc_setonclick");
|
||||
add(CC_SETONHOLD, "cc_setonhold");
|
||||
add(CC_SETONRELEASE, "cc_setonrelease");
|
||||
@@ -160,6 +167,7 @@ public class Instructions
|
||||
add(CC_GETTRANS, "cc_gettrans");
|
||||
add(CC_GETCOLOUR, "cc_getcolour");
|
||||
add(CC_GETFILLCOLOUR, "cc_getfillcolour");
|
||||
add(CC_GETMODELTRANSPARENT, "cc_getmodeltransparent");
|
||||
add(CC_GETINVOBJECT, "cc_getinvobject");
|
||||
add(CC_GETINVCOUNT, "cc_getinvcount");
|
||||
add(CC_GETID, "cc_getid");
|
||||
@@ -195,6 +203,7 @@ public class Instructions
|
||||
add(IF_RESUME_PAUSEBUTTON, "if_resume_pausebutton");
|
||||
add(IF_SETFILLCOLOUR, "if_setfillcolour");
|
||||
add(IF_SETLINEDIRECTION, "if_setlinedirection");
|
||||
add(IF_SETMODELTRANSPARENT, "if_setmodeltransparent");
|
||||
add(IF_SETOBJECT, "if_setobject");
|
||||
add(IF_SETNPCHEAD, "if_setnpchead");
|
||||
add(IF_SETPLAYERHEAD_SELF, "if_setplayerhead_self");
|
||||
@@ -258,6 +267,7 @@ public class Instructions
|
||||
add(IF_GETTRANS, "if_gettrans");
|
||||
add(IF_GETCOLOUR, "if_getcolour");
|
||||
add(IF_GETFILLCOLOUR, "if_getfillcolour");
|
||||
add(IF_GETMODELTRANSPARENT, "if_getmodeltransparent");
|
||||
add(IF_GETINVOBJECT, "if_getinvobject");
|
||||
add(IF_GETINVCOUNT, "if_getinvcount");
|
||||
add(IF_HASSUB, "if_hassub");
|
||||
@@ -290,6 +300,9 @@ public class Instructions
|
||||
add(GETTAPTODROP, "gettaptodrop");
|
||||
add(SETOCULUSORBSPEED, "setoculusorbspeed");
|
||||
add(GETCANVASSIZE, "getcanvassize");
|
||||
add(MOBILE_SETFPS, "mobile_setfps");
|
||||
add(MOBILE_OPENSTORE, "mobile_openstore");
|
||||
add(MOBILE_OPENSTORECATEGORY, "mobile_openstorecategory");
|
||||
add(SETHIDEUSERNAME, "sethideusername");
|
||||
add(GETHIDEUSERNAME, "gethideusername");
|
||||
add(SETREMEMBERUSERNAME, "setrememberusername");
|
||||
@@ -474,6 +487,7 @@ public class Instructions
|
||||
add(STRUCT_PARAM, "struct_param");
|
||||
add(ON_MOBILE, "on_mobile");
|
||||
add(CLIENTTYPE, "clienttype");
|
||||
add(MOBILE_KEYBOARDHIDE, "mobile_keyboardhide");
|
||||
add(BATTERYLEVEL, "batterylevel");
|
||||
add(BATTERYCHARGING, "batterycharging");
|
||||
add(WIFIAVAILABLE, "wifiavailable");
|
||||
@@ -511,6 +525,8 @@ public class Instructions
|
||||
add(MEC_TEXTSIZE, "mec_textsize");
|
||||
add(MEC_CATEGORY, "mec_category");
|
||||
add(MEC_SPRITE, "mec_sprite");
|
||||
add(WORLDMAP_ELEMENT, "worldmap_element");
|
||||
add(WORLDMAP_ELEMENTCOORD, "worldmap_elementcoord");
|
||||
}
|
||||
|
||||
protected void add(int opcode, String name)
|
||||
|
||||
@@ -94,6 +94,7 @@ public class Opcodes
|
||||
public static final int CC_RESUME_PAUSEBUTTON = 1121;
|
||||
public static final int CC_SETFILLCOLOUR = 1123;
|
||||
public static final int CC_SETLINEDIRECTION = 1126;
|
||||
public static final int CC_SETMODELTRANSPARENT = 1127;
|
||||
public static final int CC_SETOBJECT = 1200;
|
||||
public static final int CC_SETNPCHEAD = 1201;
|
||||
public static final int CC_SETPLAYERHEAD_SELF = 1202;
|
||||
@@ -107,6 +108,12 @@ public class Opcodes
|
||||
public static final int CC_SETOPBASE = 1305;
|
||||
public static final int CC_SETTARGETVERB = 1306;
|
||||
public static final int CC_CLEAROPS = 1307;
|
||||
public static final int CC_SETOPKEY = 1350;
|
||||
public static final int CC_SETOPTKEY = 1351;
|
||||
public static final int CC_SETOPKEYRATE = 1352;
|
||||
public static final int CC_SETOPTKEYRATE = 1353;
|
||||
public static final int CC_SETOPKEYIGNOREHELD = 1354;
|
||||
public static final int CC_SETOPTKEYIGNOREHELD = 1355;
|
||||
public static final int CC_SETONCLICK = 1400;
|
||||
public static final int CC_SETONHOLD = 1401;
|
||||
public static final int CC_SETONRELEASE = 1402;
|
||||
@@ -151,6 +158,7 @@ public class Opcodes
|
||||
public static final int CC_GETTRANS = 1609;
|
||||
public static final int CC_GETCOLOUR = 1611;
|
||||
public static final int CC_GETFILLCOLOUR = 1612;
|
||||
public static final int CC_GETMODELTRANSPARENT = 1614;
|
||||
public static final int CC_GETINVOBJECT = 1700;
|
||||
public static final int CC_GETINVCOUNT = 1701;
|
||||
public static final int CC_GETID = 1702;
|
||||
@@ -186,6 +194,7 @@ public class Opcodes
|
||||
public static final int IF_RESUME_PAUSEBUTTON = 2121;
|
||||
public static final int IF_SETFILLCOLOUR = 2123;
|
||||
public static final int IF_SETLINEDIRECTION = 2126;
|
||||
public static final int IF_SETMODELTRANSPARENT = 2127;
|
||||
public static final int IF_SETOBJECT = 2200;
|
||||
public static final int IF_SETNPCHEAD = 2201;
|
||||
public static final int IF_SETPLAYERHEAD_SELF = 2202;
|
||||
@@ -249,6 +258,7 @@ public class Opcodes
|
||||
public static final int IF_GETTRANS = 2609;
|
||||
public static final int IF_GETCOLOUR = 2611;
|
||||
public static final int IF_GETFILLCOLOUR = 2612;
|
||||
public static final int IF_GETMODELTRANSPARENT = 2614;
|
||||
public static final int IF_GETINVOBJECT = 2700;
|
||||
public static final int IF_GETINVCOUNT = 2701;
|
||||
public static final int IF_HASSUB = 2702;
|
||||
@@ -281,6 +291,9 @@ public class Opcodes
|
||||
public static final int GETTAPTODROP = 3128;
|
||||
public static final int SETOCULUSORBSPEED = 3129;
|
||||
public static final int GETCANVASSIZE = 3132;
|
||||
public static final int MOBILE_SETFPS = 3133;
|
||||
public static final int MOBILE_OPENSTORE = 3134;
|
||||
public static final int MOBILE_OPENSTORECATEGORY = 3135;
|
||||
public static final int SETHIDEUSERNAME = 3141;
|
||||
public static final int GETHIDEUSERNAME = 3142;
|
||||
public static final int SETREMEMBERUSERNAME = 3143;
|
||||
@@ -465,6 +478,7 @@ public class Opcodes
|
||||
public static final int STRUCT_PARAM = 6516;
|
||||
public static final int ON_MOBILE = 6518;
|
||||
public static final int CLIENTTYPE = 6519;
|
||||
public static final int MOBILE_KEYBOARDHIDE = 6521;
|
||||
public static final int BATTERYLEVEL = 6524;
|
||||
public static final int BATTERYCHARGING = 6525;
|
||||
public static final int WIFIAVAILABLE = 6526;
|
||||
@@ -502,4 +516,6 @@ public class Opcodes
|
||||
public static final int MEC_TEXTSIZE = 6694;
|
||||
public static final int MEC_CATEGORY = 6695;
|
||||
public static final int MEC_SPRITE = 6696;
|
||||
public static final int WORLDMAP_ELEMENT = 6697;
|
||||
public static final int WORLDMAP_ELEMENTCOORD = 6699;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user