This commit is contained in:
C
2023-02-06 17:17:44 +05:00
parent 9d03a8eb1b
commit e9f3169a6f
804 changed files with 2798 additions and 24737 deletions
@@ -0,0 +1,13 @@
// Copyright 2019 ayumax. All Rights Reserved.
#include "EasyXMLAttribute.h"
#include "EasyXMLElement.h"
UEasyXMLAttribute* UEasyXMLAttribute::CreateAttribute(UEasyXMLElement* ParentObject, FString _Name, FString _Value)
{
auto newAttribute = NewObject<UEasyXMLAttribute>(ParentObject == nullptr ? (UObject*)GetTransientPackage() : ParentObject);
newAttribute->Parent = ParentObject;
newAttribute->Name = _Name;
newAttribute->Value = _Value.TrimStartAndEnd();
return newAttribute;
}