Initial work on spawning tangibles from Luprex

This commit is contained in:
2023-09-06 23:25:37 -04:00
parent 1482e5e43f
commit 4b3f36d7e7
6 changed files with 93 additions and 20 deletions

View File

@@ -22,6 +22,8 @@ class FLockedWrapper {
private:
FLockableWrapper& Lockable;
using IdList = TArrayView<const int64>;
public:
// The constructor of the FLockedWrapper claims the mutex.
FLockedWrapper(FLockableWrapper& w) : Lockable(w) {
@@ -56,4 +58,16 @@ public:
// Fetch Stdout as a string.
//
FString FetchStdout();
// Get the current Actor ID.
//
int64 GetActor();
// Get the list of tangibles near the actor.
//
// This function is fast but not free. You should fetch this
// once per frame and then store the IdList somewhere (like
// in the TangibleManager, for example).
//
IdList GetNear(int64 id, double rx, double ry, double rz);
};