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

Method GetMap

Source/democpp/SluaTestCase.cpp:378–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378TMap<int, FString> USluaTestCase::GetMap() {
379 TMap<int, FString> FruitMap;
380
381 FruitMap.Add(5, TEXT("Banana"));
382 FruitMap.Add(2, TEXT("Grapefruit"));
383 FruitMap.Add(7, TEXT("Pineapple"));
384 FruitMap.Add(2, TEXT("Grapefruit"));
385 FruitMap.Add(7, TEXT("Pineapple"));
386 return FruitMap;
387}
388
389TArray<FString> USluaTestCase::GetArrayStr() {
390 TArray<FString> array={"hello","world","nihao"};

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected