unreal.RigVMOpCode
¶
- class unreal.RigVMOpCode¶
Bases:
unreal.EnumBase
The code for a single operation within the RigVM
C++ Source:
Module: RigVM
File: RigVMByteCode.h
- ARRAY_ADD¶
sets an array element by index (ternary op, in out array, in int32, in element)
- Type
88
- ARRAY_APPEND¶
finds and returns the index of an element (quaternery op, in array, in element, out int32 index, out bool success)
- Type
92
- ARRAY_CLONE¶
appends an array to another (binary op, in out array, in array)
- Type
93
- ARRAY_DIFFERENCE¶
merges two arrays while avoiding duplicates (binary op, in out array, in other array)
- Type
96
- ARRAY_FIND¶
removes an element from an array (binary op, in out array, in inindex)
- Type
91
- ARRAY_GET_AT_INDEX¶
resizes an array (binary op, in out array, in int32)
- Type
86
- ARRAY_GET_NUM¶
clears an array and resets its content
- Type
84
- ARRAY_INSERT¶
adds an element to an array (ternary op, in out array, in element, out int32 index)
- Type
89
- ARRAY_INTERSECTION¶
returns a new array containing elements only found in one array (ternary op, in array, in array, out result)
- Type
97
- ARRAY_ITERATOR¶
clones an array (binary op, in array, out array)
- Type
94
- ARRAY_REMOVE¶
inserts an element to an array (ternary op, in out array, in int32, in element)
- Type
90
- ARRAY_RESET¶
ends the last memory slice / block
- Type
83
- ARRAY_REVERSE¶
returns a new array containing elements found in both of the input arrays (ternary op, in array, in array, out result)
- Type
98
- ARRAY_SET_AT_INDEX¶
returns an array element by index (ternary op, in array, in int32, out element)
- Type
87
- ARRAY_SET_NUM¶
reads and returns the size of an array (binary op, in array, out int32)
- Type
85
- ARRAY_UNION¶
iterates over an array (senary op, in array, out element, out index, out count, out ratio, out continue)
- Type
95
- BEGIN_BLOCK¶
exit the execution loop
- Type
81
- BOOL_FALSE¶
zero the memory of a given register
- Type
66
- BOOL_TRUE¶
set a given register to false
- Type
67
- CHANGE_TYPE¶
jump backwards given a relative instruction index offset based on a condition register
- Type
79
- COPY¶
set a given register to true
- Type
68
- DECREMENT¶
increment a int32 register
- Type
70
- END_BLOCK¶
begins a new memory slice / block
- Type
82
- EQUALS¶
decrement a int32 register
- Type
71
- EXECUTE_0_OPERANDS¶
0
- EXECUTE_10_OPERANDS¶
execute a rig function with 9 operands
- Type
10
- EXECUTE_11_OPERANDS¶
execute a rig function with 10 operands
- Type
11
- EXECUTE_12_OPERANDS¶
execute a rig function with 11 operands
- Type
12
- EXECUTE_13_OPERANDS¶
execute a rig function with 12 operands
- Type
13
- EXECUTE_14_OPERANDS¶
execute a rig function with 13 operands
- Type
14
- EXECUTE_15_OPERANDS¶
execute a rig function with 14 operands
- Type
15
- EXECUTE_16_OPERANDS¶
execute a rig function with 15 operands
- Type
16
- EXECUTE_17_OPERANDS¶
execute a rig function with 16 operands
- Type
17
- EXECUTE_18_OPERANDS¶
execute a rig function with 17 operands
- Type
18
- EXECUTE_19_OPERANDS¶
execute a rig function with 18 operands
- Type
19
- EXECUTE_1_OPERANDS¶
execute a rig function with 0 operands
- Type
1
- EXECUTE_20_OPERANDS¶
execute a rig function with 19 operands
- Type
20
- EXECUTE_21_OPERANDS¶
execute a rig function with 20 operands
- Type
21
- EXECUTE_22_OPERANDS¶
execute a rig function with 21 operands
- Type
22
- EXECUTE_23_OPERANDS¶
execute a rig function with 22 operands
- Type
23
- EXECUTE_24_OPERANDS¶
execute a rig function with 23 operands
- Type
24
- EXECUTE_25_OPERANDS¶
execute a rig function with 24 operands
- Type
25
- EXECUTE_26_OPERANDS¶
execute a rig function with 25 operands
- Type
26
- EXECUTE_27_OPERANDS¶
execute a rig function with 26 operands
- Type
27
- EXECUTE_28_OPERANDS¶
execute a rig function with 27 operands
- Type
28
- EXECUTE_29_OPERANDS¶
execute a rig function with 28 operands
- Type
29
- EXECUTE_2_OPERANDS¶
execute a rig function with 1 operands
- Type
2
- EXECUTE_30_OPERANDS¶
execute a rig function with 29 operands
- Type
30
- EXECUTE_31_OPERANDS¶
execute a rig function with 30 operands
- Type
31
- EXECUTE_32_OPERANDS¶
execute a rig function with 31 operands
- Type
32
- EXECUTE_33_OPERANDS¶
execute a rig function with 32 operands
- Type
33
- EXECUTE_34_OPERANDS¶
execute a rig function with 33 operands
- Type
34
- EXECUTE_35_OPERANDS¶
execute a rig function with 34 operands
- Type
35
- EXECUTE_36_OPERANDS¶
execute a rig function with 35 operands
- Type
36
- EXECUTE_37_OPERANDS¶
execute a rig function with 36 operands
- Type
37
- EXECUTE_38_OPERANDS¶
execute a rig function with 37 operands
- Type
38
- EXECUTE_39_OPERANDS¶
execute a rig function with 38 operands
- Type
39
- EXECUTE_3_OPERANDS¶
execute a rig function with 2 operands
- Type
3
- EXECUTE_40_OPERANDS¶
execute a rig function with 39 operands
- Type
40
- EXECUTE_41_OPERANDS¶
execute a rig function with 40 operands
- Type
41
- EXECUTE_42_OPERANDS¶
execute a rig function with 41 operands
- Type
42
- EXECUTE_43_OPERANDS¶
execute a rig function with 42 operands
- Type
43
- EXECUTE_44_OPERANDS¶
execute a rig function with 43 operands
- Type
44
- EXECUTE_45_OPERANDS¶
execute a rig function with 44 operands
- Type
45
- EXECUTE_46_OPERANDS¶
execute a rig function with 45 operands
- Type
46
- EXECUTE_47_OPERANDS¶
execute a rig function with 46 operands
- Type
47
- EXECUTE_48_OPERANDS¶
execute a rig function with 47 operands
- Type
48
- EXECUTE_49_OPERANDS¶
execute a rig function with 48 operands
- Type
49
- EXECUTE_4_OPERANDS¶
execute a rig function with 3 operands
- Type
4
- EXECUTE_50_OPERANDS¶
execute a rig function with 49 operands
- Type
50
- EXECUTE_51_OPERANDS¶
execute a rig function with 50 operands
- Type
51
- EXECUTE_52_OPERANDS¶
execute a rig function with 51 operands
- Type
52
- EXECUTE_53_OPERANDS¶
execute a rig function with 52 operands
- Type
53
- EXECUTE_54_OPERANDS¶
execute a rig function with 53 operands
- Type
54
- EXECUTE_55_OPERANDS¶
execute a rig function with 54 operands
- Type
55
- EXECUTE_56_OPERANDS¶
execute a rig function with 55 operands
- Type
56
- EXECUTE_57_OPERANDS¶
execute a rig function with 56 operands
- Type
57
- EXECUTE_58_OPERANDS¶
execute a rig function with 57 operands
- Type
58
- EXECUTE_59_OPERANDS¶
execute a rig function with 58 operands
- Type
59
- EXECUTE_5_OPERANDS¶
execute a rig function with 4 operands
- Type
5
- EXECUTE_60_OPERANDS¶
execute a rig function with 59 operands
- Type
60
- EXECUTE_61_OPERANDS¶
execute a rig function with 60 operands
- Type
61
- EXECUTE_62_OPERANDS¶
execute a rig function with 61 operands
- Type
62
- EXECUTE_63_OPERANDS¶
execute a rig function with 62 operands
- Type
63
- EXECUTE_64_OPERANDS¶
execute a rig function with 63 operands
- Type
64
- EXECUTE_6_OPERANDS¶
execute a rig function with 5 operands
- Type
6
- EXECUTE_7_OPERANDS¶
execute a rig function with 6 operands
- Type
7
- EXECUTE_8_OPERANDS¶
execute a rig function with 7 operands
- Type
8
- EXECUTE_9_OPERANDS¶
execute a rig function with 8 operands
- Type
9
- EXIT¶
change the type of a register (deprecated)
- Type
80
- FIRST_ARRAY_OP_CODE¶
83
- INCREMENT¶
copy the content of one register to another
- Type
69
- INVALID¶
returns the reverse of the input array (unary op, in out array)
- Type
99
- JUMP_ABSOLUTE¶
fill a bool register with the result of (A != B)
- Type
73
- JUMP_ABSOLUTE_IF¶
jump backwards given a relative instruction index offset
- Type
76
- JUMP_BACKWARD¶
jump forwards given a relative instruction index offset
- Type
75
- JUMP_BACKWARD_IF¶
jump forwards given a relative instruction index offset based on a condition register
- Type
78
- JUMP_FORWARD¶
jump to an absolute instruction index
- Type
74
- JUMP_FORWARD_IF¶
jump to an absolute instruction index based on a condition register
- Type
77
- LAST_ARRAY_OP_CODE¶
98
- NOT_EQUALS¶
fill a bool register with the result of (A == B)
- Type
72
- ZERO¶
execute a rig function with 64 operands
- Type
65