Nameless Engine
Loading...
Searching...
No Matches
SerializeProperty.h
1#pragma once
2
3// External.
4#include "Refureku/Properties/PropertySettings.h"
5
6#include "SerializeProperty.generated.h"
7
8namespace ne RNAMESPACE() {
14 enum FieldSerializationType {
15 FST_WITH_OWNER,
16 FST_AS_EXTERNAL_FILE,
23 FST_AS_EXTERNAL_BINARY_FILE,
28 };
29
41 class RCLASS(rfk::PropertySettings(rfk::EEntityKind::Field, false, false)) Serialize
42 : public rfk::Property {
43 public:
44 Serialize() : Serialize(FieldSerializationType::FST_WITH_OWNER) {}
45
46 virtual ~Serialize() override = default;
47
53 Serialize(FieldSerializationType serializationType);
54
60 FieldSerializationType getSerializationType() const;
61
62 private:
64 FieldSerializationType serializationType;
65
66 ne_Serialize_GENERATED
67 };
68} // namespace ne RNAMESPACE()
69
70File_SerializeProperty_GENERATED
Definition: SerializeProperty.h:42
FieldSerializationType serializationType
Definition: SerializeProperty.h:64