From 727e6c0fecf9603c7123bb4174b17e72d2a57316 Mon Sep 17 00:00:00 2001 From: muit Date: Thu, 5 Dec 2019 21:06:26 +0000 Subject: [PATCH] Fixed Value not being updated on instanced objects Fixes #5 --- AttributesExtension.uplugin | 4 ++-- Source/Attributes/Public/FloatAttr.h | 11 +++++++++++ Source/Attributes/Public/Int32Attr.h | 11 +++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/AttributesExtension.uplugin b/AttributesExtension.uplugin index 4658bf8..38abd5d 100644 --- a/AttributesExtension.uplugin +++ b/AttributesExtension.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, - "Version": 5, - "VersionName": "1.3b", + "Version": 6, + "VersionName": "1.3c", "FriendlyName": "Attributes Extension", "Description": "A lightweight attributes system for Unreal Engine 4", "MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/1f0ba37099a14e228a1ce5e4891ed70a", diff --git a/Source/Attributes/Public/FloatAttr.h b/Source/Attributes/Public/FloatAttr.h index 4d50602..0e96dde 100644 --- a/Source/Attributes/Public/FloatAttr.h +++ b/Source/Attributes/Public/FloatAttr.h @@ -54,6 +54,7 @@ struct ATTRIBUTES_API FFloatAttr : public FBaseAttr bool NetSerialize(FArchive& Ar, class UPackageMap* Map, bool& bOutSuccess); + void PostSerialize(const FArchive& Ar); void PostScriptConstruct(); FFloatModifiedMCDelegate& GetOnModified() { return OnModified; } @@ -71,6 +72,7 @@ struct TStructOpsTypeTraits : public TStructOpsTypeTraitsBase2 : public TStructOpsTypeTraitsBase2