TangibleManager Init function implemeneted

This commit is contained in:
2023-09-02 01:39:35 -04:00
parent ac132862de
commit 1494e4f8e6
4 changed files with 17 additions and 17 deletions

View File

@@ -192,8 +192,8 @@ void AIntegrationGameModeBase::BeginPlay()
Thread = FRunnableThread::Create(this, TEXT("Worker Thread")); Thread = FRunnableThread::Create(this, TEXT("Worker Thread"));
} }
//// Create a tangible. // Create a tangible.
//TangibleManager.Init(GetWorld(), ClassTangibleActor); TangibleManager.Init(GetWorld(), ClassTangibleActor);
//TangibleManager.MakeTangible(123); //TangibleManager.MakeTangible(123);
} }

View File

@@ -47,8 +47,8 @@ public:
// Transfer console output from the Luprex engine to unreal. // Transfer console output from the Luprex engine to unreal.
void HandleLuprexConsoleOutput(); void HandleLuprexConsoleOutput();
//UPROPERTY() UPROPERTY()
//FTangibleManager TangibleManager; FTangibleManager TangibleManager;
// This stores the entire text currently visible in the console. // This stores the entire text currently visible in the console.
engineutil::ConsoleOutput ConsoleOutput; engineutil::ConsoleOutput ConsoleOutput;

View File

@@ -5,11 +5,11 @@
//using AActorPtr = AActor*; //using AActorPtr = AActor*;
//void FTangibleManager::Init(UWorld *world, UClass* tanact) { void FTangibleManager::Init(UWorld *world, UClass* tanact) {
// World = world; World = world;
// ClassTangibleActor = tanact; ClassTangibleActor = tanact;
//} }
//
//AActorPtr FTangibleManager::GetTangible(int64 id) { //AActorPtr FTangibleManager::GetTangible(int64 id) {
// AActorPtr *p = IdToActor.Find(id); // AActorPtr *p = IdToActor.Find(id);
// if (p == nullptr) { // if (p == nullptr) {

View File

@@ -15,21 +15,21 @@ struct INTEGRATION_API FTangibleManager
GENERATED_BODY() GENERATED_BODY()
public: public:
//// A pointer to the UWorld. // A pointer to the UWorld.
//UWorld* world; UWorld* World;
//// A pointer to uclass TangibleActor. // A pointer to uclass TangibleActor.
//UPROPERTY() UPROPERTY()
//TSubclassOf<AActor> ClassTangibleActor; TSubclassOf<AActor> ClassTangibleActor;
//// Given a tangible ID, look up actor pointer (or NULL if actor was deleted) //// Given a tangible ID, look up actor pointer (or NULL if actor was deleted)
//UPROPERTY() //UPROPERTY()
//TMap<int64, AActor*> IdToActor; //TMap<int64, AActor*> IdToActor;
public: public:
//// Initialize the tangible manager. // Initialize the tangible manager.
//// //
//void Init(UWorld *world, UClass* tanact); void Init(UWorld *world, UClass* tanact);
//// Get the tangible if it exists, otherwise return NULL //// Get the tangible if it exists, otherwise return NULL
//AActor* GetTangible(int64 id); //AActor* GetTangible(int64 id);