|
@@ -25,7 +25,7 @@ namespace BansheeEngine
|
|
|
{
|
|
{
|
|
|
public:
|
|
public:
|
|
|
/** A base class for all modifications recorded in a diff. */
|
|
/** A base class for all modifications recorded in a diff. */
|
|
|
- struct BS_SCR_BE_EXPORT Modification : IReflectable
|
|
|
|
|
|
|
+ struct Modification : IReflectable
|
|
|
{
|
|
{
|
|
|
virtual ~Modification();
|
|
virtual ~Modification();
|
|
|
|
|
|
|
@@ -42,7 +42,7 @@ namespace BansheeEngine
|
|
|
* Contains a modification of a specific field in an object along with information about the field and its parent
|
|
* Contains a modification of a specific field in an object along with information about the field and its parent
|
|
|
* object.
|
|
* object.
|
|
|
*/
|
|
*/
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedField : IReflectable
|
|
|
|
|
|
|
+ struct ModifiedField : IReflectable
|
|
|
{
|
|
{
|
|
|
ModifiedField() { }
|
|
ModifiedField() { }
|
|
|
ModifiedField(const SPtr<ManagedSerializableTypeInfo>& parentType,
|
|
ModifiedField(const SPtr<ManagedSerializableTypeInfo>& parentType,
|
|
@@ -62,7 +62,7 @@ namespace BansheeEngine
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/** Represents a single modified array or list entry. */
|
|
/** Represents a single modified array or list entry. */
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedArrayEntry : IReflectable
|
|
|
|
|
|
|
+ struct ModifiedArrayEntry : IReflectable
|
|
|
{
|
|
{
|
|
|
ModifiedArrayEntry() { }
|
|
ModifiedArrayEntry() { }
|
|
|
ModifiedArrayEntry(UINT32 idx, const SPtr<Modification>& modification);
|
|
ModifiedArrayEntry(UINT32 idx, const SPtr<Modification>& modification);
|
|
@@ -80,7 +80,7 @@ namespace BansheeEngine
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/** Represents a single modified dictionary entry. */
|
|
/** Represents a single modified dictionary entry. */
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedDictionaryEntry : IReflectable
|
|
|
|
|
|
|
+ struct ModifiedDictionaryEntry : IReflectable
|
|
|
{
|
|
{
|
|
|
ModifiedDictionaryEntry() { }
|
|
ModifiedDictionaryEntry() { }
|
|
|
ModifiedDictionaryEntry(const SPtr<ManagedSerializableFieldData>& key, const SPtr<Modification>& modification);
|
|
ModifiedDictionaryEntry(const SPtr<ManagedSerializableFieldData>& key, const SPtr<Modification>& modification);
|
|
@@ -101,7 +101,7 @@ namespace BansheeEngine
|
|
|
* Contains data about all modifications in a single complex object (aside from arrays, list, dictionaries which are
|
|
* Contains data about all modifications in a single complex object (aside from arrays, list, dictionaries which are
|
|
|
* handled specially).
|
|
* handled specially).
|
|
|
*/
|
|
*/
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedObject : Modification
|
|
|
|
|
|
|
+ struct ModifiedObject : Modification
|
|
|
{
|
|
{
|
|
|
static SPtr<ModifiedObject> create();
|
|
static SPtr<ModifiedObject> create();
|
|
|
|
|
|
|
@@ -117,7 +117,7 @@ namespace BansheeEngine
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/** Contains data about all modifications in an array or a list. */
|
|
/** Contains data about all modifications in an array or a list. */
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedArray : Modification
|
|
|
|
|
|
|
+ struct ModifiedArray : Modification
|
|
|
{
|
|
{
|
|
|
static SPtr<ModifiedArray> create();
|
|
static SPtr<ModifiedArray> create();
|
|
|
|
|
|
|
@@ -135,7 +135,7 @@ namespace BansheeEngine
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/** Contains data about all modifications in a dictionary. */
|
|
/** Contains data about all modifications in a dictionary. */
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedDictionary : Modification
|
|
|
|
|
|
|
+ struct ModifiedDictionary : Modification
|
|
|
{
|
|
{
|
|
|
static SPtr<ModifiedDictionary> create();
|
|
static SPtr<ModifiedDictionary> create();
|
|
|
|
|
|
|
@@ -154,7 +154,7 @@ namespace BansheeEngine
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
/** Contains data about modification of a primitive field (field's new value). */
|
|
/** Contains data about modification of a primitive field (field's new value). */
|
|
|
- struct BS_SCR_BE_EXPORT ModifiedEntry : Modification
|
|
|
|
|
|
|
+ struct ModifiedEntry : Modification
|
|
|
{
|
|
{
|
|
|
ModifiedEntry() { }
|
|
ModifiedEntry() { }
|
|
|
ModifiedEntry(const SPtr<ManagedSerializableFieldData>& value);
|
|
ModifiedEntry(const SPtr<ManagedSerializableFieldData>& value);
|