UnrealScript Code

UnrealScript Code Table

Values from this table are used directly; no additional prefix token is needed.

Example (LocalVariable):

00 <LocalVariableReference>

<FunctionToken> = 1 byte NativeTableIndex

FToken
DecHexNameExpressionHex data formatNotes
000LocalVariable 00 <ObjRef> 
101InstanceVariable 01 <ObjRef> 
202DefaultVariabledefault.02 <ObjRef> 
303StateVariable 03 <ObjRef> 
404Returnreturn04 <Expr> 
505Switchswitch05 <ObjRef> <Byte> <Expr>ObjRef can be Null, if Expr is function call ObjRef = ReturnValRef, byte is 00 in most cases (02 in switch(arr.Len))
606Jumpgoto06 <MemOff> 
707JumpIfNotif07 <MemOff> <Expr> 
808Stopstop08 
909Assertassert09 <Short> <Byte> <Expr> 
100ACasecase0A <MemOff> <Expr>if MemOff==0xFFFF, Expr is omitted
110BNothing 0B 
120CLabelTable 0C <Labels>Each label entry is NameRef + 4 bytes of memory offset, last entry is NoneRef + 0x0000FFFF
130DGotoLabelgoto0D <Expr> 
140EEatString 0E <ObjRef> <Expr> 
150FLet=0F <Expr(Left)> <Expr(Right)> 
1610DynArrayElement[]10 <Expr(Index)> <Expr(Array)> 
1711Newnew11 <Expr> <Expr> <Expr> <Expr> <Expr>0B for omitted parm
1812ClassContextClass.12 <Expr> <MemSize> <RetValRef> <Byte> <Expr>MemSize is a memory size of Expr, If Expr is variable, RetValRef = VarRef
1913MetaCastclass<Name>(Obj)13 <ObjRef(Class)> <Expr> 
2014LetBool=14 <Expr(Left)> <Expr(Right)> 
2115EndParmValue 15marks the end of default parm value
2216EndFunctionParms)16marks the end of function parms
2317Selfself17 
2418Skip 18 <MemSize>MemSize bytes to skip
2519Context.19 <Expr(Left)> <MemSize> <RetValRef> <Byte> <Expr(Right)>MemSize is a memory size of Expr, If Expr is variable, RetValRef = VarRef
261AArrayElement[]1A <Expr(Index)> <Expr(Array)> 
271BVirtualFunctionFunction(1B <NameRef> <Parms> 16 
281CFinalFunctionFunction(1C <ObjRef> <Parms> 16 
291DIntConst51D <Int32> 
301EFloatConst5.01E <Float32> 
311FStringConst"5.0"1F <NullTerminatedString> 
3220ObjectConstObject20 <ObjRef> 
3321NameConst'Name'21 <NameRef> 
3422RotatorConstrot(1,2,3)22 <Int32> <Int32> <Int32> 
3523VectorConstvect(1.0,2.0,3.0)23 <Float32> <Float32> <Float32> 
3624ByteConst524 <Byte> 
3725IntZero025 
3826IntOne126 
3927Truetrue27 
4028Falsefalse28 
4129NativeParmunconfirmed29 
422ANoObjectnone2A 
432BUnknown_Deprecatednone2A 
442CIntConstByte52C <Byte> 
452DBoolVariable 2D <Expr> 
462EDynamicCastClassName(Object)2E <ObjRef(Class)> <Expr> 
472FIteratorforeach IteratorFunc(...)2F <Expr> <MemOff>MemOff is a memory offset of IteratorPop token
4830IteratorPop 30 
4931IteratorNext 31 
5032StructCmpEq==32 <Expr> <Expr> 
5133StructCmpNe !=33 <Expr> <Expr> 
5234UniStringConstNot used in XCOM?34 <NullTerminatedString> 
5335StructMember.35 <ObjRef(Member)> <ObjRef(Struct)> <Byte> <Byte> <Expr> 
5436DynArrayLenarrName.Length36 <Expr> 
5537GlobalFunctionglobal.37 <Expr> 
5638PrimitiveCastint(ENamed_Value)38 <CastToken> <Expr> 
5739DynArrayInsertarrName.Insert(Index,Count)39 <Expr(Array)> <Expr(Index)> <Expr(Count)> 16 
583AReturnNothingreturn ReturnValue3A <RetValRef> 
593BDelegateCmpEq==3B <Expr(Left)> <Expr(Right)> 16 
603CDelegateCmpNe !=3C <Expr(Left)> <Expr(Right)> 16 
613DDelegateFunctionCmpEq==3D <Expr(Left)> <Expr(Right)> 16 
623EDelegateFunctionCmpNE !=3E <Expr(Left)> <Expr(Right)> 16 
633FNoDelegate 3F 
6440DynArrayRemovearrName.Remove(Index,Count)40 <Expr(Array)> <Expr(Index)> <Expr(Count)> 16 
6541DebugInfo 41 <Int32> <Int32> <Int32> <Byte> 
6642DelegateFunctionDelegateName(...)42 <Byte> <ObjRef> <NameRef> <Params> 16 
6743DelegatePropertySort(Delegate)43 <NameRef> <ObjRef> 
6844LetDelegate= 44 <Expr(Left)> <Expr(Right)>
6945TernaryConditionx > y ? 5 : 1045 <Expr(Cond)> <MemSize> <Expr(IfTrue)> <MemSize> <Expr(IfFalse)> 
7046DynArrFindarrName.Find(Value)46 <Expr(Array)> <MemSize> <Expr(Value)> 16MemSize is a memory size of Expr + 1 (for 16 token)
7147DynArrayFindStructarrName.Find(PropertyName,Value)47 <Expr(Array)> <MemSize> <Expr(Name)> <Expr(Value)> 16MemSize is a memory size of Expr + Expr + 1 (for 16 token)
7248OutVariableout 48 <ObjRef>
7349DefaultParmValue 49 <MemSize> <Expr(Value)> 15MemSize is a memory size of Expr + 1 (for 16 token)
744ANoParm 4Aempty (default) parm value in function call
754BInstanceDelegateunconfirmed4B <NameRef> 
764CDynamicVariable   
774DDynamicVariable   
784EDynamicVariable   
794FDynamicVariable   
8050DynamicVariable   
8151InterfaceContext 51 <Expr> 
8252InterfaceCastClassName(Object)52 <ObjRef(Class)> <Expr> 
8353EndOfScript 53 
8454DynArrAddarrName.Add(Count)54 <Expr(Array)> <Expr(Count)> 
8555DynArrAddItemarrName.AddItem(Item)55 <Expr(Array)> <MemSize> <Expr(Item)> 16MemSize is a memory size of Expr + 1 (for 16 token)
8656DynArrRemoveItemarrName.RemoveItem(Item)56 <Expr(Array)> <MemSize> <Expr(Item)> 16MemSize is a memory size of Expr + 1 (for 16 token)
8757DynArrInsertItemarrName.InsertItem(Index,Item)57 <Expr(Array)> <MemSize> <Expr(Index)> <Expr(Item)> 16MemSize is a memory size of Expr + Expr + 1 (for 16 token)
8858DynArrIteratorforeach Array(Var,Index)58 <Expr(Array)> <Expr(Var)> <Byte> <Expr(Index)> <MemOff>MemOff is a memory offset of IteratorPop token
8959DynArrSortarrName.Sort(SortDelegate)59 <Expr(Array)> <MemSize> <DelegateProperty> 16MemSize is a memory size of DelegateProperty + 1 (for 16 token)
905AFilterEditorOnly   
915B    
925C    
935D    
945E    
955F    

UnrealScript Code Table - Extended Native Functions

Values from this table are never used directly, they are used as prefix tokens for calling Extended Native Functions with indexes > 255.

2 byte NativeTableIndex = <ExtendedNativeToken 'x'> <FunctionToken>

FToken
DecHexNameNotes
9660ExtendedNativeThis number marks the beginning of the Extended Native Functions table
9761NativeFunction1NativeTableIdx = (NativeFunctionX-ExtendedNative)*256+NextToken
9862NativeFunction2NativeTable max size = 16 * 256 = 4096
9963NativeFunction3NativeTable max index = 0xFFF = 4095
10064NativeFunction4Starting with index 256 (0x100) native function call is preceded with
10165NativeFunction50x61-0x6F token and the following function index is shifted to
10266NativeFunction60x00-0xFF range
10367NativeFunction7Native function call (70 to FF): <Token> <Params> 16
10468NativeFunction8Native function call (100 to FFF): <NativeFunctionX> <Token> <Params> 16
10569NativeFunction9 
1066ANativeFunctionA 
1076BNativeFunctionB 
1086CNativeFunctionC 
1096DNativeFunctionD 
1106ENativeFunctionE 
1116FNativeFunctionF 

UnrealScript Code Table (continued)

Values from this table are used directly, no additional prefixing token is needed. Function call follows this pattern:

<Token> <Params> <EndFunctionParms>

Example (GotoState):

71 <StateName> 16

<FunctionToken> = 1 byte NativeTableIndex

FToken
DecHexNameExpressionPackage.Class
11270Concat_StringStringstring1$string2Core.Object
11371GotoStateGotoState(Name)Core.Object
11472EqualEqual_ObjectObject==Core.Object
11573Less_StringString<Core.Object
11674Greater_StringString>Core.Object
11775EnableEnable(ProbeFuncName)Core.Object
11876DisableDisable(ProbeFuncName)Core.Object
11977NotEqual_ObjectObject !=Core.Object
12078LessEqual_StringString<=Core.Object
12179GreaterEqual_StringString>=Core.Object
1227AEqualEqual_StringString==Core.Object
1237BNotEqual_StringString !=Core.Object
1247CComplementEqual_StringString~=Core.Object
1257DStringLenLen(String)Core.Object
1267EInStrInStr(String,Substring)Core.Object
1277FMidMid(String,Index,Count)Core.Object
12880LeftLeft(String,Count)Core.Object
12981Not_PreBool !Core.Object
13082AndAnd_BoolBool&&Core.Object
13183XorXor_BoolBool^^Core.Object
13284OrOr_BoolBool||Core.Object
13385MultiplyEqual_ByteByte*=Core.Object
13486DivideEqual_ByteByte/=Core.Object
13587AddEqual_ByteByte+=Core.Object
13688SubtractEqual_ByteByte-=Core.Object
13789AddAdd_PreByte++Core.Object
1388ASubtractSubtract_PreByte--Core.Object
1398BAddAdd_Byte++Core.Object
1408CSubtractSubtract_Byte--Core.Object
1418DComplement_PreInt~Core.Object
1428EEqualEqual_RotatorRotator==Core.Object
1438FSubtract_PreInt-Core.Object
14490Multiply_IntInt*Core.Object
14591Divide_IntInt/Core.Object
14692Add_IntInt+Core.Object
14793Subtract_IntInt-Core.Object
14894LessLess_IntInt<<Core.Object
14995GreaterGreater_IntInt>>Core.Object
15096Less_IntInt<Core.Object
15197Greater_IntInt>Core.Object
15298LessEqual_IntInt<=Core.Object
15399GreaterEqual_IntInt>=Core.Object
1549AEqualEqual_IntInt==Core.Object
1559BNotEqual_IntInt !=Core.Object
1569CAnd_IntInt&Core.Object
1579DXor_IntInt^Core.Object
1589EOr_IntInt|Core.Object
1599FMultiplyEqual_IntFloat*=Core.Object
160A0DivideEqual_IntFloat/=Core.Object
161A1AddEqual_IntInt+=Core.Object
162A2SubtractEqual_IntInt-=Core.Object
163A3AddAdd_PreInt++Core.Object
164A4SubtractSubtract_PreInt--Core.Object
165A5AddAdd_Int++Core.Object
166A6SubtractSubtract_Int--Core.Object
167A7RandRand(Count)Core.Object
168A8At_StringStringstring1@string2Core.Object
169A9Subtract_PreFloat-Core.Object
170AAMultiplyMultiply_FloatFloat**Core.Object
171ABMultiply_FloatFloat*Core.Object
172ACDivide_FloatFloat/Core.Object
173ADPercent_FloatFloat %Core.Object
174AEAdd_FloatFloat+Core.Object
175AFSubtract_FloatFloat-Core.Object
176B0Less_FloatFloat<Core.Object
177B1Greater_FloatFloat>Core.Object
178B2LessEqual_FloatFloat<=Core.Object
179B3GreaterEqual_FloatFloat>=Core.Object
180B4EqualEqual_FloatFloat==Core.Object
181B5NotEqual_FloatFloat !=Core.Object
182B6MultiplyEqual_FloatFloat*=Core.Object
183B7DivideEqual_FloatFloat/=Core.Object
184B8AddEqual_FloatFloat+=Core.Object
185B9SubtractEqual_FloatFloat-=Core.Object
186BAAbsAbs(Float)Core.Object
187BBSinSin(Float)Core.Object
188BCCosCos(Float)Core.Object
189BDTanTan(Float)Core.Object
190BEAtanAtan(Float)Core.Object
191BFExpExp(Float)Core.Object
192C0LogeLoge(Float)Core.Object
193C1SqrtSqrt(Float)Core.Object
194C2SquareSquare(Float)Core.Object
195C3FRandFRand()Core.Object
196C4GreaterGreaterGreater_IntInt>>>Core.Object
197C5IsAIsA('ClassName')Core.Object
198C6MultiplyEqual_ByteFloat*=Core.Object
199C7RoundRound(Float)Core.Object
201C9ReplRepl(String,Match,With,bCase)Core.Object
203CBNotEqual_RotatorRotator !=Core.Object
210D2ComplementEqual_FloatFloat~=Core.Object
211D3Subtract_PreVector-Core.Object
212D4Multiply_VectorFloat*Core.Object
213D5Multiply_FloatVector*Core.Object
214D6Divide_VectorFloat/Core.Object
215D7Add_VectorVector+Core.Object
216D8Subtract_VectorVector-Core.Object
217D9EqualEqual_VectorVector==Core.Object
218DANotEqual_VectorVector !=Core.Object
219DBDot_VectorVectorv1 Dot v2Core.Object
220DCCross_VectorVectorv1 Cross v2Core.Object
221DDMultiplyEqual_VectorFloat*=Core.Object
222DEDivideEqual_VectorFloat/=Core.Object
223DFAddEqual_VectorVector+=Core.Object
224E0SubtractEqual_VectorVector-=Core.Object
225E1VSizeVSize(Vector)Core.Object
226E2NormalNormal(Vector)Core.Object
228E4VSizeSqVSizeSq(Vector)Core.Object
229E5GetAxesGetAxes(Rot,Vect,Vect,Vect)Core.Object
230E6GetUnAxesGetUnAxes(Rot,Vect,Vect,Vect)Core.Object
231E7LogInternalLogInternal(String,'Name')Core.Object
232E8WarnInternalWarnInternal(String)Core.Object
234EARightRight(String,COunt)Core.Object
235EBCapsCaps(String)Core.Object
236ECChrChr(Integer)Core.Object
237EDAscAsc(String)Core.Object
238EELocsLocs(String)Core.Object
242F2EqualEqual_BoolBool==Core.Object
243F3NotEqual_BoolBool !=Core.Object
244F4FMinFMin(Float,Float)Core.Object
245F5FMaxFMax(Float,Float)Core.Object
246F6FClampFClamp(Val,Min,Max)Core.Object
247F7LerpLerp(Float,Float,Float)Core.Object
249F9MinMin(Float,Float)Core.Object
250FAMaxMax(Float,Float)Core.Object
251FBClampClamp(Val,Min,Max)Core.Object
252FCVRandVRand()Core.Object
253FDPercent_IntInt %Core.Object
254FEEqualEqual_NameName==Core.Object
255FFNotEqual_NameName !=Core.Object

Extended Native Function 0x61 Table

Values from this table require prefixing the 61 (NativeFunction1 token) before the <Function token>. Function call follows this pattern:

<NativeFunction1> <FToken> <Params> <EndFunctionParms>

Example (Sleep):

61 00 <SleepTime> 16

2 byte Bytecode Value = <ExtendedNativeToken '0x61'> <FunctionToken 'x'> (i.e. 0x6100-0x61FF).
2 byte NativeTableIndex (i.e. NTIndex) = 0x01 <FunctionToken 'x'> (i.e. 0x0100-0x01FF).

FTokenNTIndex
DecHexDecHexNameExpressionPackage.Class
000256100SleepSleep(Time)Engine.Actor
202258102ClassIsChildOfClassIsChildOf(cTest,cParent)Core.Object
505261105FinishAnimFinishAnim(...)Engine.Actor
606262106SetCollisionSetCollision(...)Engine.Actor
100A26610AMoveMove(vDelta)Engine.Actor
110B26710BSetLocationSetLocation(vLoc)Engine.Actor
140E27010EAdd_QuatQuat+Core.Object
150F27110FSubtract_QuatQuat-Core.Object
1610272110SetOwnerSetOwner(Actor)Engine.Actor
1913275113LessLess_VectorRotator<<Core.Object
2014276114GreaterGreater_VectorRotator>>Core.Object
2115277115TraceTrace(...)Engine.Actor
2317279117DestroyDestroy()Engine.Actor
2418280118SetTimerSetTimer(...)Engine.Actor
2519281119IsInStateIsInState('Name',bStack)Core.Object
271B28311BSetCollisionSizeSetCollisionSize(Float,Float)Engine.Actor
281C28411CGetStateNameGetStateName()Core.Object
311F28711FMultiply_RotatorFloat*Core.Object
3220288120Multiply_FloatRotator*Core.Object
3321289121Divide_RotatorFloat/Core.Object
3422290122MultiplyEqual_RotatorFloat*=Core.Object
3523291123DivideEqual_RotatorFloat/=Core.Object
4028296128Multiply_VectorVector*Core.Object
4129297129MultiplyEqual_VectorVector*=Core.Object
422A29812ASetBaseSetBase(...)Engine.Actor
432B29912BSetRotationSetRotation(rRot)Engine.Actor
442C30012CMirrorVectorByNormalMirrorVectorByNormal(Vect,Norm)Core.Object
4830304130AllActorsAllActors(Class,Out,Intrf)Engine.Actor
4931305131ChildActorsChildActors(Clas,Out)Engine.Actor
5032306132BasedActorsBasedActors(Clas,Out)Engine.Actor
5133307133TouchingActorsTouchingActors(Clas,Out)Engine.Actor
5335309135TraceActorsTraceActors(...)Engine.Actor
5537311137VisibleActorsVisibleActors(...)Engine.Actor
5638312138VisibleCollidingActorsVisibleCollidingActors(...)Engine.Actor
5739313139DynamicActorsDynamicActors(Class,Out,Intrf)Engine.Actor
603C31613CAdd_RotatorRotator+Core.Object
613D31713DSubtract_RotatorRotator-Core.Object
623E31813EAddEqual_RotatorRotator+=Core.Object
633F31913FSubtractEqual_RotatorRotator-=Core.Object
6440320140RotRandRotRand(bRoll)Core.Object
6541321141CollidingActorsCollidingActors(...)Engine.Actor
6642322142ConcatEqual_StringString$=Core.Object
6743323143AtEqual_StringString@=Core.Object
6844324144SubtractEqual_StringString-=Core.Object
244F45001F4MoveToMoveTo(...)Engine.Controller
246F65021F6MoveTowardMoveToward(...)Engine.Controller
252FC5081FCFinishRotationFinishRotation()Engine.Controller

Extended Native Function 0x62 Table

Values from this table require prefixing the 62 (NativeFunction2 token) before the <Function token>. Function call follows this pattern:

<NativeFunction2> <FToken> <Params> <EndFunctionParms>

Example (CanSee):

62 15 <Pawn> 16

2 byte Bytecode Value = <ExtendedNativeToken '0x62'> <FunctionToken 'x'> (i.e. 0x6200-0x62FF).
2 byte NativeTableIndex (i.e. NTIndex) = 0x02 <FunctionToken 'x'> (i.e. 0x0200-0x02FF).

FTokenNTIndex
DecHexDecHexNameExpressionPackage.Class
000512200MakeNoiseMakeNoise(Loudness,Type)Engine.Actor
202514202LineOfSightToNot used in XCOM? 
505517205FindPathTowardNot used in XCOM? 
606518206FindPathToNot used in XCOM? 
808520208ActorReachableNot used in XCOM? 
909521209PointReachableNot used in XCOM? 
120C52420CFindStairRotationFindStairRotation(DeltaT)Engine.PlayerController
130D52520DFindRandomDestNot used in XCOM? 
140E52620EPickWallAdjustNot used in XCOM? 
150F52720FWaitForLandingWaitForLanding(Duration)Engine.Controller
1913531213PickTargetPickTarget(...)Engine.Controller
2014532214PlayerCanSeeMePlayerCanSeeMe(bForceLOSCheck)Engine.Actor
2115533215CanSeeCanSee(Pawn)Engine.Controller
2418536218SaveConfigSaveConfig()Core.Object
2519537219CanSeeByPointsCanSeeByPoints(Vect,Vect,Rot)Engine.Controller
3422546222UpdateURLUpdateURL(...)Engine.PlayerController
3523547223GetURLMapGetURLMap()Engine.Actor
3624548224FastTraceFastTrace(...)Engine.Actor

Extended Native Function 0x65 Table

Values from this table require prefixing the 65 (NativeFunction5 token) before the <Function token>. Function call follows this pattern:

<NativeFunction5> <FToken> <Params> <EndFunctionParms>

Example (IsZero):

65 DD <Vector> 16

2 byte Bytecode Value = <ExtendedNativeToken '0x65'> <FunctionToken 'x'> (i.e. 0x6500-0x65FF).
2 byte NativeTableIndex (i.e. NTIndex) = 0x05 <FunctionToken 'x'> (i.e. 0x0500-0x05FF).

FTokenNTIndex
DecHexDecHexNameExpressionPackage.Class
220DC15005DCProjectOnToProjectOnTo(Vector,Vector)Core.Object
221DD15015DDIsZeroIsZero(Vector)Core.Object

Extended Native Function 0x69 Table

Values from this table require prefixing the 69 (NativeFunction9 token) before the <Function token>. Function call follows this pattern:

<NativeFunction9> <FToken> <Params> <EndFunctionParms>

Example (V2DSize):

69 DD <V2DSize> 16

2 byte Bytecode Value = <ExtendedNativeToken '0x69'> <FunctionToken 'x'> (i.e. 0x6900-0x69FF).
2 byte NativeTableIndex (i.e. NTIndex) = 0x09 <FunctionToken 'x'> (i.e. 0x0900-0x09FF).

FTokenNTIndex
DecHexDecHexNameExpressionPackage.Class
207CF25119CFSubtract_PreVector2D-Core.Object
209D125139D1Multiply_FloatVector2D*Core.Object
213D525179D5EqualEqual_Vector2DVector2D==Core.Object
214D625189D6NotEqual_Vector2DVector2D !=Core.Object
221DD25259DDV2DSizeV2DSize(Vector2D)Core.Object
222DE25269DEV2DNormalV2DNormal(Vector2D)Core.Object

Extended Native Function 0x6A Table

Values from this table require prefixing the 6A (NativeFunctionA token) before the <Function token>. Function call follows this pattern:

<NativeFunctionA> <FToken> <Params> <EndFunctionParms>

Example (Multiply_Vector2DVector2D):

6A 24 <Vector2D_A><Vector2D_B> 16

2 byte Bytecode Value = <ExtendedNativeToken '0x6A'> <FunctionToken 'x'> (i.e. 0x6A00-0x6AFF).
2 byte NativeTableIndex (i.e. NTIndex) = 0x0A <FunctionToken 'x'> (i.e. 0x0A00-0x0AFF).

FTokenNTIndex
DecHexDecHexNameExpressionPackage.Class
36242596A24Multiply_Vector2DVector2D*Core.Object
37252597A25MultiplyEqual_Vector2DVector2D*=Core.Object

Extended Native Function 0x6F Table

Values from this table require prefixing the 6F (NativeFunctionF token) before the <Function token>. Function call follows this pattern:

<NativeFunctionF> <FToken> <Params> <EndFunctionParms>

Example (SetPhysics):

6F 82 <Physics> 16

2 byte Bytecode Value = <ExtendedNativeToken '0x6F'> <FunctionToken 'x'> (i.e. 0x6F00-0x6FFF).
2 byte NativeTableIndex (i.e. NTIndex) = 0x0F <FunctionToken 'x'> (i.e. 0x0F00-0x0FFF).

FTokenNTIndex
DecHexDecHexNameExpressionPackage.Class
129813969F81MoveSmoothMoveSmooth(vDelta)Engine.Actor
130823970F82SetPhysicsSetPhysics(EPhysics)Engine.Actor
131833971F83AutonomousPhysicsAutonomousPhysics(DeltaSec)Engine.Actor

PrimitiveCast Tokens 0x38 Table

Cast tokens are used for primitive cast operations: i.e. if you need to convert a variable of type INT to type FLOAT for example, you need to use a Cast Token; which is prefixed by the PrimitiveCast token 0x38.

Example (INT to FLOAT):

38 3F <IntVariable>

Cast tokens are using one native PrimitiveCast Function (token 38) and the CastToken itself is a "parameter" for this function.

CastToken
DecHexFrom TypeA To TypeB
5436InterfaceToBool
5537InterfaceToString
5638InterfaceToObject
5739RotatorToVector
583AByteToInt
593BByteToBool
603CByteToFloat
613DIntToByte
623EIntToBool
633FIntToFloat
6440BoolToByte
6541BoolToInt
6642BoolToFloat
6743FloatToByte
6844FloatToInt
6945FloatToBool
7046ObjectToInterface
7147ObjectToBool
7248NameToBool
7349StringToByte
744AStringToInt
754BStringToBool
764CStringToFloat
774DStringToVector
784EStringToRotator
794FVectorToBool
8050VectorToRotator
8151RotatorToBool
8252ByteToString
8353IntToString
8454BoolToString
8555FloatToString
8656ObjectToString
8757NameToString
8858VectorToString
8959RotatorToString
905ADelegateToString
9660StringToName

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值