Initial work on spawning tangibles from Luprex
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user