Implemented ULxLuaValues (not tested yet)

This commit is contained in:
2025-03-26 18:17:17 -04:00
parent 408c73521d
commit 3741470b20
8 changed files with 258 additions and 28 deletions

View File

@@ -7,8 +7,6 @@
#include "LuprexGameModeBase.h"
using namespace DebugPrint;
using TanArray = UlxTangibleManager::TanArray;
using IdArray = UlxTangibleManager::IdArray;
UFunction *UlxTangibleManager::GetAnimationQueueChanged(UClass *uclass) {
UFunction *result = uclass->FindFunctionByName(FName(TEXT("Animation Queue Changed")));
@@ -82,7 +80,7 @@ void UlxTangibleManager::DeleteTangible(int64 id) {
// IMPLEMENT ME
}
TanArray UlxTangibleManager::GetAllTangibles() const {
UlxTangibleManager::TanArray UlxTangibleManager::GetAllTangibles() const {
TanArray result;
result.SetNum(IdToTangible.Num());
int next = 0;
@@ -141,7 +139,7 @@ void UlxTangibleManager::DeleteFarawayTangibles() {
}
}
IdArray UlxTangibleManager::GetIds(const TanArray &arr) {
UlxTangibleManager::IdArray UlxTangibleManager::GetIds(const TanArray &arr) {
IdArray result;
result.SetNum(arr.Num());
for (int i = 0; i < arr.Num(); i++) {