Prop Get2/Set2
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
|||||||
for (const auto& Pair : Properties.Json->Values)
|
for (const auto& Pair : Properties.Json->Values)
|
||||||
{
|
{
|
||||||
TSharedPtr<IPropertyHandle>* P = WingUtils::FindOneWithExternalID(Pair.Key, Handles, TEXT("Property"));
|
TSharedPtr<IPropertyHandle>* P = WingUtils::FindOneWithExternalID(Pair.Key, Handles, TEXT("Property"));
|
||||||
if (P && WingPropHandle::SetJson(**P, Pair.Value)) SuccessCount++;
|
if (WingPropHandle::SetJson(**P, Pair.Value)) SuccessCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
UWingServer::Printf(TEXT("Set %d/%d properties.\n"), SuccessCount, Properties.Json->Values.Num());
|
UWingServer::Printf(TEXT("Set %d/%d properties.\n"), SuccessCount, Properties.Json->Values.Num());
|
||||||
|
|||||||
Reference in New Issue
Block a user