MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Box

Method Box

Source/Engine/Scripting/Runtime/DotNet.cpp:396–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394#endif
395
396MObject* MCore::Object::Box(void* value, const MClass* klass)
397{
398 static void* BoxValuePtr = GetStaticMethodPointer(TEXT("BoxValue"));
399 return (MObject*)CallStaticMethod<void*, void*, void*>(BoxValuePtr, klass->_handle, value);
400}
401
402void* MCore::Object::Unbox(MObject* obj)
403{

Callers

nothing calls this directly

Calls 1

GetStaticMethodPointerFunction · 0.85

Tested by

no test coverage detected