Some light rearranging prior to AnimQueue stuff
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "UObject/NoExportTypes.h"
|
||||
#include "CommonTypes.h"
|
||||
#include "TangibleManager.generated.h"
|
||||
|
||||
/**
|
||||
@@ -14,9 +15,10 @@ struct INTEGRATION_API FTangibleManager
|
||||
{
|
||||
GENERATED_BODY()
|
||||
public:
|
||||
using IdList = TArrayView<const int64>;
|
||||
// Import these types into our Namespace.
|
||||
using IdArray = LuprexCommonTypes::IdArray;
|
||||
using IdView = LuprexCommonTypes::IdView;
|
||||
|
||||
public:
|
||||
// A pointer to the UWorld.
|
||||
UWorld* World;
|
||||
|
||||
@@ -32,7 +34,7 @@ public:
|
||||
int64 Actor;
|
||||
|
||||
// Tangibles near the actor.
|
||||
IdList Near;
|
||||
IdView Near;
|
||||
|
||||
public:
|
||||
FTangibleManager();
|
||||
@@ -55,9 +57,15 @@ public:
|
||||
int64 GetActor() const { return Actor; };
|
||||
void SetActor(int64 id) { Actor = id; }
|
||||
|
||||
// Get/Set the list of tangibles near the player.
|
||||
// Get/Set the list of tangibles near the player, according to Luprex.
|
||||
//
|
||||
IdList GetNear() const { return Near; }
|
||||
void SetNear(IdList near) { Near = near; }
|
||||
IdView GetNear() const { return Near; }
|
||||
void SetNear(IdView near) { Near = near; }
|
||||
|
||||
// Get the Live list.
|
||||
//
|
||||
// Efficiency note: this makes a copy of the array.
|
||||
//
|
||||
IdArray GetLive();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user