Enormouse overhaul
This commit is contained in:
@@ -31,15 +31,15 @@ public:
|
||||
|
||||
virtual void Handle() override
|
||||
{
|
||||
WingFetcher F;
|
||||
WingFetcher F(WingOut::Stdout);
|
||||
UObject* Obj = F.Walk(Object).Cast<UObject>();
|
||||
if (!Obj) return;
|
||||
|
||||
TArray<FWingProperty> Props = FWingProperty::GetDetailsMutable(Obj, CPF_Edit);
|
||||
FWingProperty* P = WingUtils::FindOneWithExternalID(Property, Props, TEXT("Property"));
|
||||
TArray<FWingProperty> Props = FWingProperty::GetDetails(Obj, CPF_Edit, true);
|
||||
FWingProperty* P = WingUtils::FindOneWithExternalID(Property, Props, TEXT("Property"), WingOut::Stdout);
|
||||
if (!P) return;
|
||||
|
||||
if (P->SetText(Value))
|
||||
UWingServer::Print(TEXT("OK\n"));
|
||||
if (P->SetText(Value, WingOut::Stdout))
|
||||
WingOut::Stdout.Print(TEXT("OK\n"));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user