MCPcopy Create free account
hub / github.com/Tencent/sluaunreal / TestStruct

Method TestStruct

Source/democpp/SluaTestCase.cpp:406–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406FVector USluaTestCase::TestStruct(FVector v, ESlateVisibility e, FVector& v2, int i, int& i2, FString str) {
407 NS_SLUA::Log::Log("v.X=%f, v.Y=%f, v.Z=%f", v.X, v.Y, v.Z);
408 NS_SLUA::Log::Log("i = %d", i);
409 NS_SLUA::Log::Log("s = %s", TCHAR_TO_UTF8(*str));
410 NS_SLUA::Log::Log("e = %d", (int)e);
411 v2 = v * 2;
412 i2 = i;
413 return v2 * 2;
414}
415
416int USluaTestCase::TestInt_int(int i) {
417 NS_SLUA::Log::Log("TestInt_int i=%d", i);

Callers

nothing calls this directly

Calls 1

LogFunction · 0.85

Tested by

no test coverage detected