Better handling of property mutability, and also, walk into structs.

This commit is contained in:
2026-04-04 23:57:59 -04:00
parent bd138e2790
commit c949a4db05
19 changed files with 172 additions and 50 deletions

View File

@@ -331,7 +331,7 @@ void UWingServer::TryCallHandler(const FString &Line)
Handler->Configuration = Found;
// Populate the handler object with the request parameters.
TArray<FWingProperty> Props = FWingProperty::GetAll(Handler, CPF_Edit);
TArray<FWingProperty> Props = FWingProperty::GetVisible(Handler);
if (!FWingProperty::PopulateFromJson(Props, *Request, false, WingOut::Stdout))
{
UWingServer::SuggestManual(WingManual::Section::HandlerHelp);
@@ -365,8 +365,6 @@ void UWingServer::AcceptNewConnections()
Client->Socket = ClientSocket;
Client->ThreadFuture = Async(EAsyncExecution::Thread, [this, Client]() { ClientThreadFunc(this, Client); });
Clients.Add(Client);
UE_LOG(LogTemp, Display, TEXT("UEWingman: Client connected."));
}
void UWingServer::CleanupFinishedClients()
@@ -448,10 +446,8 @@ void UWingServer::ClientThreadFunc(UWingServer* Server, TSharedPtr<FClientConnec
}
Client->bDone = true;
UE_LOG(LogTemp, Display, TEXT("UEWingman: Client disconnected."));
}
// ============================================================
// BuildWingHandlerRegistry
// ============================================================