Working on probe: drv_call_function now returns a string
This commit is contained in:
@@ -166,7 +166,7 @@ void AIntegrationGameModeBase::LuaCallInvoke(AActor *place) {
|
||||
if (place != nullptr) {
|
||||
place_id = UlxTangible::GetActorTangible(place)->TangibleId;
|
||||
}
|
||||
w->play_call_function(w.Get(), InvocationKind::LUA_CALL, place_id, datapk.size(), datapk.data());
|
||||
w.PlayCallFunction(InvocationKind::LUA_CALL, place_id, datapk);
|
||||
}
|
||||
|
||||
void AIntegrationGameModeBase::ExecuteDebuggingCommand(FlxLockedWrapper &w, const FString &fs) {
|
||||
@@ -183,7 +183,7 @@ void AIntegrationGameModeBase::ExecuteDebuggingCommand(FlxLockedWrapper &w, cons
|
||||
sb.write_fvector(FVector(2,3,4));
|
||||
std::string_view datapk = sb.view();
|
||||
int64 player = w.GetActor();
|
||||
w->play_call_function(w.Get(), InvocationKind::LUA_CALL, player, datapk.size(), datapk.data());
|
||||
w.PlayCallFunction(InvocationKind::LUA_CALL, player, datapk);
|
||||
} else {
|
||||
ConsoleOutput.AppendLine(TEXT("Unknown Command"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user