Working on probe: drv_call_function now returns a string
This commit is contained in:
@@ -50,6 +50,13 @@ IdView FlxLockedWrapper::GetNear(int64 id, double rx, double ry, double rz) {
|
||||
return IdView(data, size);
|
||||
}
|
||||
|
||||
std::string_view FlxLockedWrapper::PlayCallFunction(InvocationKind kind, int64 place, std::string_view datapk) {
|
||||
uint32_t retpklen;
|
||||
const char *retpk;
|
||||
Lockable.Wrapper.play_call_function(Get(), kind, place, datapk.size(), datapk.data(), &retpklen, &retpk);
|
||||
return std::string_view(retpk, retpklen);
|
||||
}
|
||||
|
||||
StringViewVec FlxLockedWrapper::GetAnimationQueues(IdView ids) {
|
||||
// How many animation queues are we fetching?
|
||||
int num = ids.Num();
|
||||
|
||||
Reference in New Issue
Block a user