unreal.RigVMOpCode

class unreal.RigVMOpCode

Bases: EnumBase

The code for a single operation within the RigVM

C++ Source:

  • Module: RigVM

  • File: RigVMByteCode.h

ARRAY_ADD: RigVMOpCode

sets an array element by index (ternary op, in out array, in int32, in element)

Type:

88

ARRAY_APPEND: RigVMOpCode

finds and returns the index of an element (quaternery op, in array, in element, out int32 index, out bool success)

Type:

92

ARRAY_CLONE: RigVMOpCode

appends an array to another (binary op, in out array, in array)

Type:

93

ARRAY_DIFFERENCE: RigVMOpCode

merges two arrays while avoiding duplicates (binary op, in out array, in other array)

Type:

96

ARRAY_FIND: RigVMOpCode

removes an element from an array (binary op, in out array, in inindex)

Type:

91

ARRAY_GET_AT_INDEX: RigVMOpCode

resizes an array (binary op, in out array, in int32)

Type:

86

ARRAY_GET_NUM: RigVMOpCode

clears an array and resets its content

Type:

84

ARRAY_INSERT: RigVMOpCode

adds an element to an array (ternary op, in out array, in element, out int32 index)

Type:

89

ARRAY_INTERSECTION: RigVMOpCode

returns a new array containing elements only found in one array (ternary op, in array, in array, out result)

Type:

97

ARRAY_ITERATOR: RigVMOpCode

clones an array (binary op, in array, out array)

Type:

94

ARRAY_REMOVE: RigVMOpCode

inserts an element to an array (ternary op, in out array, in int32, in element)

Type:

90

ARRAY_RESET: RigVMOpCode

ends the last memory slice / block

Type:

83

ARRAY_REVERSE: RigVMOpCode

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: RigVMOpCode

returns an array element by index (ternary op, in array, in int32, out element)

Type:

87

ARRAY_SET_NUM: RigVMOpCode

reads and returns the size of an array (binary op, in array, out int32)

Type:

85

ARRAY_UNION: RigVMOpCode

iterates over an array (senary op, in array, out element, out index, out count, out ratio, out continue)

Type:

95

BEGIN_BLOCK: RigVMOpCode

exit the execution loop

Type:

81

BOOL_FALSE: RigVMOpCode

zero the memory of a given register

Type:

66

BOOL_TRUE: RigVMOpCode

set a given register to false

Type:

67

CHANGE_TYPE: RigVMOpCode

jump backwards given a relative instruction index offset based on a condition register

Type:

79

COPY: RigVMOpCode

set a given register to true

Type:

68

DECREMENT: RigVMOpCode

increment a int32 register

Type:

70

END_BLOCK: RigVMOpCode

begins a new memory slice / block

Type:

82

EQUALS: RigVMOpCode

decrement a int32 register

Type:

71

EXECUTE_0_OPERANDS: RigVMOpCode

0

EXECUTE_10_OPERANDS: RigVMOpCode

execute a rig function with 9 operands

Type:

10

EXECUTE_11_OPERANDS: RigVMOpCode

execute a rig function with 10 operands

Type:

11

EXECUTE_12_OPERANDS: RigVMOpCode

execute a rig function with 11 operands

Type:

12

EXECUTE_13_OPERANDS: RigVMOpCode

execute a rig function with 12 operands

Type:

13

EXECUTE_14_OPERANDS: RigVMOpCode

execute a rig function with 13 operands

Type:

14

EXECUTE_15_OPERANDS: RigVMOpCode

execute a rig function with 14 operands

Type:

15

EXECUTE_16_OPERANDS: RigVMOpCode

execute a rig function with 15 operands

Type:

16

EXECUTE_17_OPERANDS: RigVMOpCode

execute a rig function with 16 operands

Type:

17

EXECUTE_18_OPERANDS: RigVMOpCode

execute a rig function with 17 operands

Type:

18

EXECUTE_19_OPERANDS: RigVMOpCode

execute a rig function with 18 operands

Type:

19

EXECUTE_1_OPERANDS: RigVMOpCode

execute a rig function with 0 operands

Type:

1

EXECUTE_20_OPERANDS: RigVMOpCode

execute a rig function with 19 operands

Type:

20

EXECUTE_21_OPERANDS: RigVMOpCode

execute a rig function with 20 operands

Type:

21

EXECUTE_22_OPERANDS: RigVMOpCode

execute a rig function with 21 operands

Type:

22

EXECUTE_23_OPERANDS: RigVMOpCode

execute a rig function with 22 operands

Type:

23

EXECUTE_24_OPERANDS: RigVMOpCode

execute a rig function with 23 operands

Type:

24

EXECUTE_25_OPERANDS: RigVMOpCode

execute a rig function with 24 operands

Type:

25

EXECUTE_26_OPERANDS: RigVMOpCode

execute a rig function with 25 operands

Type:

26

EXECUTE_27_OPERANDS: RigVMOpCode

execute a rig function with 26 operands

Type:

27

EXECUTE_28_OPERANDS: RigVMOpCode

execute a rig function with 27 operands

Type:

28

EXECUTE_29_OPERANDS: RigVMOpCode

execute a rig function with 28 operands

Type:

29

EXECUTE_2_OPERANDS: RigVMOpCode

execute a rig function with 1 operands

Type:

2

EXECUTE_30_OPERANDS: RigVMOpCode

execute a rig function with 29 operands

Type:

30

EXECUTE_31_OPERANDS: RigVMOpCode

execute a rig function with 30 operands

Type:

31

EXECUTE_32_OPERANDS: RigVMOpCode

execute a rig function with 31 operands

Type:

32

EXECUTE_33_OPERANDS: RigVMOpCode

execute a rig function with 32 operands

Type:

33

EXECUTE_34_OPERANDS: RigVMOpCode

execute a rig function with 33 operands

Type:

34

EXECUTE_35_OPERANDS: RigVMOpCode

execute a rig function with 34 operands

Type:

35

EXECUTE_36_OPERANDS: RigVMOpCode

execute a rig function with 35 operands

Type:

36

EXECUTE_37_OPERANDS: RigVMOpCode

execute a rig function with 36 operands

Type:

37

EXECUTE_38_OPERANDS: RigVMOpCode

execute a rig function with 37 operands

Type:

38

EXECUTE_39_OPERANDS: RigVMOpCode

execute a rig function with 38 operands

Type:

39

EXECUTE_3_OPERANDS: RigVMOpCode

execute a rig function with 2 operands

Type:

3

EXECUTE_40_OPERANDS: RigVMOpCode

execute a rig function with 39 operands

Type:

40

EXECUTE_41_OPERANDS: RigVMOpCode

execute a rig function with 40 operands

Type:

41

EXECUTE_42_OPERANDS: RigVMOpCode

execute a rig function with 41 operands

Type:

42

EXECUTE_43_OPERANDS: RigVMOpCode

execute a rig function with 42 operands

Type:

43

EXECUTE_44_OPERANDS: RigVMOpCode

execute a rig function with 43 operands

Type:

44

EXECUTE_45_OPERANDS: RigVMOpCode

execute a rig function with 44 operands

Type:

45

EXECUTE_46_OPERANDS: RigVMOpCode

execute a rig function with 45 operands

Type:

46

EXECUTE_47_OPERANDS: RigVMOpCode

execute a rig function with 46 operands

Type:

47

EXECUTE_48_OPERANDS: RigVMOpCode

execute a rig function with 47 operands

Type:

48

EXECUTE_49_OPERANDS: RigVMOpCode

execute a rig function with 48 operands

Type:

49

EXECUTE_4_OPERANDS: RigVMOpCode

execute a rig function with 3 operands

Type:

4

EXECUTE_50_OPERANDS: RigVMOpCode

execute a rig function with 49 operands

Type:

50

EXECUTE_51_OPERANDS: RigVMOpCode

execute a rig function with 50 operands

Type:

51

EXECUTE_52_OPERANDS: RigVMOpCode

execute a rig function with 51 operands

Type:

52

EXECUTE_53_OPERANDS: RigVMOpCode

execute a rig function with 52 operands

Type:

53

EXECUTE_54_OPERANDS: RigVMOpCode

execute a rig function with 53 operands

Type:

54

EXECUTE_55_OPERANDS: RigVMOpCode

execute a rig function with 54 operands

Type:

55

EXECUTE_56_OPERANDS: RigVMOpCode

execute a rig function with 55 operands

Type:

56

EXECUTE_57_OPERANDS: RigVMOpCode

execute a rig function with 56 operands

Type:

57

EXECUTE_58_OPERANDS: RigVMOpCode

execute a rig function with 57 operands

Type:

58

EXECUTE_59_OPERANDS: RigVMOpCode

execute a rig function with 58 operands

Type:

59

EXECUTE_5_OPERANDS: RigVMOpCode

execute a rig function with 4 operands

Type:

5

EXECUTE_60_OPERANDS: RigVMOpCode

execute a rig function with 59 operands

Type:

60

EXECUTE_61_OPERANDS: RigVMOpCode

execute a rig function with 60 operands

Type:

61

EXECUTE_62_OPERANDS: RigVMOpCode

execute a rig function with 61 operands

Type:

62

EXECUTE_63_OPERANDS: RigVMOpCode

execute a rig function with 62 operands

Type:

63

EXECUTE_64_OPERANDS: RigVMOpCode

execute a rig function with 63 operands

Type:

64

EXECUTE_6_OPERANDS: RigVMOpCode

execute a rig function with 5 operands

Type:

6

EXECUTE_7_OPERANDS: RigVMOpCode

execute a rig function with 6 operands

Type:

7

EXECUTE_8_OPERANDS: RigVMOpCode

execute a rig function with 7 operands

Type:

8

EXECUTE_9_OPERANDS: RigVMOpCode

execute a rig function with 8 operands

Type:

9

EXIT: RigVMOpCode

change the type of a register (deprecated)

Type:

80

FIRST_ARRAY_OP_CODE: RigVMOpCode

83

INCREMENT: RigVMOpCode

copy the content of one register to another

Type:

69

INVALID: RigVMOpCode

invokes an entry from the entry list

Type:

100

INVOKE_ENTRY: RigVMOpCode

returns the reverse of the input array (unary op, in out array)

Type:

99

JUMP_ABSOLUTE: RigVMOpCode

fill a bool register with the result of (A != B)

Type:

73

JUMP_ABSOLUTE_IF: RigVMOpCode

jump backwards given a relative instruction index offset

Type:

76

JUMP_BACKWARD: RigVMOpCode

jump forwards given a relative instruction index offset

Type:

75

JUMP_BACKWARD_IF: RigVMOpCode

jump forwards given a relative instruction index offset based on a condition register

Type:

78

JUMP_FORWARD: RigVMOpCode

jump to an absolute instruction index

Type:

74

JUMP_FORWARD_IF: RigVMOpCode

jump to an absolute instruction index based on a condition register

Type:

77

LAST_ARRAY_OP_CODE: RigVMOpCode

98

NOT_EQUALS: RigVMOpCode

fill a bool register with the result of (A == B)

Type:

72

ZERO: RigVMOpCode

execute a rig function with 64 operands

Type:

65