UDEPRECATED_K2Node_CastPatchToType::Serialize

What we need here is to serialize this node in both the parent and grand parent ways, because one will serialize the user defined pins (since this extends from [UK2Node_EditablePinBase](API\Editor\BlueprintGraph\UK2Node_EditablePinBase)), but by doing only the parent serialization, it'll skip the serialization of the structs we have as IN pins (UE bug?).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

DMXBlueprintGraph

Header

/Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXBlueprintGraph/Public/K2Node_CastPatchToType.h

Include

#include "K2Node_CastPatchToType.h"

Source

/Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXBlueprintGraph/Private/K2Node_CastPatchToType.cpp

Syntax

virtual void Serialize
(
    FArchive & Ar
)

Remarks

What we need here is to serialize this node in both the parent and grand parent ways, because one will serialize the user defined pins (since this extends from UK2Node_EditablePinBase), but by doing only the parent serialization, it'll skip the serialization of the structs we have as IN pins (UE bug?). However, the grandparent class serializes it correctly. This method basically merges both serializations so it works as expected