UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMIntrinsics.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
8#include "VVMNativeFunction.h"
9#include "VVMType.h"
10
11namespace Verse
12{
13
14struct VProgram;
15struct VTask;
16
17// A special heap value to store all intrinsic VNativeFunction objects
18struct VIntrinsics : VCell
19{
22
31
32 static VIntrinsics& New(FAllocationContext Context, VPackage& BuiltInPackage)
33 {
34 return *new (Context.AllocateFastCell(sizeof(VIntrinsics))) VIntrinsics(Context, BuiltInPackage);
35 }
36
37 static void Initialize(FAllocationContext Context);
38
39private:
40 COREUOBJECT_API static FNativeCallResult AbsImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
41 COREUOBJECT_API static FNativeCallResult CeilImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
42 COREUOBJECT_API static FNativeCallResult FloorImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
43 COREUOBJECT_API static FNativeCallResult ConcatenateMapsImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
44 COREUOBJECT_API static FNativeCallResult WeakMapTypeImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
45 COREUOBJECT_API static FNativeCallResult FitsInPlayerMapImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
46 COREUOBJECT_API static FNativeCallResult MakePersistentMapImpl(FRunningContext Context, VValue Self, VNativeFunction::Args Arguments);
48
49 VIntrinsics(FAllocationContext Context, VPackage& BuiltInPackage);
50};
51
52} // namespace Verse
53#endif // WITH_VERSE_VM
return Self
Definition CocoaThread.cpp:337
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
T * New(FMemStackBase &Mem, int32 Count=1, int32 Align=DEFAULT_ALIGNMENT)
Definition MemStack.h:259
Definition Archive.h:36