[][src]Enum auxtools::OpCode

#[repr(u32)]
#[non_exhaustive]pub enum OpCode {
    End,
    New,
    Format,
    Output,
    OutputFormat,
    Stat,
    Unk06,
    Link,
    OutputFtp,
    OutputRun,
    Unk0A,
    Missile,
    Del,
    Test,
    Not,
    Jmp,
    Jnz,
    Jz,
    Ret,
    IsLoc,
    IsMob,
    IsObj,
    IsArea,
    IsTurf,
    Alert,
    EmptyList,
    NewList,
    View,
    OView,
    ViewTarget,
    OViewTarget,
    Block,
    Unk20,
    Prob,
    Rand,
    RandRange,
    Sleep,
    Spawn,
    Unk26,
    BrowseRsc,
    IsIcon,
    Call,
    CallNoReturn,
    CallPath,
    CallParent,
    CallParentArgs,
    CallSelf,
    CallSelfArgs,
    CallGlob,
    Log10,
    Log,
    GetVar,
    SetVar,
    SetVarExpr,
    GetFlag,
    Teq,
    Tne,
    Tl,
    Tg,
    Tle,
    Tge,
    UnaryNeg,
    Add,
    Sub,
    Mul,
    Div,
    Mod,
    Round,
    RoundN,
    AugAdd,
    AugSub,
    AugMul,
    AugDiv,
    AugMod,
    AugBand,
    AugBor,
    AugXor,
    AugLShift,
    AugRShift,
    Unk4F,
    PushInt,
    Pop,
    IterLoad,
    IterNext,
    IterPush,
    IterPop,
    Num2TextSigFigs,
    Roll,
    Unk58,
    Range,
    LocatePos,
    LocateRef,
    Flick,
    Shutdown,
    Startup,
    RollStr,
    PushVal,
    NewImage,
    PreInc,
    PostInc,
    PreDec,
    PostDec,
    Inc,
    Dec,
    Abs,
    Sqrt,
    Pow,
    Turn,
    AddText,
    Length,
    CopyText,
    FindText,
    FindTextEx,
    CmpText,
    SortText,
    SortTextEx,
    UpperText,
    LowerText,
    Text2Num,
    Num2Text,
    Switch,
    PickSwitch,
    SwitchRange,
    ListGet,
    ListSet,
    IsType,
    Band,
    Bor,
    Bxor,
    Bnot,
    LShift,
    RShift,
    DbgFile,
    DbgLine,
    Step,
    StepTo,
    StepAway,
    StepTowards,
    StepRand,
    Walk,
    WalkTo,
    WalkAway,
    WalkTowards,
    WalkRand,
    GetStep,
    GetStepTo,
    GetStepAway,
    GetStepTowards,
    GetStepRand,
    GetDist,
    GetDir,
    LocateType,
    Shell,
    Text2File,
    File2Text,
    FCopy,
    Unk9C,
    Unk9D,
    IsNull,
    IsNum,
    IsText,
    StatPanel,
    StatPanelCheck,
    UnkA3,
    UnkA4,
    Min,
    Max,
    TypesOf,
    CKey,
    IsIn,
    Browse,
    BrowseOpt,
    FList,
    Orange,
    Unk0xAE,
    Read,
    Index,
    PickProb,
    JmpOr,
    JmpAnd,
    FDel,
    CallName,
    UnkB6,
    List2Params,
    Params2List,
    CKeyEx,
    PromptCheck,
    Rgb,
    HasCall,
    UnkBD,
    HtmlEncode,
    HtmlDecode,
    Time2Text,
    Input,
    Sin,
    Cos,
    ArcSin,
    ArcCos,
    InputColor,
    Crash,
    NewAssocList,
    CallParentArgList,
    CallSelfArgList,
    CallPathArgList,
    CallNameArgList,
    CallGlobalArgList,
    UnkCE,
    NewArgList,
    MinList,
    MaxList,
    Pick,
    NewImageArgList,
    NewImageArgs,
    UnkD5,
    UnkD6,
    FCopyRsc,
    BadInstruction,
    UnkD9,
    RandSeed,
    Text2Ascii,
    Ascii2Text,
    IconStates,
    IconNew,
    TurnOrFlipIcon,
    UnkE0,
    IconIntensity,
    IconSwapColor,
    ShiftIcon,
    IsFile,
    Viewers,
    OViewers,
    Hearers,
    OHearers,
    UnkE9,
    UnkEA,
    UnkEB,
    UnkEC,
    UnkED,
    UnkEE,
    UnkEF,
    UnkF0,
    UnkF1,
    UnkF2,
    UnkF3,
    UnkF4,
    IsPath,
    IsSubPath,
    FExists,
    Jmp2,
    Jnz2,
    Jz2,
    PopN,
    CheckNum,
    ForRange,
    ForRangeStepSetup,
    ForRangeStep,
    Unk100,
    Unk101,
    Unk102,
    Unk103,
    Unk104,
    IconDrawBox,
    IconInsert,
    UrlEncode,
    UrlDecode,
    Md5,
    Text2Path,
    WinOutput,
    WinSet,
    WinGet,
    WinClone,
    WinShow,
    IconMapColors,
    IconScale,
    IconCrop,
    Rgba,
    IconStatesMode,
    IconGetPixel,
    CallLib,
    CallLibArgList,
    WinExists,
    IconBlend,
    IconSize,
    Bounds,
    OBounds,
    BoundsDist,
    StepSpeed,
    StepToSpeed,
    StepAwaySpeed,
    StepTowardsSpeed,
    StepRandSpeed,
    WalkSpeed,
    WalkToSpeed,
    WalkAwaySpeed,
    WalkTowardsSpeed,
    WalkRandSpeed,
    Animate,
    NullAnimate,
    MatrixNew,
    Database,
    Try,
    Throw,
    Catch,
    Unk12F,
    ReplaceText,
    ReplaceTextEx,
    FindLastText,
    FindLastTextEx,
    SpanText,
    NonSpanText,
    SplitText,
    JoinText,
    JsonEncode,
    JsonDecode,
    RegexNew,
    FilterNewArgList,
    BeginListSetExpr,
    JmpIfNull,
    JmpIfNull2,
    NullCacheMaybe,
    Unk140,
    TestNotEquiv,
    PushToCache,
    PopFromCache,
    Tan,
    ArcTan,
    ArcTan2,
    IsList,
    Ref,
    IsMovable,
    Clamp,
    Sha1,
    Unk14C,
    LengthChar,
    CopyTextChar,
    FindTextChar,
    Unk150,
    ReplaceTextChar,
    ReplaceTextExChar,
    FindLastTextChar,
    FindLastTextExChar,
    SpanTextChar,
    NonSpanTextChar,
    SplitTextChar,
    Text2NumRadix,
    Num2TextRadix,
    DebugBreak,
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
End
New
Format
Output
OutputFormat
Stat
Unk06
OutputFtp
OutputRun
Unk0A
Missile
Del
Test
Not
Jmp
Jnz
Jz
Ret
IsLoc
IsMob
IsObj
IsArea
IsTurf
Alert
EmptyList
NewList
View
OView
ViewTarget
OViewTarget
Block
Unk20
Prob
Rand
RandRange
Sleep
Spawn
Unk26
BrowseRsc
IsIcon
Call
CallNoReturn
CallPath
CallParent
CallParentArgs
CallSelf
CallSelfArgs
CallGlob
Log10
Log
GetVar
SetVar
SetVarExpr
GetFlag
Teq
Tne
Tl
Tg
Tle
Tge
UnaryNeg
Add
Sub
Mul
Div
Mod
Round
RoundN
AugAdd
AugSub
AugMul
AugDiv
AugMod
AugBand
AugBor
AugXor
AugLShift
AugRShift
Unk4F
PushInt
Pop
IterLoad
IterNext
IterPush
IterPop
Num2TextSigFigs
Roll
Unk58
Range
LocatePos
LocateRef
Flick
Shutdown
Startup
RollStr
PushVal
NewImage
PreInc
PostInc
PreDec
PostDec
Inc
Dec
Abs
Sqrt
Pow
Turn
AddText
Length
CopyText
FindText
FindTextEx
CmpText
SortText
SortTextEx
UpperText
LowerText
Text2Num
Num2Text
Switch
PickSwitch
SwitchRange
ListGet
ListSet
IsType
Band
Bor
Bxor
Bnot
LShift
RShift
DbgFile
DbgLine
Step
StepTo
StepAway
StepTowards
StepRand
Walk
WalkTo
WalkAway
WalkTowards
WalkRand
GetStep
GetStepTo
GetStepAway
GetStepTowards
GetStepRand
GetDist
GetDir
LocateType
Shell
Text2File
File2Text
FCopy
Unk9C
Unk9D
IsNull
IsNum
IsText
StatPanel
StatPanelCheck
UnkA3
UnkA4
Min
Max
TypesOf
CKey
IsIn
Browse
BrowseOpt
FList
Orange
Unk0xAE
Read
Index
PickProb
JmpOr
JmpAnd
FDel
CallName
UnkB6
List2Params
Params2List
CKeyEx
PromptCheck
Rgb
HasCall
UnkBD
HtmlEncode
HtmlDecode
Time2Text
Input
Sin
Cos
ArcSin
ArcCos
InputColor
Crash
NewAssocList
CallParentArgList
CallSelfArgList
CallPathArgList
CallNameArgList
CallGlobalArgList
UnkCE
NewArgList
MinList
MaxList
Pick
NewImageArgList
NewImageArgs
UnkD5
UnkD6
FCopyRsc
BadInstruction
UnkD9
RandSeed
Text2Ascii
Ascii2Text
IconStates
IconNew
TurnOrFlipIcon
UnkE0
IconIntensity
IconSwapColor
ShiftIcon
IsFile
Viewers
OViewers
Hearers
OHearers
UnkE9
UnkEA
UnkEB
UnkEC
UnkED
UnkEE
UnkEF
UnkF0
UnkF1
UnkF2
UnkF3
UnkF4
IsPath
IsSubPath
FExists
Jmp2
Jnz2
Jz2
PopN
CheckNum
ForRange
ForRangeStepSetup
ForRangeStep
Unk100
Unk101
Unk102
Unk103
Unk104
IconDrawBox
IconInsert
UrlEncode
UrlDecode
Md5
Text2Path
WinOutput
WinSet
WinGet
WinClone
WinShow
IconMapColors
IconScale
IconCrop
Rgba
IconStatesMode
IconGetPixel
CallLib
CallLibArgList
WinExists
IconBlend
IconSize
Bounds
OBounds
BoundsDist
StepSpeed
StepToSpeed
StepAwaySpeed
StepTowardsSpeed
StepRandSpeed
WalkSpeed
WalkToSpeed
WalkAwaySpeed
WalkTowardsSpeed
WalkRandSpeed
Animate
NullAnimate
MatrixNew
Database
Try
Throw
Catch
Unk12F
ReplaceText
ReplaceTextEx
FindLastText
FindLastTextEx
SpanText
NonSpanText
SplitText
JoinText
JsonEncode
JsonDecode
RegexNew
FilterNewArgList
BeginListSetExpr
JmpIfNull
JmpIfNull2
NullCacheMaybe
Unk140
TestNotEquiv
PushToCache
PopFromCache
Tan
ArcTan
ArcTan2
IsList
Ref
IsMovable
Clamp
Sha1
Unk14C
LengthChar
CopyTextChar
FindTextChar
Unk150
ReplaceTextChar
ReplaceTextExChar
FindLastTextChar
FindLastTextExChar
SpanTextChar
NonSpanTextChar
SplitTextChar
Text2NumRadix
Num2TextRadix
DebugBreak

Trait Implementations

impl Clone for OpCode[src]

impl Copy for OpCode[src]

impl Debug for OpCode[src]

impl Eq for OpCode[src]

impl PartialEq<OpCode> for OpCode[src]

impl StructuralEq for OpCode[src]

impl StructuralPartialEq for OpCode[src]

Auto Trait Implementations

impl RefUnwindSafe for OpCode

impl Send for OpCode

impl Sync for OpCode

impl Unpin for OpCode

impl UnwindSafe for OpCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.