Initial work on spawning tangibles from Luprex
This commit is contained in:
@@ -20,10 +20,6 @@ void FLockedWrapper::InitWrapper() {
|
||||
}
|
||||
|
||||
FString FLockedWrapper::FetchStdout() {
|
||||
if (Lockable.Wrapper.engine == nullptr) {
|
||||
return FString();
|
||||
}
|
||||
|
||||
uint32_t ndata; const char* data;
|
||||
Lockable.Wrapper.get_outgoing(Get(), 0, &ndata, &data);
|
||||
|
||||
@@ -38,3 +34,13 @@ FString FLockedWrapper::FetchStdout() {
|
||||
return FString(cps.size(), (const UCS2CHAR*)(&cps[0]));
|
||||
}
|
||||
|
||||
int64 FLockedWrapper::GetActor() {
|
||||
return Lockable.Wrapper.get_actor_id(Get());
|
||||
}
|
||||
|
||||
FLockedWrapper::IdList FLockedWrapper::GetNear(int64 id, double rx, double ry, double rz) {
|
||||
uint32 size;
|
||||
int64* data;
|
||||
Lockable.Wrapper.get_tangibles_near(Get(), id, rx, ry, rz, &size, &data);
|
||||
return IdList(data, size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user