UE2:Object operators (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:59, 1 December 2008 by Wormbo (talk | contribs) (grouped operators by type)
UT2004 Object (operators)
Object operators in other games:
Other member categories for this class:

Operators below are grouped by type and sorted by precedence.

Apart from the operators listed here, there are also a few implicitly declared operators, like assignment and generic struct (in)equality.

Bool operators

!bool

native(129) static final preoperator bool ! (bool A)


bool == bool

{{{1}}}


bool != bool

{{{1}}}


bool && bool

native(130) static final operator(30) bool && (bool A, skip bool B)


bool ^^ bool

native(131) static final operator(30) bool ^^ (bool A, bool B)


bool || bool

native(132) static final operator(32) bool 


Byte operators

++byte

native(137) static final preoperator byte ++ (out byte A)


--byte

native(138) static final preoperator byte -- (out byte A)


byte++

native(139) static final postoperator byte ++ (out byte A)


byte--

native(140) static final postoperator byte -- (out byte A)


byte *= byte

{{{1}}}


byte += byte

{{{1}}}


byte -= byte

{{{1}}}


byte /= byte

{{{1}}}


Int operators

++int

native(163) static final preoperator int ++ (out int A)


-int

native(143) static final preoperator int - (int A)


--int

native(164) static final preoperator int -- (out int A)


~int

native(141) static final preoperator int ~ (int A)


int++

native(165) static final postoperator int ++ (out int A)


int--

native(166) static final postoperator int -- (out int A)


int * int

native(144) static final operator(16) int * (int A, int B)


int / int

native(145) static final operator(16) int / (int A, int B)


int + int

native(146) static final operator(20) int + (int A, int B)


int - int

native(147) static final operator(20) int - (int A, int B)


int << int

native(148) static final operator(22) int << (int A, int B)


int >> int

native(149) static final operator(22) int >> (int A, int B)


int >>> int

native(196) static final operator(22) int >>> (int A, int B)


int < int

native(150) static final operator(24) bool < (int A, int B)


int <= int

{{{1}}}


int == int

{{{1}}}


int > int

native(151) static final operator(24) bool > (int A, int B)


int >= int

{{{1}}}


int != int

{{{1}}}


int & int

native(156) static final operator(28) int & (int A, int B)


int ^ int

native(157) static final operator(28) int ^ (int A, int B)


int | int

native(158) static final operator(28) int 


int *= float

{{{1}}}


int += int

{{{1}}}


int -= int

{{{1}}}


int /= float

{{{1}}}


Float operators

-float

native(169) static final preoperator float - (float A)


float ** float

native(170) static final operator(12) float ** (float A, float B)


float * float

native(171) static final operator(16) float * (float A, float B)


float / float

native(172) static final operator(16) float / (float A, float B)


float % float

native(173) static final operator(18) float % (float A, float B)


float + float

native(174) static final operator(20) float + (float A, float B)


float - float

native(175) static final operator(20) float - (float A, float B)


float < float

native(176) static final operator(24) bool < (float A, float B)


float <= float

{{{1}}}


float == float

{{{1}}}


float > float

native(177) static final operator(24) bool > (float A, float B)


float >= float

{{{1}}}


float ~= float

{{{1}}}


float != float

{{{1}}}


float *= float

{{{1}}}


float += float

{{{1}}}


float -= float

{{{1}}}


float /= float

{{{1}}}


Vector operators

-vector

native(211) static final preoperator Vector - (Vector A)


float * vector

native(213) static final operator(16) Vector * (float A, Vector B)


vector * float

native(212) static final operator(16) Vector * (Vector A, float B)


vector * vector

native(296) static final operator(16) Vector * (Vector A, Vector B)


vector / float

native(214) static final operator(16) Vector / (Vector A, float B)


vector Cross vector

native(220) static final operator(16) Vector Cross (Vector A, Vector B)


vector Dot vector

native(219) static final operator(16) float Dot (Vector A, Vector B)


vector + vector

native(215) static final operator(20) Vector + (Vector A, Vector B)


vector - vector

native(216) static final operator(20) Vector - (Vector A, Vector B)


vector << rotator

native(275) static final operator(22) Vector << (Vector A, Rotator B)


vector >> rotator

native(276) static final operator(22) Vector >> (Vector A, Rotator B)


vector == vector

{{{1}}}


vector != vector

{{{1}}}


vector *= float

{{{1}}}


vector *= vector

{{{1}}}


vector += vector

{{{1}}}


vector -= vector

{{{1}}}


vector /= float

{{{1}}}


Rotator operators

float * rotator

native(288) static final operator(16) Rotator * (float A, Rotator B)


rotator * float

native(287) static final operator(16) Rotator * (Rotator A, float B)


rotator / float

native(289) static final operator(16) Rotator / (Rotator A, float B)


rotator + rotator

native(316) static final operator(20) Rotator + (Rotator A, Rotator B)


rotator - rotator

native(317) static final operator(20) Rotator - (Rotator A, Rotator B)


rotator == rotator

{{{1}}}


int ClockwiseFrom int

native static final operator(24) bool ClockwiseFrom (int A, int B)


rotator != rotator

{{{1}}}


rotator *= float

{{{1}}}


rotator += rotator

{{{1}}}


rotator -= rotator

{{{1}}}


rotator /= float

{{{1}}}


String operators

string < string

native(115) static final operator(24) bool < (string A, string B)


string <= string

{{{1}}}


string == string

{{{1}}}


string > string

native(116) static final operator(24) bool > (string A, string B)


string >= string

{{{1}}}


string ~= string

{{{1}}}


string != string

{{{1}}}


string $ string

native(112) static final operator(40) string $ (coerce string A, coerce string B)


string @ string

native(168) static final operator(40) string @ (coerce string A, coerce string B)


string $= string

{{{1}}}


string @= string

{{{1}}}


string -= string

{{{1}}}


Name operators

name == name

{{{1}}}


name != name

{{{1}}}


Object operators

Object == Object

{{{1}}}


Object != Object

{{{1}}}