diff --git a/arkoala-arkts/arkui/config/arkgen-config.json b/arkoala-arkts/arkui/config/arkgen-config.json index ccd5f7d789b1543532fae8f57f67502dd95758fd..c909b17c5b3709d4cab13f4b371bfdea3b646fec 100644 --- a/arkoala-arkts/arkui/config/arkgen-config.json +++ b/arkoala-arkts/arkui/config/arkgen-config.json @@ -574,7 +574,8 @@ "TapGestureHandler", "RotationGestureHandler", "SwipeGestureHandler", - "ModifierState" + "ModifierState", + "makeBindable" ], "ignoreEntry": [ "Optional", diff --git a/arkoala-arkts/arkui/src/component/common.ets b/arkoala-arkts/arkui/src/component/common.ets index 1dd9eab89c72a72aa2c0da00873283bf8885456d..b5992a0f103bd1bdad7fe1eb390ed162ba56bf9a 100644 --- a/arkoala-arkts/arkui/src/component/common.ets +++ b/arkoala-arkts/arkui/src/component/common.ets @@ -43,4 +43,8 @@ export type Optional = T | undefined export interface DynamicNode { onMove(handler: Optional): this; onMove(handler: Optional, eventHandler: ItemDragEventHandler): this; -} \ No newline at end of file +} + +export function makeBindable(value: T, onChange: Callback): Bindable { + return { value: value, onChange: onChange }; +} diff --git a/arkoala-arkts/framework/native/src/generated/Serializers.h b/arkoala-arkts/framework/native/src/generated/Serializers.h index 7e61c7451d6aaaa0f4cc85ab4d4f1c9336db4b65..36256626ea9db79227c71bc42b1f527cb88779a8 100644 --- a/arkoala-arkts/framework/native/src/generated/Serializers.h +++ b/arkoala-arkts/framework/native/src/generated/Serializers.h @@ -715,6 +715,35 @@ inline Ark_RuntimeType runtimeType(const Opt_AttributeModifier& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_AttributeModifierState& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AttributeModifierState value) { + result->append("Ark_AttributeModifierState("); + WriteToString(result, static_cast(value)); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AttributeModifierState* value) { + result->append("{.tag="); + result->append(tagNameExact(reinterpret_cast(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AttributeModifierState& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_AttributeUpdater& value) { return INTEROP_RUNTIME_OBJECT; @@ -39543,16 +39572,16 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_BorderStyle_EdgeStyles& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CustomNodeBuilder_DragItemInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_CustomNodeBuilder_CustomNodeBuilder& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_CustomNodeBuilder_DragItemInfo: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_CustomNodeBuilder_CustomNodeBuilder: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder_DragItemInfo* value) { +inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder_CustomNodeBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -39562,7 +39591,7 @@ inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_DragItemInfo + // CustomNodeBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -39570,7 +39599,7 @@ inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder_DragItemInfo* value) { +inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder_CustomNodeBuilder* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -39583,22 +39612,21 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomNodeBuilder_DragItemInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomNodeBuilder_CustomNodeBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CustomNodeBuilder_DragItemInfo_String& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_CustomNodeBuilder_DragItemInfo& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_CustomNodeBuilder_DragItemInfo_String: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_CustomNodeBuilder_DragItemInfo: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder_DragItemInfo_String* value) { +inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder_DragItemInfo* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -39613,15 +39641,10 @@ inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_String - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder_DragItemInfo_String* value) { +inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder_DragItemInfo* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -39634,21 +39657,22 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomNodeBuilder_DragItemInfo_String& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomNodeBuilder_DragItemInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CustomNodeBuilder_ExtendableComponent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_CustomNodeBuilder_DragItemInfo_String& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_CustomNodeBuilder_ExtendableComponent: %d", value.selector); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_CustomNodeBuilder_DragItemInfo_String: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder_ExtendableComponent* value) { +inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder_DragItemInfo_String* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -39658,15 +39682,20 @@ inline void WriteToString(std::string* result, const Ark_Union_CustomNodeBuilder result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_ExtendableComponent + // Ark_DragItemInfo if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } + // Ark_String + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder_ExtendableComponent* value) { +inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder_DragItemInfo_String* value) { result->append("{.tag="); result->append(tagNameExact(reinterpret_cast(value->tag))); result->append(", .value="); @@ -39679,7 +39708,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomNodeBuilder result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomNodeBuilder_ExtendableComponent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomNodeBuilder_DragItemInfo_String& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -54369,7 +54398,7 @@ inline Ark_RuntimeType runtimeType(const Ark_CustomDialogControllerOptions& valu template <> inline void WriteToString(std::string* result, const Ark_CustomDialogControllerOptions* value) { result->append("{"); - // Ark_Union_CustomNodeBuilder_ExtendableComponent builder + // Ark_Union_CustomNodeBuilder_CustomNodeBuilder builder result->append(".builder="); WriteToString(result, &value->builder); // synthetic_Callback_Void cancel @@ -99329,7 +99358,9 @@ inline void ArkuiComponentCustomDialogControllerCustomDialogControllerOptionsSer } else if (valueHolderForBuilder.selector == 1) { valueSerializer.writeInt8(1); const auto valueHolderForBuilderForIdx1 = valueHolderForBuilder.value1; - valueSerializer.writeObject(valueHolderForBuilderForIdx1); + valueSerializer.writeCallbackResource(valueHolderForBuilderForIdx1.resource); + valueSerializer.writePointer(reinterpret_cast(valueHolderForBuilderForIdx1.call)); + valueSerializer.writePointer(reinterpret_cast(valueHolderForBuilderForIdx1.callSync)); } const auto valueHolderForCancel = value.cancel; if (runtimeType(valueHolderForCancel) != INTEROP_RUNTIME_UNDEFINED) { @@ -99781,18 +99812,18 @@ inline Ark_CustomDialogControllerOptions ArkuiComponentCustomDialogControllerCus Ark_CustomDialogControllerOptions value = {}; DeserializerBase& valueDeserializer = buffer; const Ark_Int8 builderTmpBufUnionSelector = valueDeserializer.readInt8(); - Ark_Union_CustomNodeBuilder_ExtendableComponent builderTmpBuf = {}; + Ark_Union_CustomNodeBuilder_CustomNodeBuilder builderTmpBuf = {}; builderTmpBuf.selector = builderTmpBufUnionSelector; if (builderTmpBufUnionSelector == 0) { builderTmpBuf.selector = 0; builderTmpBuf.value0 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; } else if (builderTmpBufUnionSelector == 1) { builderTmpBuf.selector = 1; - builderTmpBuf.value1 = static_cast(valueDeserializer.readObject()); + builderTmpBuf.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; } else { INTEROP_FATAL("One of the branches for builderTmpBuf has to be chosen through deserialisation."); } - value.builder = static_cast(builderTmpBuf); + value.builder = static_cast(builderTmpBuf); const auto cancelTmpBufRuntimeType = static_cast(valueDeserializer.readInt8()); Opt_synthetic_Callback_Void cancelTmpBuf = {}; cancelTmpBuf.tag = cancelTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; diff --git a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h index bc832840851babecbef6885e1b19190749b05dec..dd8aca854e594c90927963fa498bd9c2256391f8 100644 --- a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h @@ -183,9 +183,22 @@ typedef struct InteropObject { InteropCallbackResource resource; } InteropObject; -typedef struct InteropException { +typedef enum InteropExceptionKind { + EXCEPTION_INTERFACE = 0, + EXCEPTION_OBJECT = 1, +} InteropExceptionKind; + +typedef struct InteropExceptionInterface { InteropInt32 code; InteropString message; +} InteropExceptionInterface; + +typedef struct InteropException { + InteropExceptionKind kind; + union { + InteropExceptionInterface interface; + InteropObject object; + }; } InteropException; #endif // _INTEROP_TYPES_H_ @@ -2163,12 +2176,12 @@ typedef struct Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier Ark_Union_Boole typedef struct Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier; typedef struct Ark_Union_BorderStyle_EdgeStyles Ark_Union_BorderStyle_EdgeStyles; typedef struct Opt_Union_BorderStyle_EdgeStyles Opt_Union_BorderStyle_EdgeStyles; +typedef struct Ark_Union_CustomNodeBuilder_CustomNodeBuilder Ark_Union_CustomNodeBuilder_CustomNodeBuilder; +typedef struct Opt_Union_CustomNodeBuilder_CustomNodeBuilder Opt_Union_CustomNodeBuilder_CustomNodeBuilder; typedef struct Ark_Union_CustomNodeBuilder_DragItemInfo Ark_Union_CustomNodeBuilder_DragItemInfo; typedef struct Opt_Union_CustomNodeBuilder_DragItemInfo Opt_Union_CustomNodeBuilder_DragItemInfo; typedef struct Ark_Union_CustomNodeBuilder_DragItemInfo_String Ark_Union_CustomNodeBuilder_DragItemInfo_String; typedef struct Opt_Union_CustomNodeBuilder_DragItemInfo_String Opt_Union_CustomNodeBuilder_DragItemInfo_String; -typedef struct Ark_Union_CustomNodeBuilder_ExtendableComponent Ark_Union_CustomNodeBuilder_ExtendableComponent; -typedef struct Opt_Union_CustomNodeBuilder_ExtendableComponent Opt_Union_CustomNodeBuilder_ExtendableComponent; typedef struct Ark_Union_Date_Bindable_Date Ark_Union_Date_Bindable_Date; typedef struct Opt_Union_Date_Bindable_Date Opt_Union_Date_Bindable_Date; typedef struct Ark_Union_DragPreviewMode_Array_DragPreviewMode Ark_Union_DragPreviewMode_Array_DragPreviewMode; @@ -2931,8 +2944,6 @@ typedef Ark_Object Ark_ComponentContentBase; typedef Opt_Object Opt_ComponentContentBase; typedef Ark_Object Ark_ContentModifier; typedef Opt_Object Opt_ContentModifier; -typedef Ark_Object Ark_ExtendableComponent; -typedef Opt_Object Opt_ExtendableComponent; typedef Ark_Object Ark_Gesture; typedef Opt_Object Opt_Gesture; typedef Ark_Object Ark_GestureGroup; @@ -3216,6 +3227,18 @@ typedef struct Opt_ArrowPosition { Ark_Tag tag; Ark_ArrowPosition value; } Opt_ArrowPosition; +typedef enum Ark_AttributeModifierState { + ARK_ATTRIBUTE_MODIFIER_STATE_NORMAL = 0, + ARK_ATTRIBUTE_MODIFIER_STATE_PRESSED = 1, + ARK_ATTRIBUTE_MODIFIER_STATE_FOCUSED = 2, + ARK_ATTRIBUTE_MODIFIER_STATE_DISABLED = 3, + ARK_ATTRIBUTE_MODIFIER_STATE_SELECTED = 4, + ARK_ATTRIBUTE_MODIFIER_STATE_ALL = 5, +} Ark_AttributeModifierState; +typedef struct Opt_AttributeModifierState { + Ark_Tag tag; + Ark_AttributeModifierState value; +} Opt_AttributeModifierState; typedef enum Ark_AttributeUpdaterFlag { ARK_ATTRIBUTE_UPDATER_FLAG_INITIAL = 0, ARK_ATTRIBUTE_UPDATER_FLAG_UPDATE = 1, @@ -4256,12 +4279,12 @@ typedef struct Opt_ImageContent { Ark_ImageContent value; } Opt_ImageContent; typedef enum Ark_ImageFit { - ARK_IMAGE_FIT_CONTAIN = 0, - ARK_IMAGE_FIT_COVER = 1, - ARK_IMAGE_FIT_AUTO = 2, - ARK_IMAGE_FIT_FILL = 3, - ARK_IMAGE_FIT_SCALE_DOWN = 4, + ARK_IMAGE_FIT_FILL = 0, + ARK_IMAGE_FIT_CONTAIN = 1, + ARK_IMAGE_FIT_COVER = 2, + ARK_IMAGE_FIT_AUTO = 3, ARK_IMAGE_FIT_NONE = 5, + ARK_IMAGE_FIT_SCALE_DOWN = 6, ARK_IMAGE_FIT_TOP_START = 7, ARK_IMAGE_FIT_TOP = 8, ARK_IMAGE_FIT_TOP_END = 9, @@ -4331,11 +4354,11 @@ typedef struct Opt_ImageSize { Ark_ImageSize value; } Opt_ImageSize; typedef enum Ark_ImageSpanAlignment { - ARK_IMAGE_SPAN_ALIGNMENT_BASELINE = 0, - ARK_IMAGE_SPAN_ALIGNMENT_BOTTOM = 1, + ARK_IMAGE_SPAN_ALIGNMENT_BASELINE = 4, + ARK_IMAGE_SPAN_ALIGNMENT_BOTTOM = 3, ARK_IMAGE_SPAN_ALIGNMENT_CENTER = 2, - ARK_IMAGE_SPAN_ALIGNMENT_TOP = 3, - ARK_IMAGE_SPAN_ALIGNMENT_FOLLOW_PARAGRAPH = 4, + ARK_IMAGE_SPAN_ALIGNMENT_TOP = 1, + ARK_IMAGE_SPAN_ALIGNMENT_FOLLOW_PARAGRAPH = 5, } Ark_ImageSpanAlignment; typedef struct Opt_ImageSpanAlignment { Ark_Tag tag; @@ -14142,6 +14165,18 @@ typedef struct Opt_Union_BorderStyle_EdgeStyles { Ark_Tag tag; Ark_Union_BorderStyle_EdgeStyles value; } Opt_Union_BorderStyle_EdgeStyles; +typedef struct Ark_Union_CustomNodeBuilder_CustomNodeBuilder { + /* kind: UnionType */ + Ark_Int32 selector; + union { + CustomNodeBuilder value0; + CustomNodeBuilder value1; + }; +} Ark_Union_CustomNodeBuilder_CustomNodeBuilder; +typedef struct Opt_Union_CustomNodeBuilder_CustomNodeBuilder { + Ark_Tag tag; + Ark_Union_CustomNodeBuilder_CustomNodeBuilder value; +} Opt_Union_CustomNodeBuilder_CustomNodeBuilder; typedef struct Ark_Union_CustomNodeBuilder_DragItemInfo { /* kind: UnionType */ Ark_Int32 selector; @@ -14167,18 +14202,6 @@ typedef struct Opt_Union_CustomNodeBuilder_DragItemInfo_String { Ark_Tag tag; Ark_Union_CustomNodeBuilder_DragItemInfo_String value; } Opt_Union_CustomNodeBuilder_DragItemInfo_String; -typedef struct Ark_Union_CustomNodeBuilder_ExtendableComponent { - /* kind: UnionType */ - Ark_Int32 selector; - union { - CustomNodeBuilder value0; - Ark_ExtendableComponent value1; - }; -} Ark_Union_CustomNodeBuilder_ExtendableComponent; -typedef struct Opt_Union_CustomNodeBuilder_ExtendableComponent { - Ark_Tag tag; - Ark_Union_CustomNodeBuilder_ExtendableComponent value; -} Opt_Union_CustomNodeBuilder_ExtendableComponent; typedef struct Ark_Union_Date_Bindable_Date { /* kind: UnionType */ Ark_Int32 selector; @@ -17962,7 +17985,7 @@ typedef struct Opt_ContextMenuOptions { } Opt_ContextMenuOptions; typedef struct Ark_CustomDialogControllerOptions { /* kind: Interface */ - Ark_Union_CustomNodeBuilder_ExtendableComponent builder; + Ark_Union_CustomNodeBuilder_CustomNodeBuilder builder; Opt_synthetic_Callback_Void cancel; Opt_Boolean autoCancel; Opt_DialogAlignment alignment; @@ -22213,6 +22236,7 @@ typedef struct GENERATED_ArkUIAccessibilityHoverEventAccessor { void (*destroyPeer)(Ark_AccessibilityHoverEvent peer); Ark_AccessibilityHoverEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_AccessibilityHoverEvent peer); Ark_AccessibilityHoverType (*getType)(Ark_AccessibilityHoverEvent peer); void (*setType)(Ark_AccessibilityHoverEvent peer, Ark_AccessibilityHoverType type); @@ -22269,6 +22293,7 @@ typedef struct GENERATED_ArkUIAppearSymbolEffectAccessor { void (*destroyPeer)(Ark_AppearSymbolEffect peer); Ark_AppearSymbolEffect (*construct)(const Opt_EffectScope* scope); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_AppearSymbolEffect peer); Opt_EffectScope (*getScope)(Ark_AppearSymbolEffect peer); void (*setScope)(Ark_AppearSymbolEffect peer, const Opt_EffectScope* scope); @@ -22278,6 +22303,7 @@ typedef struct GENERATED_ArkUIAxisEventAccessor { void (*destroyPeer)(Ark_AxisEvent peer); Ark_AxisEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_AxisEvent peer); void (*propagation)(Ark_AxisEvent peer); Ark_Float64 (*getHorizontalAxisValue)(Ark_AxisEvent peer); Ark_Float64 (*getVerticalAxisValue)(Ark_AxisEvent peer); @@ -22312,6 +22338,7 @@ typedef struct GENERATED_ArkUIBackgroundColorStyleAccessor { void (*destroyPeer)(Ark_BackgroundColorStyle peer); Ark_BackgroundColorStyle (*construct)(const Ark_TextBackgroundStyle* textBackgroundStyle); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BackgroundColorStyle peer); Ark_TextBackgroundStyle (*getTextBackgroundStyle)(Ark_BackgroundColorStyle peer); } GENERATED_ArkUIBackgroundColorStyleAccessor; @@ -22319,6 +22346,7 @@ typedef struct GENERATED_ArkUIBaseEventAccessor { void (*destroyPeer)(Ark_BaseEvent peer); Ark_BaseEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BaseEvent peer); Ark_EventTarget (*getTarget)(Ark_BaseEvent peer); void (*setTarget)(Ark_BaseEvent peer, const Ark_EventTarget* target); @@ -22367,6 +22395,7 @@ typedef struct GENERATED_ArkUIBaseGestureEventAccessor { void (*destroyPeer)(Ark_BaseGestureEvent peer); Ark_BaseGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BaseGestureEvent peer); Array_FingerInfo (*getFingerList)(Ark_BaseGestureEvent peer); void (*setFingerList)(Ark_BaseGestureEvent peer, const Array_FingerInfo* fingerList); @@ -22379,6 +22408,7 @@ typedef struct GENERATED_ArkUIBaselineOffsetStyleAccessor { void (*destroyPeer)(Ark_BaselineOffsetStyle peer); Ark_BaselineOffsetStyle (*construct)(Ark_LengthMetrics value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BaselineOffsetStyle peer); Ark_Float64 (*getBaselineOffset)(Ark_BaselineOffsetStyle peer); } GENERATED_ArkUIBaselineOffsetStyleAccessor; @@ -22386,6 +22416,7 @@ typedef struct GENERATED_ArkUIBaseShapeAccessor { void (*destroyPeer)(Ark_arkui_component_idlize_BaseShape peer); Ark_arkui_component_idlize_BaseShape (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_arkui_component_idlize_BaseShape peer); Ark_arkui_component_idlize_BaseShape (*width)(Ark_arkui_component_idlize_BaseShape peer, const Ark_Length* width); Ark_arkui_component_idlize_BaseShape (*height)(Ark_arkui_component_idlize_BaseShape peer, @@ -22399,6 +22430,7 @@ typedef struct GENERATED_ArkUIBottomTabBarStyleAccessor { Ark_BottomTabBarStyle (*construct)(const Ark_Union_ResourceStr_TabBarSymbol* icon, const Ark_ResourceStr* text); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BottomTabBarStyle peer); Ark_BottomTabBarStyle (*of)(const Ark_Union_ResourceStr_TabBarSymbol* icon, const Ark_ResourceStr* text); Ark_BottomTabBarStyle (*labelStyle)(Ark_BottomTabBarStyle peer, @@ -22422,6 +22454,7 @@ typedef struct GENERATED_ArkUIBounceSymbolEffectAccessor { Ark_BounceSymbolEffect (*construct)(const Opt_EffectScope* scope, const Opt_EffectDirection* direction); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BounceSymbolEffect peer); Opt_EffectScope (*getScope)(Ark_BounceSymbolEffect peer); void (*setScope)(Ark_BounceSymbolEffect peer, const Opt_EffectScope* scope); @@ -22434,6 +22467,7 @@ typedef struct GENERATED_ArkUIBuilderNodeOpsAccessor { void (*destroyPeer)(Ark_BuilderNodeOps peer); Ark_BuilderNodeOps (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_BuilderNodeOps peer); void (*create)(Ark_BuilderNodeOps peer, const Custom_Callback_Void* buildFunc); void (*disposeNode)(Ark_BuilderNodeOps peer); @@ -22451,6 +22485,7 @@ typedef struct GENERATED_ArkUICalendarPickerDialogAccessor { void (*destroyPeer)(Ark_CalendarPickerDialog peer); Ark_CalendarPickerDialog (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CalendarPickerDialog peer); void (*show)(const Opt_CalendarDialogOptions* options); } GENERATED_ArkUICalendarPickerDialogAccessor; @@ -22458,6 +22493,7 @@ typedef struct GENERATED_ArkUICanvasGradientAccessor { void (*destroyPeer)(Ark_CanvasGradient peer); Ark_CanvasGradient (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CanvasGradient peer); Throws_void (*addColorStop)(Ark_CanvasGradient peer, Ark_Float64 offset, const Ark_Union_String_ColorMetrics* color); @@ -22467,6 +22503,7 @@ typedef struct GENERATED_ArkUICanvasPathAccessor { void (*destroyPeer)(Ark_CanvasPath peer); Ark_CanvasPath (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CanvasPath peer); void (*arc)(Ark_CanvasPath peer, Ark_Float64 x, Ark_Float64 y, @@ -22519,6 +22556,7 @@ typedef struct GENERATED_ArkUICanvasPatternAccessor { void (*destroyPeer)(Ark_CanvasPattern peer); Ark_CanvasPattern (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CanvasPattern peer); void (*setTransform)(Ark_CanvasPattern peer, const Opt_Matrix2D* transform); } GENERATED_ArkUICanvasPatternAccessor; @@ -22527,6 +22565,7 @@ typedef struct GENERATED_ArkUICanvasRendererAccessor { void (*destroyPeer)(Ark_CanvasRenderer peer); Ark_CanvasRenderer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CanvasRenderer peer); void (*drawImage0)(Ark_CanvasRenderer peer, const Ark_Union_ImageBitmap_image_PixelMap* image, Ark_Float64 dx, @@ -22719,6 +22758,7 @@ typedef struct GENERATED_ArkUICanvasRenderingContext2DAccessor { Ark_CanvasRenderingContext2D (*construct)(const Opt_RenderingContextSettings* settings, const Opt_LengthMetricsUnit* unit); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CanvasRenderingContext2D peer); Ark_String (*toDataURL)(Ark_CanvasRenderingContext2D peer, const Opt_String* type, const Opt_Float64* quality); @@ -22745,6 +22785,7 @@ typedef struct GENERATED_ArkUIChildrenMainSizeAccessor { void (*destroyPeer)(Ark_ChildrenMainSize peer); Ark_ChildrenMainSize (*construct)(Ark_Float64 childDefaultSize); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ChildrenMainSize peer); Throws_void (*splice)(Ark_ChildrenMainSize peer, Ark_Int32 start, const Opt_Int32* deleteCount, @@ -22761,6 +22802,7 @@ typedef struct GENERATED_ArkUIClickEventAccessor { void (*destroyPeer)(Ark_ClickEvent peer); Ark_ClickEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ClickEvent peer); Throws_void (*preventDefault)(Ark_ClickEvent peer); Ark_Float64 (*getDisplayX)(Ark_ClickEvent peer); void (*setDisplayX)(Ark_ClickEvent peer, @@ -22789,6 +22831,7 @@ typedef struct GENERATED_ArkUIColorContentAccessor { void (*destroyPeer)(Ark_ColorContent peer); Ark_ColorContent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ColorContent peer); Ark_ColorContent (*getORIGIN)(); } GENERATED_ArkUIColorContentAccessor; @@ -22796,12 +22839,14 @@ typedef struct GENERATED_ArkUIColorFilterAccessor { void (*destroyPeer)(Ark_ColorFilter peer); Ark_ColorFilter (*construct)(const Array_F64* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ColorFilter peer); } GENERATED_ArkUIColorFilterAccessor; typedef struct GENERATED_ArkUICommonShapeAccessor { void (*destroyPeer)(Ark_CommonShape peer); Ark_CommonShape (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CommonShape peer); Ark_CommonShape (*offset)(Ark_CommonShape peer, const Ark_Position* offset); Ark_CommonShape (*fill)(Ark_CommonShape peer, @@ -22869,6 +22914,7 @@ typedef struct GENERATED_ArkUICopyEventAccessor { void (*destroyPeer)(Ark_CopyEvent peer); Ark_CopyEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CopyEvent peer); void (*preventDefault)(Ark_CopyEvent peer); } GENERATED_ArkUICopyEventAccessor; @@ -22876,6 +22922,7 @@ typedef struct GENERATED_ArkUICrownEventAccessor { void (*destroyPeer)(Ark_CrownEvent peer); Ark_CrownEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CrownEvent peer); void (*stopPropagation)(Ark_CrownEvent peer); Ark_Int64 (*getTimestamp)(Ark_CrownEvent peer); void (*setTimestamp)(Ark_CrownEvent peer, @@ -22895,6 +22942,7 @@ typedef struct GENERATED_ArkUICustomDialogControllerAccessor { void (*destroyPeer)(Ark_CustomDialogController peer); Ark_CustomDialogController (*construct)(const Ark_CustomDialogControllerOptions* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CustomDialogController peer); void (*open)(Ark_CustomDialogController peer); void (*close)(Ark_CustomDialogController peer); Ark_CustomDialogControllerExternalOptions (*getExternalOptions)(Ark_CustomDialogController peer); @@ -22904,6 +22952,7 @@ typedef struct GENERATED_ArkUICustomDialogControllerExtenderAccessor { void (*destroyPeer)(Ark_CustomDialogControllerExtender peer); Ark_CustomDialogControllerExtender (*construct)(const Ark_CustomDialogControllerOptionsExtender* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CustomDialogControllerExtender peer); void (*open)(Ark_CustomDialogControllerExtender peer); void (*close)(Ark_CustomDialogControllerExtender peer); void (*setOwnerView)(Ark_CustomDialogControllerExtender peer, @@ -22915,6 +22964,7 @@ typedef struct GENERATED_ArkUICustomSpanAccessor { void (*destroyPeer)(Ark_CustomSpan peer); Ark_CustomSpan (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CustomSpan peer); void (*invalidate)(Ark_CustomSpan peer); Callback_CustomSpanMeasureInfo_CustomSpanMetrics (*getOnMeasure_callback)(Ark_CustomSpan peer); void (*setOnMeasure_callback)(Ark_CustomSpan peer, @@ -22928,6 +22978,7 @@ typedef struct GENERATED_ArkUICutEventAccessor { void (*destroyPeer)(Ark_CutEvent peer); Ark_CutEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_CutEvent peer); void (*preventDefault)(Ark_CutEvent peer); } GENERATED_ArkUICutEventAccessor; @@ -22935,6 +22986,7 @@ typedef struct GENERATED_ArkUIDecorationStyleAccessor { void (*destroyPeer)(Ark_DecorationStyle peer); Ark_DecorationStyle (*construct)(const Ark_DecorationStyleInterface* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DecorationStyle peer); Ark_TextDecorationType (*getType)(Ark_DecorationStyle peer); Opt_ResourceColor (*getColor)(Ark_DecorationStyle peer); Opt_TextDecorationStyle (*getStyle)(Ark_DecorationStyle peer); @@ -22950,6 +23002,7 @@ typedef struct GENERATED_ArkUIDigitIndicatorAccessor { void (*destroyPeer)(Ark_DigitIndicator peer); Ark_DigitIndicator (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DigitIndicator peer); void (*fontColor)(Ark_DigitIndicator peer, const Opt_ResourceColor* value); void (*selectedFontColor)(Ark_DigitIndicator peer, @@ -22964,6 +23017,7 @@ typedef struct GENERATED_ArkUIDisappearSymbolEffectAccessor { void (*destroyPeer)(Ark_DisappearSymbolEffect peer); Ark_DisappearSymbolEffect (*construct)(const Opt_EffectScope* scope); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DisappearSymbolEffect peer); Opt_EffectScope (*getScope)(Ark_DisappearSymbolEffect peer); void (*setScope)(Ark_DisappearSymbolEffect peer, const Opt_EffectScope* scope); @@ -22973,6 +23027,7 @@ typedef struct GENERATED_ArkUIDismissDialogActionAccessor { void (*destroyPeer)(Ark_DismissDialogAction peer); Ark_DismissDialogAction (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DismissDialogAction peer); void (*dismiss)(Ark_DismissDialogAction peer); Ark_DismissReason (*getReason)(Ark_DismissDialogAction peer); void (*setReason)(Ark_DismissDialogAction peer, @@ -22983,6 +23038,7 @@ typedef struct GENERATED_ArkUIDismissPopupActionAccessor { void (*destroyPeer)(Ark_DismissPopupAction peer); Ark_DismissPopupAction (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DismissPopupAction peer); void (*dismiss)(Ark_DismissPopupAction peer); Ark_DismissReason (*getReason)(Ark_DismissPopupAction peer); void (*setReason)(Ark_DismissPopupAction peer, @@ -22993,6 +23049,7 @@ typedef struct GENERATED_ArkUIDotIndicatorAccessor { void (*destroyPeer)(Ark_DotIndicator peer); Ark_DotIndicator (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DotIndicator peer); void (*itemWidth)(Ark_DotIndicator peer, const Opt_Length* value); void (*itemHeight)(Ark_DotIndicator peer, @@ -23017,6 +23074,7 @@ typedef struct GENERATED_ArkUIDragEventAccessor { void (*destroyPeer)(Ark_DragEvent peer); Ark_DragEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DragEvent peer); Ark_Float64 (*getDisplayX)(Ark_DragEvent peer); Ark_Float64 (*getDisplayY)(Ark_DragEvent peer); Ark_Float64 (*getWindowX)(Ark_DragEvent peer); @@ -23050,6 +23108,7 @@ typedef struct GENERATED_ArkUIDrawingRenderingContextAccessor { void (*destroyPeer)(Ark_DrawingRenderingContext peer); Ark_DrawingRenderingContext (*construct)(const Opt_LengthMetricsUnit* unit); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DrawingRenderingContext peer); void (*invalidate)(Ark_DrawingRenderingContext peer); Ark_Size (*getSize)(Ark_DrawingRenderingContext peer); Opt_drawing_Canvas (*getCanvas)(Ark_DrawingRenderingContext peer); @@ -23059,6 +23118,7 @@ typedef struct GENERATED_ArkUIDrawModifierAccessor { void (*destroyPeer)(Ark_DrawModifier peer); Ark_DrawModifier (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_DrawModifier peer); void (*invalidate)(Ark_DrawModifier peer); Callback_DrawContext_Void (*getDrawBehind_callback)(Ark_DrawModifier peer); void (*setDrawBehind_callback)(Ark_DrawModifier peer, @@ -23091,6 +23151,7 @@ typedef struct GENERATED_ArkUIEventTargetInfoAccessor { void (*destroyPeer)(Ark_EventTargetInfo peer); Ark_EventTargetInfo (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_EventTargetInfo peer); Ark_String (*getId)(Ark_EventTargetInfo peer); } GENERATED_ArkUIEventTargetInfoAccessor; @@ -23098,6 +23159,7 @@ typedef struct GENERATED_ArkUIFocusAxisEventAccessor { void (*destroyPeer)(Ark_FocusAxisEvent peer); Ark_FocusAxisEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_FocusAxisEvent peer); void (*stopPropagation)(Ark_FocusAxisEvent peer); Map_AxisModel_F64 (*getAxisMap)(Ark_FocusAxisEvent peer); void (*setAxisMap)(Ark_FocusAxisEvent peer, @@ -23194,6 +23256,7 @@ typedef struct GENERATED_ArkUIGestureEventAccessor { void (*destroyPeer)(Ark_GestureEvent peer); Ark_GestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_GestureEvent peer); Ark_Boolean (*getRepeat)(Ark_GestureEvent peer); void (*setRepeat)(Ark_GestureEvent peer, Ark_Boolean repeat); @@ -23294,6 +23357,7 @@ typedef struct GENERATED_ArkUIGestureRecognizerAccessor { void (*destroyPeer)(Ark_GestureRecognizer peer); Ark_GestureRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_GestureRecognizer peer); Ark_String (*getTag)(Ark_GestureRecognizer peer); Ark_GestureControl_GestureType (*getType)(Ark_GestureRecognizer peer); Ark_Boolean (*isBuiltIn)(Ark_GestureRecognizer peer); @@ -23312,6 +23376,7 @@ typedef struct GENERATED_ArkUIGestureStyleAccessor { void (*destroyPeer)(Ark_GestureStyle peer); Ark_GestureStyle (*construct)(const Opt_GestureStyleInterface* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_GestureStyle peer); } GENERATED_ArkUIGestureStyleAccessor; typedef struct GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor { @@ -23355,6 +23420,7 @@ typedef struct GENERATED_ArkUIHierarchicalSymbolEffectAccessor { void (*destroyPeer)(Ark_HierarchicalSymbolEffect peer); Ark_HierarchicalSymbolEffect (*construct)(const Opt_EffectFillStyle* fillStyle); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_HierarchicalSymbolEffect peer); Opt_EffectFillStyle (*getFillStyle)(Ark_HierarchicalSymbolEffect peer); void (*setFillStyle)(Ark_HierarchicalSymbolEffect peer, const Opt_EffectFillStyle* fillStyle); @@ -23364,6 +23430,7 @@ typedef struct GENERATED_ArkUIHoverEventAccessor { void (*destroyPeer)(Ark_HoverEvent peer); Ark_HoverEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_HoverEvent peer); void (*stopPropagation)(Ark_HoverEvent peer); Opt_Float64 (*getX)(Ark_HoverEvent peer); void (*setX)(Ark_HoverEvent peer, @@ -23389,6 +23456,7 @@ typedef struct GENERATED_ArkUIImageAnalyzerControllerAccessor { void (*destroyPeer)(Ark_ImageAnalyzerController peer); Ark_ImageAnalyzerController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ImageAnalyzerController peer); Array_ImageAnalyzerType (*getImageAnalyzerSupportTypes)(Ark_ImageAnalyzerController peer); } GENERATED_ArkUIImageAnalyzerControllerAccessor; @@ -23396,6 +23464,7 @@ typedef struct GENERATED_ArkUIImageAttachmentAccessor { void (*destroyPeer)(Ark_ImageAttachment peer); Ark_ImageAttachment (*construct)(const Opt_AttachmentType* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ImageAttachment peer); Ark_image_PixelMap (*getValue)(Ark_ImageAttachment peer); Opt_SizeOptions (*getSize)(Ark_ImageAttachment peer); Opt_ImageSpanAlignment (*getVerticalAlign)(Ark_ImageAttachment peer); @@ -23409,6 +23478,7 @@ typedef struct GENERATED_ArkUIImageBitmapAccessor { Ark_ImageBitmap (*construct)(const Ark_Union_image_PixelMap_String* src, const Opt_LengthMetricsUnit* unit); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ImageBitmap peer); void (*close)(Ark_ImageBitmap peer); Ark_Float64 (*getHeight)(Ark_ImageBitmap peer); Ark_Float64 (*getWidth)(Ark_ImageBitmap peer); @@ -23418,6 +23488,7 @@ typedef struct GENERATED_ArkUIIndicatorAccessor { void (*destroyPeer)(Ark_Indicator peer); Ark_Indicator (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_Indicator peer); void (*left)(Ark_Indicator peer, const Opt_Length* value); void (*top)(Ark_Indicator peer, @@ -23441,6 +23512,7 @@ typedef struct GENERATED_ArkUIIndicatorComponentControllerAccessor { void (*destroyPeer)(Ark_IndicatorComponentController peer); Ark_IndicatorComponentController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_IndicatorComponentController peer); void (*showNext)(Ark_IndicatorComponentController peer); void (*showPrevious)(Ark_IndicatorComponentController peer); void (*changeIndex)(Ark_IndicatorComponentController peer, @@ -23459,6 +23531,7 @@ typedef struct GENERATED_ArkUIKeyEventAccessor { void (*destroyPeer)(Ark_KeyEvent peer); Ark_KeyEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_KeyEvent peer); Ark_KeyType (*getType)(Ark_KeyEvent peer); void (*setType)(Ark_KeyEvent peer, Ark_KeyType type); @@ -23498,6 +23571,7 @@ typedef struct GENERATED_ArkUILayoutableAccessor { void (*destroyPeer)(Ark_Layoutable peer); Ark_Layoutable (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_Layoutable peer); void (*layout)(Ark_Layoutable peer, const Ark_Position* position); Opt_DirectionalEdgesT_F64 (*getMargin)(Ark_Layoutable peer); @@ -23515,6 +23589,7 @@ typedef struct GENERATED_ArkUILayoutChildAccessor { void (*destroyPeer)(Ark_LayoutChild peer); Ark_LayoutChild (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LayoutChild peer); void (*measure)(Ark_LayoutChild peer, const Ark_ConstraintSizeOptions* childConstraint); Ark_String (*getName)(Ark_LayoutChild peer); @@ -23532,6 +23607,7 @@ typedef struct GENERATED_ArkUILayoutManagerAccessor { void (*destroyPeer)(Ark_LayoutManager peer); Ark_LayoutManager (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LayoutManager peer); Opt_Int32 (*getLineCount)(Ark_LayoutManager peer); Opt_PositionWithAffinity (*getGlyphPositionAtCoordinate)(Ark_LayoutManager peer, Ark_Float64 x, @@ -23548,6 +23624,7 @@ typedef struct GENERATED_ArkUILayoutPolicyAccessor { void (*destroyPeer)(Ark_LayoutPolicy peer); Ark_LayoutPolicy (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LayoutPolicy peer); Ark_LayoutPolicy (*getMatchParent)(); } GENERATED_ArkUILayoutPolicyAccessor; @@ -23578,6 +23655,7 @@ typedef struct GENERATED_ArkUILetterSpacingStyleAccessor { void (*destroyPeer)(Ark_LetterSpacingStyle peer); Ark_LetterSpacingStyle (*construct)(Ark_LengthMetrics value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LetterSpacingStyle peer); Ark_Float64 (*getLetterSpacing)(Ark_LetterSpacingStyle peer); } GENERATED_ArkUILetterSpacingStyleAccessor; @@ -23585,12 +23663,14 @@ typedef struct GENERATED_ArkUILinearGradientAccessor { void (*destroyPeer)(Ark_LinearGradient peer); Ark_LinearGradient (*construct)(const Array_ColorStop* colorStops); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LinearGradient peer); } GENERATED_ArkUILinearGradientAccessor; typedef struct GENERATED_ArkUILineHeightStyleAccessor { void (*destroyPeer)(Ark_LineHeightStyle peer); Ark_LineHeightStyle (*construct)(Ark_LengthMetrics lineHeight); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LineHeightStyle peer); Ark_Float64 (*getLineHeight)(Ark_LineHeightStyle peer); } GENERATED_ArkUILineHeightStyleAccessor; @@ -23598,6 +23678,7 @@ typedef struct GENERATED_ArkUIListScrollerAccessor { void (*destroyPeer)(Ark_ListScroller peer); Ark_ListScroller (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ListScroller peer); Throws_RectResult (*getItemRectInGroup)(Ark_ListScroller peer, Ark_Int32 index, Ark_Int32 indexInGroup); @@ -23617,6 +23698,7 @@ typedef struct GENERATED_ArkUILongPressGestureEventAccessor { void (*destroyPeer)(Ark_LongPressGestureEvent peer); Ark_LongPressGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LongPressGestureEvent peer); Ark_Boolean (*getRepeat)(Ark_LongPressGestureEvent peer); void (*setRepeat)(Ark_LongPressGestureEvent peer, Ark_Boolean repeat); @@ -23626,6 +23708,7 @@ typedef struct GENERATED_ArkUILongPressRecognizerAccessor { void (*destroyPeer)(Ark_LongPressRecognizer peer); Ark_LongPressRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_LongPressRecognizer peer); Ark_Boolean (*isRepeat)(Ark_LongPressRecognizer peer); Ark_Int32 (*getDuration)(Ark_LongPressRecognizer peer); } GENERATED_ArkUILongPressRecognizerAccessor; @@ -23634,6 +23717,7 @@ typedef struct GENERATED_ArkUIMatrix2DAccessor { void (*destroyPeer)(Ark_Matrix2D peer); Ark_Matrix2D (*construct)(const Opt_LengthMetricsUnit* unit); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_Matrix2D peer); Ark_Matrix2D (*identity)(Ark_Matrix2D peer); Ark_Matrix2D (*invert)(Ark_Matrix2D peer); Ark_Matrix2D (*rotate)(Ark_Matrix2D peer, @@ -23670,6 +23754,7 @@ typedef struct GENERATED_ArkUIMeasurableAccessor { void (*destroyPeer)(Ark_Measurable peer); Ark_Measurable (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_Measurable peer); Opt_MeasureResult (*measure)(Ark_Measurable peer, const Ark_ConstraintSizeOptions* constraint); Opt_DirectionalEdgesT_F64 (*getMargin)(Ark_Measurable peer); @@ -23684,6 +23769,7 @@ typedef struct GENERATED_ArkUIMouseEventAccessor { void (*destroyPeer)(Ark_MouseEvent peer); Ark_MouseEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_MouseEvent peer); Ark_MouseButton (*getButton)(Ark_MouseEvent peer); void (*setButton)(Ark_MouseEvent peer, Ark_MouseButton button); @@ -23727,6 +23813,7 @@ typedef struct GENERATED_ArkUIMutableStyledStringAccessor { Ark_MutableStyledString (*construct)(const Ark_Union_String_ImageAttachment_CustomSpan* value, const Opt_Array_StyleOptions* styles); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_MutableStyledString peer); Throws_void (*replaceString)(Ark_MutableStyledString peer, Ark_Int32 start, Ark_Int32 length, @@ -23764,6 +23851,7 @@ typedef struct GENERATED_ArkUINavDestinationContextAccessor { void (*destroyPeer)(Ark_NavDestinationContext peer); Ark_NavDestinationContext (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_NavDestinationContext peer); Opt_RouteMapConfig (*getConfigInRouteMap)(Ark_NavDestinationContext peer); Ark_NavPathInfo (*getPathInfo)(Ark_NavDestinationContext peer); void (*setPathInfo)(Ark_NavDestinationContext peer, @@ -23813,6 +23901,7 @@ typedef struct GENERATED_ArkUINavigationTransitionProxyAccessor { void (*destroyPeer)(Ark_NavigationTransitionProxy peer); Ark_NavigationTransitionProxy (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_NavigationTransitionProxy peer); void (*finishTransition)(Ark_NavigationTransitionProxy peer); Ark_NavContentInfo (*getFrom)(Ark_NavigationTransitionProxy peer); void (*setFrom)(Ark_NavigationTransitionProxy peer, @@ -23838,6 +23927,7 @@ typedef struct GENERATED_ArkUINavPathInfoAccessor { const Opt_Callback_PopInfo_Void* onPop, const Opt_Boolean* isEntry); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_NavPathInfo peer); Ark_String (*getName)(Ark_NavPathInfo peer); void (*setName)(Ark_NavPathInfo peer, const Ark_String* name); @@ -23857,6 +23947,7 @@ typedef struct GENERATED_ArkUINavPathStackAccessor { void (*destroyPeer)(Ark_NavPathStack peer); Ark_NavPathStack (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_NavPathStack peer); void (*pushDestination0)(Ark_VMContext vmContext, Ark_AsyncWorkerPtr asyncWorker, Ark_NavPathStack peer, @@ -23955,7 +24046,8 @@ typedef struct GENERATED_ArkUIOffscreenCanvasAccessor { Ark_Float64 height, const Opt_LengthMetricsUnit* unit); Ark_NativePointer (*getFinalizer)(); - Ark_ImageBitmap (*transferToImageBitmap)(Ark_OffscreenCanvas peer); + void (*callHolder)(Ark_OffscreenCanvas peer); + Opt_ImageBitmap (*transferToImageBitmap)(Ark_OffscreenCanvas peer); Ark_OffscreenCanvasRenderingContext2D (*getContext2d)(Ark_OffscreenCanvas peer, const Opt_RenderingContextSettings* options); Ark_Float64 (*getHeight)(Ark_OffscreenCanvas peer); @@ -23973,16 +24065,18 @@ typedef struct GENERATED_ArkUIOffscreenCanvasRenderingContext2DAccessor { const Opt_RenderingContextSettings* settings, const Opt_LengthMetricsUnit* unit); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_OffscreenCanvasRenderingContext2D peer); Ark_String (*toDataURL)(Ark_OffscreenCanvasRenderingContext2D peer, const Opt_String* type, const Opt_Float64* quality); - Ark_ImageBitmap (*transferToImageBitmap)(Ark_OffscreenCanvasRenderingContext2D peer); + Opt_ImageBitmap (*transferToImageBitmap)(Ark_OffscreenCanvasRenderingContext2D peer); } GENERATED_ArkUIOffscreenCanvasRenderingContext2DAccessor; typedef struct GENERATED_ArkUIPanGestureEventAccessor { void (*destroyPeer)(Ark_PanGestureEvent peer); Ark_PanGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PanGestureEvent peer); Ark_Float64 (*getOffsetX)(Ark_PanGestureEvent peer); void (*setOffsetX)(Ark_PanGestureEvent peer, Ark_Float64 offsetX); @@ -24004,6 +24098,7 @@ typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { void (*destroyPeer)(Ark_PanGestureOptions peer); Ark_PanGestureOptions (*construct)(const Opt_PanGestureHandlerOptions* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PanGestureOptions peer); void (*setDirection)(Ark_PanGestureOptions peer, Ark_PanDirection value); void (*setDistance)(Ark_PanGestureOptions peer, @@ -24018,6 +24113,7 @@ typedef struct GENERATED_ArkUIPanRecognizerAccessor { void (*destroyPeer)(Ark_PanRecognizer peer); Ark_PanRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PanRecognizer peer); Ark_PanGestureOptions (*getPanGestureOptions)(Ark_PanRecognizer peer); } GENERATED_ArkUIPanRecognizerAccessor; @@ -24025,6 +24121,7 @@ typedef struct GENERATED_ArkUIParagraphStyleAccessor { void (*destroyPeer)(Ark_ParagraphStyle peer); Ark_ParagraphStyle (*construct)(const Opt_ParagraphStyleInterface* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ParagraphStyle peer); Opt_TextAlign (*getTextAlign)(Ark_ParagraphStyle peer); Opt_Float64 (*getTextIndent)(Ark_ParagraphStyle peer); Opt_Int32 (*getMaxLines)(Ark_ParagraphStyle peer); @@ -24049,6 +24146,7 @@ typedef struct GENERATED_ArkUIPasteEventAccessor { void (*destroyPeer)(Ark_PasteEvent peer); Ark_PasteEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PasteEvent peer); void (*preventDefault)(Ark_PasteEvent peer); } GENERATED_ArkUIPasteEventAccessor; @@ -24063,6 +24161,7 @@ typedef struct GENERATED_ArkUIPath2DAccessor { Ark_Path2D (*construct5)(const Ark_String* description, Ark_LengthMetricsUnit unit); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_Path2D peer); void (*addPath)(Ark_Path2D peer, Ark_Path2D path, const Opt_Matrix2D* transform); @@ -24072,6 +24171,7 @@ typedef struct GENERATED_ArkUIPatternLockControllerAccessor { void (*destroyPeer)(Ark_PatternLockController peer); Ark_PatternLockController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PatternLockController peer); void (*reset)(Ark_PatternLockController peer); void (*setChallengeResult)(Ark_PatternLockController peer, Ark_PatternLockChallengeResult result); @@ -24090,6 +24190,7 @@ typedef struct GENERATED_ArkUIPinchGestureEventAccessor { void (*destroyPeer)(Ark_PinchGestureEvent peer); Ark_PinchGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PinchGestureEvent peer); Ark_Float64 (*getScale)(Ark_PinchGestureEvent peer); void (*setScale)(Ark_PinchGestureEvent peer, Ark_Float64 scale); @@ -24105,6 +24206,7 @@ typedef struct GENERATED_ArkUIPinchRecognizerAccessor { void (*destroyPeer)(Ark_PinchRecognizer peer); Ark_PinchRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PinchRecognizer peer); Ark_Float64 (*getDistance)(Ark_PinchRecognizer peer); } GENERATED_ArkUIPinchRecognizerAccessor; @@ -24112,6 +24214,7 @@ typedef struct GENERATED_ArkUIPixelMapMockAccessor { void (*destroyPeer)(Ark_PixelMapMock peer); Ark_PixelMapMock (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PixelMapMock peer); void (*release)(Ark_PixelMapMock peer); } GENERATED_ArkUIPixelMapMockAccessor; @@ -24121,6 +24224,7 @@ typedef struct GENERATED_ArkUIProgressMaskAccessor { Ark_Float64 total, const Ark_ResourceColor* color); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ProgressMask peer); void (*updateProgress)(Ark_ProgressMask peer, Ark_Float64 value); void (*updateColor)(Ark_ProgressMask peer, @@ -24168,12 +24272,14 @@ typedef struct GENERATED_ArkUIPulseSymbolEffectAccessor { void (*destroyPeer)(Ark_PulseSymbolEffect peer); Ark_PulseSymbolEffect (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_PulseSymbolEffect peer); } GENERATED_ArkUIPulseSymbolEffectAccessor; typedef struct GENERATED_ArkUIRenderingContextSettingsAccessor { void (*destroyPeer)(Ark_RenderingContextSettings peer); Ark_RenderingContextSettings (*construct)(const Opt_Boolean* antialias); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RenderingContextSettings peer); Opt_Boolean (*getAntialias)(Ark_RenderingContextSettings peer); void (*setAntialias)(Ark_RenderingContextSettings peer, const Opt_Boolean* antialias); @@ -24285,6 +24391,7 @@ typedef struct GENERATED_ArkUIReplaceSymbolEffectAccessor { void (*destroyPeer)(Ark_ReplaceSymbolEffect peer); Ark_ReplaceSymbolEffect (*construct)(const Opt_EffectScope* scope); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ReplaceSymbolEffect peer); Opt_EffectScope (*getScope)(Ark_ReplaceSymbolEffect peer); void (*setScope)(Ark_ReplaceSymbolEffect peer, const Opt_EffectScope* scope); @@ -24295,6 +24402,7 @@ typedef struct GENERATED_ArkUIRestrictedWorkerAccessor { Ark_RestrictedWorker (*construct)(const Ark_String* scriptURL, const Opt_WorkerOptions* options); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RestrictedWorker peer); Throws_void (*postMessage0)(Ark_RestrictedWorker peer, const Ark_Object* message, const Array_Buffer* transfer); @@ -24346,6 +24454,7 @@ typedef struct GENERATED_ArkUIRichEditorBaseControllerAccessor { void (*destroyPeer)(Ark_RichEditorBaseController peer); Ark_RichEditorBaseController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RichEditorBaseController peer); Opt_Int32 (*getCaretOffset)(Ark_RichEditorBaseController peer); Opt_Boolean (*setCaretOffset)(Ark_RichEditorBaseController peer, Ark_Int32 offset); @@ -24368,6 +24477,7 @@ typedef struct GENERATED_ArkUIRichEditorControllerAccessor { void (*destroyPeer)(Ark_RichEditorController peer); Ark_RichEditorController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RichEditorController peer); Opt_Int32 (*addTextSpan)(Ark_RichEditorController peer, const Ark_ResourceStr* content, const Opt_RichEditorTextSpanOptions* options); @@ -24401,6 +24511,7 @@ typedef struct GENERATED_ArkUIRichEditorStyledStringControllerAccessor { void (*destroyPeer)(Ark_RichEditorStyledStringController peer); Ark_RichEditorStyledStringController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RichEditorStyledStringController peer); void (*setStyledString)(Ark_RichEditorStyledStringController peer, Ark_StyledString styledString); Opt_MutableStyledString (*getStyledString)(Ark_RichEditorStyledStringController peer); @@ -24413,6 +24524,7 @@ typedef struct GENERATED_ArkUIRotationGestureEventAccessor { void (*destroyPeer)(Ark_RotationGestureEvent peer); Ark_RotationGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RotationGestureEvent peer); Ark_Float64 (*getAngle)(Ark_RotationGestureEvent peer); void (*setAngle)(Ark_RotationGestureEvent peer, Ark_Float64 angle); @@ -24422,6 +24534,7 @@ typedef struct GENERATED_ArkUIRotationRecognizerAccessor { void (*destroyPeer)(Ark_RotationRecognizer peer); Ark_RotationRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_RotationRecognizer peer); Ark_Float64 (*getAngle)(Ark_RotationRecognizer peer); } GENERATED_ArkUIRotationRecognizerAccessor; @@ -24487,6 +24600,7 @@ typedef struct GENERATED_ArkUIScaleSymbolEffectAccessor { Ark_ScaleSymbolEffect (*construct)(const Opt_EffectScope* scope, const Opt_EffectDirection* direction); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ScaleSymbolEffect peer); Opt_EffectScope (*getScope)(Ark_ScaleSymbolEffect peer); void (*setScope)(Ark_ScaleSymbolEffect peer, const Opt_EffectScope* scope); @@ -24504,6 +24618,7 @@ typedef struct GENERATED_ArkUIScrollableTargetInfoAccessor { void (*destroyPeer)(Ark_ScrollableTargetInfo peer); Ark_ScrollableTargetInfo (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ScrollableTargetInfo peer); Ark_Boolean (*isBegin)(Ark_ScrollableTargetInfo peer); Ark_Boolean (*isEnd)(Ark_ScrollableTargetInfo peer); } GENERATED_ArkUIScrollableTargetInfoAccessor; @@ -24512,6 +24627,7 @@ typedef struct GENERATED_ArkUIScrollerAccessor { void (*destroyPeer)(Ark_Scroller peer); Ark_Scroller (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_Scroller peer); void (*scrollTo)(Ark_Scroller peer, const Ark_ScrollOptions* options); void (*scrollEdge)(Ark_Scroller peer, @@ -24542,6 +24658,7 @@ typedef struct GENERATED_ArkUIScrollResultAccessor { void (*destroyPeer)(Ark_ScrollResult peer); Ark_ScrollResult (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_ScrollResult peer); Ark_Float64 (*getOffsetRemain)(Ark_ScrollResult peer); void (*setOffsetRemain)(Ark_ScrollResult peer, Ark_Float64 offsetRemain); @@ -24551,6 +24668,7 @@ typedef struct GENERATED_ArkUISearchControllerAccessor { void (*destroyPeer)(Ark_SearchController peer); Ark_SearchController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SearchController peer); void (*caretPosition)(Ark_SearchController peer, Ark_Int32 value); void (*stopEditing)(Ark_SearchController peer); @@ -24570,6 +24688,7 @@ typedef struct GENERATED_ArkUISpringBackActionAccessor { void (*destroyPeer)(Ark_SpringBackAction peer); Ark_SpringBackAction (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SpringBackAction peer); void (*springBack)(Ark_SpringBackAction peer); } GENERATED_ArkUISpringBackActionAccessor; @@ -24592,6 +24711,7 @@ typedef struct GENERATED_ArkUIStyledStringAccessor { Ark_StyledString (*construct)(const Ark_Union_String_ImageAttachment_CustomSpan* value, const Opt_Array_StyleOptions* styles); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_StyledString peer); Ark_String (*getString)(Ark_StyledString peer); Throws_Opt_Array_SpanStyle (*getStyles)(Ark_StyledString peer, Ark_Int32 start, @@ -24626,6 +24746,7 @@ typedef struct GENERATED_ArkUIStyledStringControllerAccessor { void (*destroyPeer)(Ark_StyledStringController peer); Ark_StyledStringController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_StyledStringController peer); void (*setStyledString)(Ark_StyledStringController peer, Ark_StyledString styledString); Opt_MutableStyledString (*getStyledString)(Ark_StyledStringController peer); @@ -24635,6 +24756,7 @@ typedef struct GENERATED_ArkUISubmitEventAccessor { void (*destroyPeer)(Ark_SubmitEvent peer); Ark_SubmitEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SubmitEvent peer); void (*keepEditableState)(Ark_SubmitEvent peer); Ark_String (*getText)(Ark_SubmitEvent peer); void (*setText)(Ark_SubmitEvent peer, @@ -24645,6 +24767,7 @@ typedef struct GENERATED_ArkUISubTabBarStyleAccessor { void (*destroyPeer)(Ark_SubTabBarStyle peer); Ark_SubTabBarStyle (*construct)(const Ark_Union_ResourceStr_ComponentContent* content); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SubTabBarStyle peer); Ark_SubTabBarStyle (*of)(const Ark_Union_ResourceStr_ComponentContent* content); Ark_SubTabBarStyle (*indicator)(Ark_SubTabBarStyle peer, const Ark_SubTabBarIndicatorStyle* style); @@ -24666,6 +24789,7 @@ typedef struct GENERATED_ArkUISwipeGestureEventAccessor { void (*destroyPeer)(Ark_SwipeGestureEvent peer); Ark_SwipeGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SwipeGestureEvent peer); Ark_Float64 (*getAngle)(Ark_SwipeGestureEvent peer); void (*setAngle)(Ark_SwipeGestureEvent peer, Ark_Float64 angle); @@ -24678,6 +24802,7 @@ typedef struct GENERATED_ArkUISwiperContentTransitionProxyAccessor { void (*destroyPeer)(Ark_SwiperContentTransitionProxy peer); Ark_SwiperContentTransitionProxy (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SwiperContentTransitionProxy peer); void (*finishTransition)(Ark_SwiperContentTransitionProxy peer); Ark_Int32 (*getSelectedIndex)(Ark_SwiperContentTransitionProxy peer); void (*setSelectedIndex)(Ark_SwiperContentTransitionProxy peer, @@ -24697,6 +24822,7 @@ typedef struct GENERATED_ArkUISwiperControllerAccessor { void (*destroyPeer)(Ark_SwiperController peer); Ark_SwiperController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SwiperController peer); void (*showNext)(Ark_SwiperController peer); void (*showPrevious)(Ark_SwiperController peer); void (*changeIndex)(Ark_SwiperController peer, @@ -24715,6 +24841,7 @@ typedef struct GENERATED_ArkUISwipeRecognizerAccessor { void (*destroyPeer)(Ark_SwipeRecognizer peer); Ark_SwipeRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SwipeRecognizer peer); Ark_Float64 (*getVelocityThreshold)(Ark_SwipeRecognizer peer); Ark_SwipeDirection (*getDirection)(Ark_SwipeRecognizer peer); } GENERATED_ArkUISwipeRecognizerAccessor; @@ -24723,6 +24850,7 @@ typedef struct GENERATED_ArkUISymbolEffectAccessor { void (*destroyPeer)(Ark_SymbolEffect peer); Ark_SymbolEffect (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_SymbolEffect peer); } GENERATED_ArkUISymbolEffectAccessor; typedef struct GENERATED_ArkUISystemOpsAccessor { @@ -24747,6 +24875,7 @@ typedef struct GENERATED_ArkUITabBarSymbolAccessor { void (*destroyPeer)(Ark_TabBarSymbol peer); Ark_TabBarSymbol (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TabBarSymbol peer); Ark_SymbolGlyphModifier (*getNormal)(Ark_TabBarSymbol peer); void (*setNormal)(Ark_TabBarSymbol peer, Ark_SymbolGlyphModifier normal); @@ -24759,6 +24888,7 @@ typedef struct GENERATED_ArkUITabContentTransitionProxyAccessor { void (*destroyPeer)(Ark_TabContentTransitionProxy peer); Ark_TabContentTransitionProxy (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TabContentTransitionProxy peer); void (*finishTransition)(Ark_TabContentTransitionProxy peer); Ark_Int32 (*getFrom)(Ark_TabContentTransitionProxy peer); void (*setFrom)(Ark_TabContentTransitionProxy peer, @@ -24772,6 +24902,7 @@ typedef struct GENERATED_ArkUITabsControllerAccessor { void (*destroyPeer)(Ark_TabsController peer); Ark_TabsController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TabsController peer); void (*changeIndex)(Ark_TabsController peer, Ark_Int32 value); void (*preloadItems)(Ark_VMContext vmContext, @@ -24793,6 +24924,7 @@ typedef struct GENERATED_ArkUITapGestureEventAccessor { void (*destroyPeer)(Ark_TapGestureEvent peer); Ark_TapGestureEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TapGestureEvent peer); Opt_EventLocationInfo (*getTapLocation)(Ark_TapGestureEvent peer); void (*setTapLocation)(Ark_TapGestureEvent peer, const Opt_EventLocationInfo* tapLocation); @@ -24802,6 +24934,7 @@ typedef struct GENERATED_ArkUITapRecognizerAccessor { void (*destroyPeer)(Ark_TapRecognizer peer); Ark_TapRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TapRecognizer peer); Ark_Int32 (*getTapCount)(Ark_TapRecognizer peer); } GENERATED_ArkUITapRecognizerAccessor; @@ -24809,6 +24942,7 @@ typedef struct GENERATED_ArkUITextAreaControllerAccessor { void (*destroyPeer)(Ark_TextAreaController peer); Ark_TextAreaController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextAreaController peer); void (*caretPosition)(Ark_TextAreaController peer, Ark_Int32 value); void (*setTextSelection)(Ark_TextAreaController peer, @@ -24822,6 +24956,7 @@ typedef struct GENERATED_ArkUITextBaseControllerAccessor { void (*destroyPeer)(Ark_TextBaseController peer); Ark_TextBaseController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextBaseController peer); void (*setSelection)(Ark_TextBaseController peer, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, @@ -24834,6 +24969,7 @@ typedef struct GENERATED_ArkUITextClockControllerAccessor { void (*destroyPeer)(Ark_TextClockController peer); Ark_TextClockController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextClockController peer); void (*start)(Ark_TextClockController peer); void (*stop)(Ark_TextClockController peer); } GENERATED_ArkUITextClockControllerAccessor; @@ -24842,6 +24978,7 @@ typedef struct GENERATED_ArkUITextContentControllerBaseAccessor { void (*destroyPeer)(Ark_TextContentControllerBase peer); Ark_TextContentControllerBase (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextContentControllerBase peer); Opt_CaretOffset (*getCaretOffset)(Ark_TextContentControllerBase peer); Opt_RectResult (*getTextContentRect)(Ark_TextContentControllerBase peer); Opt_Int32 (*getTextContentLineCount)(Ark_TextContentControllerBase peer); @@ -24860,6 +24997,7 @@ typedef struct GENERATED_ArkUITextControllerAccessor { void (*destroyPeer)(Ark_TextController peer); Ark_TextController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextController peer); void (*closeSelectionMenu)(Ark_TextController peer); void (*setStyledString)(Ark_TextController peer, Ark_StyledString value); @@ -24870,6 +25008,7 @@ typedef struct GENERATED_ArkUITextEditControllerExAccessor { void (*destroyPeer)(Ark_TextEditControllerEx peer); Ark_TextEditControllerEx (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextEditControllerEx peer); Opt_Boolean (*isEditing)(Ark_TextEditControllerEx peer); void (*stopEditing)(Ark_TextEditControllerEx peer); Opt_Boolean (*setCaretOffset)(Ark_TextEditControllerEx peer, @@ -24908,6 +25047,7 @@ typedef struct GENERATED_ArkUITextInputControllerAccessor { void (*destroyPeer)(Ark_TextInputController peer); Ark_TextInputController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextInputController peer); void (*caretPosition)(Ark_TextInputController peer, Ark_Int32 value); void (*setTextSelection)(Ark_TextInputController peer, @@ -24921,6 +25061,7 @@ typedef struct GENERATED_ArkUITextMenuItemIdAccessor { void (*destroyPeer)(Ark_TextMenuItemId peer); Ark_TextMenuItemId (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextMenuItemId peer); Ark_TextMenuItemId (*of)(const Ark_ResourceStr* id); Ark_Boolean (*equals)(Ark_TextMenuItemId peer, Ark_TextMenuItemId id); @@ -24940,6 +25081,7 @@ typedef struct GENERATED_ArkUITextShadowStyleAccessor { void (*destroyPeer)(Ark_TextShadowStyle peer); Ark_TextShadowStyle (*construct)(const Ark_Union_ShadowOptions_Array_ShadowOptions* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextShadowStyle peer); Array_ShadowOptions (*getTextShadow)(Ark_TextShadowStyle peer); } GENERATED_ArkUITextShadowStyleAccessor; @@ -24947,6 +25089,7 @@ typedef struct GENERATED_ArkUITextStyleAccessor { void (*destroyPeer)(Ark_TextStyle peer); Ark_TextStyle (*construct)(const Opt_TextStyleInterface* value); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextStyle peer); Opt_ResourceColor (*getFontColor)(Ark_TextStyle peer); Opt_String (*getFontFamily)(Ark_TextStyle peer); Opt_Float64 (*getFontSize)(Ark_TextStyle peer); @@ -24958,6 +25101,7 @@ typedef struct GENERATED_ArkUITextTimerControllerAccessor { void (*destroyPeer)(Ark_TextTimerController peer); Ark_TextTimerController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TextTimerController peer); void (*start)(Ark_TextTimerController peer); void (*pause)(Ark_TextTimerController peer); void (*reset)(Ark_TextTimerController peer); @@ -24981,6 +25125,7 @@ typedef struct GENERATED_ArkUITouchEventAccessor { void (*destroyPeer)(Ark_TouchEvent peer); Ark_TouchEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TouchEvent peer); void (*stopPropagation)(Ark_TouchEvent peer); Opt_Array_HistoricalPoint (*getHistoricalPoints)(Ark_TouchEvent peer); Throws_void (*preventDefault)(Ark_TouchEvent peer); @@ -24999,6 +25144,7 @@ typedef struct GENERATED_ArkUITouchRecognizerAccessor { void (*destroyPeer)(Ark_TouchRecognizer peer); Ark_TouchRecognizer (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TouchRecognizer peer); Ark_EventTargetInfo (*getEventTargetInfo)(Ark_TouchRecognizer peer); void (*cancelTouch)(Ark_TouchRecognizer peer); } GENERATED_ArkUITouchRecognizerAccessor; @@ -25013,6 +25159,7 @@ typedef struct GENERATED_ArkUITransitionEffectAccessor { Ark_TransitionEffect (*construct5)(const Ark_ScaleOptions* effect); Ark_TransitionEffect (*construct6)(const Ark_AsymmetricTransitionOption* effect); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_TransitionEffect peer); Ark_TransitionEffect (*translate)(const Ark_TranslateOptions* options); Ark_TransitionEffect (*rotate)(const Ark_RotateOptions* options); Ark_TransitionEffect (*scale)(const Ark_ScaleOptions* options); @@ -25034,6 +25181,7 @@ typedef struct GENERATED_ArkUIUICommonEventAccessor { void (*destroyPeer)(Ark_UICommonEvent peer); Ark_UICommonEvent (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_UICommonEvent peer); void (*setOnClick)(Ark_UICommonEvent peer, const Opt_Callback_ClickEvent_Void* callback_); void (*setOnTouch)(Ark_UICommonEvent peer, @@ -25067,6 +25215,7 @@ typedef struct GENERATED_ArkUIUIExtensionProxyAccessor { void (*destroyPeer)(Ark_UIExtensionProxy peer); Ark_UIExtensionProxy (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_UIExtensionProxy peer); Throws_void (*send)(Ark_UIExtensionProxy peer, const Map_String_Opt_Object* data); Throws_Map_String_Opt_Object (*sendSync)(Ark_UIExtensionProxy peer, @@ -25085,6 +25234,7 @@ typedef struct GENERATED_ArkUIUrlStyleAccessor { void (*destroyPeer)(Ark_UrlStyle peer); Ark_UrlStyle (*construct)(const Ark_String* url); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_UrlStyle peer); Ark_String (*getUrl)(Ark_UrlStyle peer); } GENERATED_ArkUIUrlStyleAccessor; @@ -25092,6 +25242,7 @@ typedef struct GENERATED_ArkUIVideoControllerAccessor { void (*destroyPeer)(Ark_VideoController peer); Ark_VideoController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_VideoController peer); void (*start)(Ark_VideoController peer); void (*pause)(Ark_VideoController peer); void (*stop)(Ark_VideoController peer); @@ -25108,6 +25259,7 @@ typedef struct GENERATED_ArkUIWaterFlowSectionsAccessor { void (*destroyPeer)(Ark_WaterFlowSections peer); Ark_WaterFlowSections (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_WaterFlowSections peer); Ark_Boolean (*splice)(Ark_WaterFlowSections peer, Ark_Int32 start, const Opt_Int32* deleteCount, @@ -25125,6 +25277,7 @@ typedef struct GENERATED_ArkUIWebCookieAccessor { void (*destroyPeer)(Ark_WebCookie peer); Ark_WebCookie (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_WebCookie peer); void (*setCookie)(Ark_WebCookie peer); void (*saveCookie)(Ark_WebCookie peer); } GENERATED_ArkUIWebCookieAccessor; @@ -25133,6 +25286,7 @@ typedef struct GENERATED_ArkUIXComponentControllerAccessor { void (*destroyPeer)(Ark_XComponentController peer); Ark_XComponentController (*construct)(); Ark_NativePointer (*getFinalizer)(); + void (*callHolder)(Ark_XComponentController peer); Ark_String (*getXComponentSurfaceId)(Ark_XComponentController peer); void (*setXComponentSurfaceRect)(Ark_XComponentController peer, const Ark_SurfaceRect* rect); diff --git a/arkoala-arkts/framework/native/src/generated/bridge_generated.cpp b/arkoala-arkts/framework/native/src/generated/bridge_generated.cpp index 9b47c2f941db43bbd012b7f742e3fcd285381f77..c6cdebf1aead37c97a9abe84acb13fd837c32d88 100644 --- a/arkoala-arkts/framework/native/src/generated/bridge_generated.cpp +++ b/arkoala-arkts/framework/native/src/generated/bridge_generated.cpp @@ -38,35793 +38,36403 @@ static const GENERATED_ArkUIAccessors* GetAccessors() { } Ark_NativePointer impl_AlphabetIndexer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getAlphabetIndexerModifier()->construct(id, flags); + return GetNodeModifiers()->getAlphabetIndexerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(AlphabetIndexer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_AlphabetIndexerInterface_setAlphabetIndexerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AlphabetIndexerOptions optionsValueTemp = ArkuiComponentAlphabetIndexerAlphabetIndexerOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getAlphabetIndexerModifier()->setAlphabetIndexerOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AlphabetIndexerOptions optionsValueTemp = ArkuiComponentAlphabetIndexerAlphabetIndexerOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getAlphabetIndexerModifier()->setAlphabetIndexerOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerInterface_setAlphabetIndexerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setSelectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setSelectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupBackground(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupBackground(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupBackground(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupBackground, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupUnselectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupUnselectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupUnselectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupUnselectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupItemBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupItemBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setUsingPopup(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setUsingPopup(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setUsingPopup(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setUsingPopup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setSelectedFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setSelectedFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setSelectedFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupItemFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupItemFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setItemSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_F64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_F64 valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_F64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_F64 valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_F64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setItemSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_F64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setItemSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setItemSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setOnSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnAlphabetIndexerSelectCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONALPHABETINDEXERSELECTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONALPHABETINDEXERSELECTCALLBACK))))}; - } - Opt_OnAlphabetIndexerSelectCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setOnSelect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnAlphabetIndexerSelectCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONALPHABETINDEXERSELECTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONALPHABETINDEXERSELECTCALLBACK))))}; + } + Opt_OnAlphabetIndexerSelectCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setOnSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setOnSelect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setOnRequestPopupData(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnAlphabetIndexerRequestPopupDataCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONALPHABETINDEXERREQUESTPOPUPDATACALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONALPHABETINDEXERREQUESTPOPUPDATACALLBACK))))}; - } - Opt_OnAlphabetIndexerRequestPopupDataCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setOnRequestPopupData(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnAlphabetIndexerRequestPopupDataCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONALPHABETINDEXERREQUESTPOPUPDATACALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONALPHABETINDEXERREQUESTPOPUPDATACALLBACK))))}; + } + Opt_OnAlphabetIndexerRequestPopupDataCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setOnRequestPopupData(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setOnRequestPopupData, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setOnPopupSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnAlphabetIndexerPopupSelectCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONALPHABETINDEXERPOPUPSELECTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONALPHABETINDEXERPOPUPSELECTCALLBACK))))}; - } - Opt_OnAlphabetIndexerPopupSelectCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setOnPopupSelect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnAlphabetIndexerPopupSelectCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONALPHABETINDEXERPOPUPSELECTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONALPHABETINDEXERPOPUPSELECTCALLBACK))))}; + } + Opt_OnAlphabetIndexerPopupSelectCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setOnPopupSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setOnPopupSelect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_Bindable_I32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_Bindable_I32 valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_I32SerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_Bindable_I32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_Bindable_I32 valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_I32SerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_Bindable_I32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setSelected(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_Bindable_I32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Position valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } - Opt_Position valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Position valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } + Opt_Position valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setAutoCollapse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setAutoCollapse(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setAutoCollapse(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setAutoCollapse, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupItemBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBorderRadius(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBorderRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupItemBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setItemBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setItemBorderRadius(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setItemBorderRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setItemBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupBackgroundBlurStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlurStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupBackgroundBlurStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupBackgroundBlurStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupBackgroundBlurStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setPopupTitleBackground(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupTitleBackground(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupTitleBackground(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setPopupTitleBackground, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AlphabetIndexerAttribute_setAlignStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_IndexerAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_IndexerAlign valueValueTemp = valueValueTempTmpBuf;; - const auto offsetValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length offsetValueTempTmpBuf = {}; - offsetValueTempTmpBuf.tag = offsetValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((offsetValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 offsetValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length offsetValueTempTmpBufOpt = {}; - offsetValueTempTmpBufOpt.selector = offsetValueTempTmpBufOptUnionSelector; - if (offsetValueTempTmpBufOptUnionSelector == 0) { - offsetValueTempTmpBufOpt.selector = 0; - offsetValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (offsetValueTempTmpBufOptUnionSelector == 1) { - offsetValueTempTmpBufOpt.selector = 1; - offsetValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (offsetValueTempTmpBufOptUnionSelector == 2) { - offsetValueTempTmpBufOpt.selector = 2; - offsetValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for offsetValueTempTmpBufOpt has to be chosen through deserialisation."); - } - offsetValueTempTmpBuf.value = static_cast(offsetValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_IndexerAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_IndexerAlign valueValueTemp = valueValueTempTmpBuf;; + const auto offsetValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length offsetValueTempTmpBuf = {}; + offsetValueTempTmpBuf.tag = offsetValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((offsetValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 offsetValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length offsetValueTempTmpBufOpt = {}; + offsetValueTempTmpBufOpt.selector = offsetValueTempTmpBufOptUnionSelector; + if (offsetValueTempTmpBufOptUnionSelector == 0) { + offsetValueTempTmpBufOpt.selector = 0; + offsetValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (offsetValueTempTmpBufOptUnionSelector == 1) { + offsetValueTempTmpBufOpt.selector = 1; + offsetValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (offsetValueTempTmpBufOptUnionSelector == 2) { + offsetValueTempTmpBufOpt.selector = 2; + offsetValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for offsetValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length offsetValueTemp = offsetValueTempTmpBuf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setAlignStyle(self, static_cast(&valueValueTemp), static_cast(&offsetValueTemp)); + offsetValueTempTmpBuf.value = static_cast(offsetValueTempTmpBufOpt); + } + Opt_Length offsetValueTemp = offsetValueTempTmpBuf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setAlignStyle(self, static_cast(&valueValueTemp), static_cast(&offsetValueTemp)); } KOALA_INTEROP_DIRECT_V3(AlphabetIndexerAttribute_setAlignStyle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Badge_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getBadgeModifier()->construct(id, flags); + return GetNodeModifiers()->getBadgeModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Badge_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_BadgeInterface_setBadgeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_BadgeParamWithNumber_BadgeParamWithString valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = ArkuiComponentBadgeBadgeParamWithNumberSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = ArkuiComponentBadgeBadgeParamWithStringSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_BadgeParamWithNumber_BadgeParamWithString valueValueTemp = static_cast(valueValueTempTmpBuf);; - GetNodeModifiers()->getBadgeModifier()->setBadgeOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_BadgeParamWithNumber_BadgeParamWithString valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = ArkuiComponentBadgeBadgeParamWithNumberSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = ArkuiComponentBadgeBadgeParamWithStringSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_BadgeParamWithNumber_BadgeParamWithString valueValueTemp = static_cast(valueValueTempTmpBuf);; + GetNodeModifiers()->getBadgeModifier()->setBadgeOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(BadgeInterface_setBadgeOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Blank_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getBlankModifier()->construct(id, flags); + return GetNodeModifiers()->getBlankModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Blank_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_BlankInterface_setBlankOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto minValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String minValueTempTmpBuf = {}; - minValueTempTmpBuf.tag = minValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((minValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 minValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String minValueTempTmpBufOpt = {}; - minValueTempTmpBufOpt.selector = minValueTempTmpBufOptUnionSelector; - if (minValueTempTmpBufOptUnionSelector == 0) { - minValueTempTmpBufOpt.selector = 0; - minValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (minValueTempTmpBufOptUnionSelector == 1) { - minValueTempTmpBufOpt.selector = 1; - minValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for minValueTempTmpBufOpt has to be chosen through deserialisation."); - } - minValueTempTmpBuf.value = static_cast(minValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto minValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String minValueTempTmpBuf = {}; + minValueTempTmpBuf.tag = minValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((minValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 minValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String minValueTempTmpBufOpt = {}; + minValueTempTmpBufOpt.selector = minValueTempTmpBufOptUnionSelector; + if (minValueTempTmpBufOptUnionSelector == 0) { + minValueTempTmpBufOpt.selector = 0; + minValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (minValueTempTmpBufOptUnionSelector == 1) { + minValueTempTmpBufOpt.selector = 1; + minValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for minValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String minValueTemp = minValueTempTmpBuf;; - GetNodeModifiers()->getBlankModifier()->setBlankOptions(self, static_cast(&minValueTemp)); + minValueTempTmpBuf.value = static_cast(minValueTempTmpBufOpt); + } + Opt_Union_F64_String minValueTemp = minValueTempTmpBuf;; + GetNodeModifiers()->getBlankModifier()->setBlankOptions(self, static_cast(&minValueTemp)); } KOALA_INTEROP_DIRECT_V3(BlankInterface_setBlankOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_BlankAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getBlankModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getBlankModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(BlankAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Button_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getButtonModifier()->construct(id, flags); + return GetNodeModifiers()->getButtonModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Button_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ButtonInterface_setButtonOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 labelValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr labelValueTempTmpBuf = {}; - labelValueTempTmpBuf.selector = labelValueTempTmpBufUnionSelector; - if (labelValueTempTmpBufUnionSelector == 0) { - labelValueTempTmpBuf.selector = 0; - labelValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (labelValueTempTmpBufUnionSelector == 1) { - labelValueTempTmpBuf.selector = 1; - labelValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for labelValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr labelValueTemp = static_cast(labelValueTempTmpBuf);; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentButtonButtonOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ButtonOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setButtonOptions0(self, static_cast(&labelValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 labelValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr labelValueTempTmpBuf = {}; + labelValueTempTmpBuf.selector = labelValueTempTmpBufUnionSelector; + if (labelValueTempTmpBufUnionSelector == 0) { + labelValueTempTmpBuf.selector = 0; + labelValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (labelValueTempTmpBufUnionSelector == 1) { + labelValueTempTmpBuf.selector = 1; + labelValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for labelValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr labelValueTemp = static_cast(labelValueTempTmpBuf);; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentButtonButtonOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ButtonOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setButtonOptions0(self, static_cast(&labelValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonInterface_setButtonOptions0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonInterface_setButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentButtonButtonOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ButtonOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setButtonOptions1(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentButtonButtonOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ButtonOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setButtonOptions1(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonInterface_setButtonOptions1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ButtonType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ButtonType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setStateEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setStateEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setStateEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setStateEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setButtonStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonStyleMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ButtonStyleMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setButtonStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonStyleMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ButtonStyleMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setButtonStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setButtonStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setControlSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ControlSize valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ControlSize valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setControlSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ControlSize valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ControlSize valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setControlSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setControlSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setRole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonRole valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ButtonRole valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setRole(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonRole valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ButtonRole valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setRole(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setRole, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setLabelStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonLabelStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentButtonButtonLabelStyleSerializerImpl::read(thisDeserializer); - } - Opt_ButtonLabelStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setLabelStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonLabelStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentButtonButtonLabelStyleSerializerImpl::read(thisDeserializer); + } + Opt_ButtonLabelStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setLabelStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setLabelStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ButtonAttribute_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getButtonModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getButtonModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CalendarPicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCalendarPickerModifier()->construct(id, flags); + return GetNodeModifiers()->getCalendarPickerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(CalendarPicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CalendarPickerInterface_setCalendarPickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CalendarOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCalendarPickerCalendarOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CalendarOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCalendarPickerModifier()->setCalendarPickerOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CalendarOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCalendarPickerCalendarOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CalendarOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCalendarPickerModifier()->setCalendarPickerOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CalendarPickerInterface_setCalendarPickerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CalendarPickerAttribute_setTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_setTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CalendarPickerAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Date_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DATE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DATE_VOID))))}; - } - Opt_Callback_Date_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCalendarPickerModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Date_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DATE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DATE_VOID))))}; + } + Opt_Callback_Date_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCalendarPickerModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CalendarPickerAttribute_setMarkToday(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCalendarPickerModifier()->setMarkToday(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCalendarPickerModifier()->setMarkToday(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_setMarkToday, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CalendarPickerAttribute_setEdgeAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto alignTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CalendarAlign alignTypeValueTempTmpBuf = {}; - alignTypeValueTempTmpBuf.tag = alignTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((alignTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - alignTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CalendarAlign alignTypeValueTemp = alignTypeValueTempTmpBuf;; - const auto offsetValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Offset offsetValueTempTmpBuf = {}; - offsetValueTempTmpBuf.tag = offsetValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((offsetValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - offsetValueTempTmpBuf.value = ArkuiComponentUnitsOffsetSerializerImpl::read(thisDeserializer); - } - Opt_Offset offsetValueTemp = offsetValueTempTmpBuf;; - GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign(self, static_cast(&alignTypeValueTemp), static_cast(&offsetValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto alignTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CalendarAlign alignTypeValueTempTmpBuf = {}; + alignTypeValueTempTmpBuf.tag = alignTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((alignTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + alignTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CalendarAlign alignTypeValueTemp = alignTypeValueTempTmpBuf;; + const auto offsetValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Offset offsetValueTempTmpBuf = {}; + offsetValueTempTmpBuf.tag = offsetValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((offsetValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + offsetValueTempTmpBuf.value = ArkuiComponentUnitsOffsetSerializerImpl::read(thisDeserializer); + } + Opt_Offset offsetValueTemp = offsetValueTempTmpBuf;; + GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign(self, static_cast(&alignTypeValueTemp), static_cast(&offsetValueTemp)); } KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_setEdgeAlign, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Canvas_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCanvasModifier()->construct(id, flags); + return GetNodeModifiers()->getCanvasModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Canvas_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CanvasInterface_setCanvasOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto contextValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTempTmpBuf = {}; - contextValueTempTmpBuf.tag = contextValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contextValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 contextValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTempTmpBufOpt = {}; - contextValueTempTmpBufOpt.selector = contextValueTempTmpBufOptUnionSelector; - if (contextValueTempTmpBufOptUnionSelector == 0) { - contextValueTempTmpBufOpt.selector = 0; - contextValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentCanvasCanvasRenderingContext2DSerializerImpl::read(thisDeserializer)); - } else if (contextValueTempTmpBufOptUnionSelector == 1) { - contextValueTempTmpBufOpt.selector = 1; - contextValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCanvasDrawingRenderingContextSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for contextValueTempTmpBufOpt has to be chosen through deserialisation."); - } - contextValueTempTmpBuf.value = static_cast(contextValueTempTmpBufOpt); - } - Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTemp = contextValueTempTmpBuf;; - const auto imageAIOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageAIOptions imageAIOptionsValueTempTmpBuf = {}; - imageAIOptionsValueTempTmpBuf.tag = imageAIOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((imageAIOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - imageAIOptionsValueTempTmpBuf.value = ArkuiComponentImageCommonImageAIOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ImageAIOptions imageAIOptionsValueTemp = imageAIOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCanvasModifier()->setCanvasOptions(self, static_cast(&contextValueTemp), static_cast(&imageAIOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto contextValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTempTmpBuf = {}; + contextValueTempTmpBuf.tag = contextValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contextValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 contextValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTempTmpBufOpt = {}; + contextValueTempTmpBufOpt.selector = contextValueTempTmpBufOptUnionSelector; + if (contextValueTempTmpBufOptUnionSelector == 0) { + contextValueTempTmpBufOpt.selector = 0; + contextValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentCanvasCanvasRenderingContext2DSerializerImpl::read(thisDeserializer)); + } else if (contextValueTempTmpBufOptUnionSelector == 1) { + contextValueTempTmpBufOpt.selector = 1; + contextValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCanvasDrawingRenderingContextSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for contextValueTempTmpBufOpt has to be chosen through deserialisation."); + } + contextValueTempTmpBuf.value = static_cast(contextValueTempTmpBufOpt); + } + Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext contextValueTemp = contextValueTempTmpBuf;; + const auto imageAIOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageAIOptions imageAIOptionsValueTempTmpBuf = {}; + imageAIOptionsValueTempTmpBuf.tag = imageAIOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((imageAIOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + imageAIOptionsValueTempTmpBuf.value = ArkuiComponentImageCommonImageAIOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ImageAIOptions imageAIOptionsValueTemp = imageAIOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCanvasModifier()->setCanvasOptions(self, static_cast(&contextValueTemp), static_cast(&imageAIOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasAttribute_setOnReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCanvasModifier()->setOnReady(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCanvasModifier()->setOnReady(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasAttribute_setOnReady, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCanvasModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCanvasModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasAttribute_setEnableAnalyzer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Checkbox_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCheckboxModifier()->construct(id, flags); + return GetNodeModifiers()->getCheckboxModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Checkbox_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CheckboxInterface_setCheckboxOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CheckboxOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCheckboxCheckboxOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CheckboxOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setCheckboxOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckboxOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCheckboxCheckboxOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CheckboxOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setCheckboxOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxInterface_setCheckboxOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxAttribute_setSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setSelect(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_setSelect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxAttribute_setSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_setSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxAttribute_setShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CheckBoxShape valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CheckBoxShape valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setShape(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckBoxShape valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CheckBoxShape valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setShape(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_setShape, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxAttribute_setUnselectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_setUnselectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxAttribute_setMark(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MarkStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsMarkStyleSerializerImpl::read(thisDeserializer); - } - Opt_MarkStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setMark(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MarkStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsMarkStyleSerializerImpl::read(thisDeserializer); + } + Opt_MarkStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setMark(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_setMark, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnCheckboxChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCHECKBOXCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCHECKBOXCHANGECALLBACK))))}; - } - Opt_OnCheckboxChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnCheckboxChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCHECKBOXCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCHECKBOXCHANGECALLBACK))))}; + } + Opt_OnCheckboxChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CheckboxGroup_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCheckboxGroupModifier()->construct(id, flags); + return GetNodeModifiers()->getCheckboxGroupModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(CheckboxGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CheckboxGroupInterface_setCheckboxGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CheckboxGroupOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCheckboxgroupCheckboxGroupOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CheckboxGroupOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxGroupOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckboxGroupOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCheckboxgroupCheckboxGroupOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CheckboxGroupOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxGroupOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupInterface_setCheckboxGroupOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxGroupAttribute_setSelectAll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_setSelectAll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxGroupAttribute_setSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_setSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxGroupAttribute_setUnselectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_setUnselectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxGroupAttribute_setMark(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MarkStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsMarkStyleSerializerImpl::read(thisDeserializer); - } - Opt_MarkStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setMark(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MarkStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsMarkStyleSerializerImpl::read(thisDeserializer); + } + Opt_MarkStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setMark(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_setMark, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxGroupAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnCheckboxGroupChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCHECKBOXGROUPCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCHECKBOXGROUPCHANGECALLBACK))))}; - } - Opt_OnCheckboxGroupChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnCheckboxGroupChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCHECKBOXGROUPCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCHECKBOXGROUPCHANGECALLBACK))))}; + } + Opt_OnCheckboxGroupChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CheckboxGroupAttribute_setCheckboxShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CheckBoxShape valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CheckBoxShape valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckBoxShape valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CheckBoxShape valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_setCheckboxShape, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Circle_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCircleModifier()->construct(id, flags); + return GetNodeModifiers()->getCircleModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Circle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CircleOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCircleCircleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CircleOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CircleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCircleCircleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CircleOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CircleInterface_setCircleOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Column_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getColumnModifier()->construct(id, flags); + return GetNodeModifiers()->getColumnModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Column_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ColumnInterface_setColumnOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ColumnOptions_ColumnOptionsV2 optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 optionsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ColumnOptions_ColumnOptionsV2 optionsValueTempTmpBufOpt = {}; - optionsValueTempTmpBufOpt.selector = optionsValueTempTmpBufOptUnionSelector; - if (optionsValueTempTmpBufOptUnionSelector == 0) { - optionsValueTempTmpBufOpt.selector = 0; - optionsValueTempTmpBufOpt.value0 = ArkuiComponentColumnColumnOptionsSerializerImpl::read(thisDeserializer); - } else if (optionsValueTempTmpBufOptUnionSelector == 1) { - optionsValueTempTmpBufOpt.selector = 1; - optionsValueTempTmpBufOpt.value1 = ArkuiComponentColumnColumnOptionsV2SerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for optionsValueTempTmpBufOpt has to be chosen through deserialisation."); - } - optionsValueTempTmpBuf.value = static_cast(optionsValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ColumnOptions_ColumnOptionsV2 optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 optionsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ColumnOptions_ColumnOptionsV2 optionsValueTempTmpBufOpt = {}; + optionsValueTempTmpBufOpt.selector = optionsValueTempTmpBufOptUnionSelector; + if (optionsValueTempTmpBufOptUnionSelector == 0) { + optionsValueTempTmpBufOpt.selector = 0; + optionsValueTempTmpBufOpt.value0 = ArkuiComponentColumnColumnOptionsSerializerImpl::read(thisDeserializer); + } else if (optionsValueTempTmpBufOptUnionSelector == 1) { + optionsValueTempTmpBufOpt.selector = 1; + optionsValueTempTmpBufOpt.value1 = ArkuiComponentColumnColumnOptionsV2SerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for optionsValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ColumnOptions_ColumnOptionsV2 optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getColumnModifier()->setColumnOptions(self, static_cast(&optionsValueTemp)); + optionsValueTempTmpBuf.value = static_cast(optionsValueTempTmpBufOpt); + } + Opt_Union_ColumnOptions_ColumnOptionsV2 optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getColumnModifier()->setColumnOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ColumnAttribute_setAlignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_HorizontalAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_HorizontalAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnModifier()->setAlignItems(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_HorizontalAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_HorizontalAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getColumnModifier()->setAlignItems(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnAttribute_setAlignItems, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ColumnAttribute_setJustifyContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FlexAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FlexAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnModifier()->setJustifyContent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FlexAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FlexAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getColumnModifier()->setJustifyContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnAttribute_setJustifyContent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ColumnAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnModifier()->setPointLight(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PointLightStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); + } + Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getColumnModifier()->setPointLight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ColumnAttribute_setReverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnModifier()->setReverse(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getColumnModifier()->setReverse(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnAttribute_setReverse, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ColumnSplit_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getColumnSplitModifier()->construct(id, flags); + return GetNodeModifiers()->getColumnSplitModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ColumnSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ColumnSplitInterface_setColumnSplitOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getColumnSplitModifier()->setColumnSplitOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getColumnSplitModifier()->setColumnSplitOptions(self); } KOALA_INTEROP_DIRECT_V1(ColumnSplitInterface_setColumnSplitOptions, Ark_NativePointer) void impl_ColumnSplitAttribute_setResizeable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnSplitModifier()->setResizeable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getColumnSplitModifier()->setResizeable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_setResizeable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ColumnSplitAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ColumnSplitDividerStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentColumnSplitColumnSplitDividerStyleSerializerImpl::read(thisDeserializer); - } - Opt_ColumnSplitDividerStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getColumnSplitModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ColumnSplitDividerStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentColumnSplitColumnSplitDividerStyleSerializerImpl::read(thisDeserializer); + } + Opt_ColumnSplitDividerStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getColumnSplitModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCommonMethodModifier()->construct(id, flags); + return GetNodeModifiers()->getCommonMethodModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(CommonMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CommonMethod_setWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setResponseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_Rectangle_Rectangle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_Rectangle_Rectangle valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_Rectangle valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_Rectangle_Rectangle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_Rectangle_Rectangle valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_Rectangle valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value0 = valueValueTempTmpBufOptBufU; - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value0 = valueValueTempTmpBufOptBufU; + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Array_Rectangle_Rectangle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setResponseRegion(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Array_Rectangle_Rectangle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setResponseRegion(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setResponseRegion, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMouseResponseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_Rectangle_Rectangle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_Rectangle_Rectangle valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_Rectangle valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_Rectangle_Rectangle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_Rectangle_Rectangle valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_Rectangle valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value0 = valueValueTempTmpBufOptBufU; - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value0 = valueValueTempTmpBufOptBufU; + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonRectangleSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Array_Rectangle_Rectangle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMouseResponseRegion(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Array_Rectangle_Rectangle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMouseResponseRegion(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMouseResponseRegion, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setConstraintSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setConstraintSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setConstraintSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setHitTestBehavior(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_HitTestMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_HitTestMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setHitTestBehavior(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_HitTestMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_HitTestMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setHitTestBehavior(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setHitTestBehavior, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnChildTouchTest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Array_TouchTestInfo_TouchResult valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ARRAY_TOUCHTESTINFO_TOUCHRESULT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ARRAY_TOUCHTESTINFO_TOUCHRESULT))))}; - } - Opt_Callback_Array_TouchTestInfo_TouchResult valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnChildTouchTest(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Array_TouchTestInfo_TouchResult valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ARRAY_TOUCHTESTINFO_TOUCHRESULT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ARRAY_TOUCHTESTINFO_TOUCHRESULT))))}; + } + Opt_Callback_Array_TouchTestInfo_TouchResult valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnChildTouchTest(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnChildTouchTest, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setLayoutWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setLayoutWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setLayoutWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setLayoutWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setChainWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ChainWeightOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsChainWeightOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ChainWeightOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ChainWeightOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsChainWeightOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ChainWeightOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setChainWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setPadding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setPadding(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setPadding(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setPadding, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSafeAreaPadding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Padding_LengthMetrics_LocalizedPadding valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_LengthMetrics_LocalizedPadding valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Padding_LengthMetrics_LocalizedPadding valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_LengthMetrics_LocalizedPadding valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Padding_LengthMetrics_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Padding_LengthMetrics_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSafeAreaPadding, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMargin(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMargin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMargin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_ColorMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_ColorMetrics valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_ColorMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_ColorMetrics valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setPixelRound(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PixelRoundPolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPixelRoundPolicySerializerImpl::read(thisDeserializer); - } - Opt_PixelRoundPolicy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setPixelRound(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PixelRoundPolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPixelRoundPolicySerializerImpl::read(thisDeserializer); + } + Opt_PixelRoundPolicy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setPixelRound(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setPixelRound, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundImage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceStr_image_PixelMap valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_image_PixelMap valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceStr_image_PixelMap valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_image_PixelMap valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceStr_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage0(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceStr_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundImage0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundImageSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_SizeOptions_ImageSize valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_SizeOptions_ImageSize valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_SizeOptions_ImageSize valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_SizeOptions_ImageSize valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_SizeOptions_ImageSize valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_SizeOptions_ImageSize valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundImageSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundImagePosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Position_Alignment valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Position_Alignment valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Position_Alignment valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Position_Alignment valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Position_Alignment valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImagePosition(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Position_Alignment valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImagePosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundImagePosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundImageResizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResizableOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentImageResizableOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ResizableOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageResizable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResizableOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentImageResizableOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ResizableOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageResizable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundImageResizable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setForegroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ForegroundEffectOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonForegroundEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ForegroundEffectOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ForegroundEffectOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonForegroundEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ForegroundEffectOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setForegroundEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setVisualEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_uiEffect_VisualEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectVisualEffectSerializerImpl::read(thisDeserializer)); - } - Opt_uiEffect_VisualEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setVisualEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_uiEffect_VisualEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectVisualEffectSerializerImpl::read(thisDeserializer)); + } + Opt_uiEffect_VisualEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setVisualEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setVisualEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_uiEffect_Filter valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectFilterSerializerImpl::read(thisDeserializer)); - } - Opt_uiEffect_Filter valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundFilter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_uiEffect_Filter valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectFilterSerializerImpl::read(thisDeserializer)); + } + Opt_uiEffect_Filter valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundFilter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setForegroundFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_uiEffect_Filter valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectFilterSerializerImpl::read(thisDeserializer)); - } - Opt_uiEffect_Filter valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundFilter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_uiEffect_Filter valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectFilterSerializerImpl::read(thisDeserializer)); + } + Opt_uiEffect_Filter valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundFilter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setForegroundFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setCompositingFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_uiEffect_Filter valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectFilterSerializerImpl::read(thisDeserializer)); - } - Opt_uiEffect_Filter valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setCompositingFilter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_uiEffect_Filter valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosGraphicsUiEffectUiEffectFilterSerializerImpl::read(thisDeserializer)); + } + Opt_uiEffect_Filter valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setCompositingFilter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setCompositingFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOpacity(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOpacity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBorder(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BorderOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsBorderOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BorderOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBorder(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BorderOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsBorderOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BorderOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBorder(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBorder, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBorderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_BorderStyle_EdgeStyles valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_BorderStyle_EdgeStyles valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeStylesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_BorderStyle_EdgeStyles valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_BorderStyle_EdgeStyles valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeStylesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_BorderStyle_EdgeStyles valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBorderStyle(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_BorderStyle_EdgeStyles valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBorderStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBorderStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeWidthsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeWidthsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeWidthsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeWidthsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBorderWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBorderWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBorderWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeColorsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeColorsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeColorsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeColorsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBorderColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBorderColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBorderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedBorderRadiusesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedBorderRadiusesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBorderRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBorderRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBorderImage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BorderImageOption valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonBorderImageOptionSerializerImpl::read(thisDeserializer); - } - Opt_BorderImageOption valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBorderImage(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BorderImageOption valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonBorderImageOptionSerializerImpl::read(thisDeserializer); + } + Opt_BorderImageOption valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBorderImage(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBorderImage, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOutline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OutlineOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsOutlineOptionsSerializerImpl::read(thisDeserializer); - } - Opt_OutlineOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOutline(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OutlineOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsOutlineOptionsSerializerImpl::read(thisDeserializer); + } + Opt_OutlineOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutline(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOutline, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOutlineStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_OutlineStyle_EdgeOutlineStyles valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_OutlineStyle_EdgeOutlineStyles valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeOutlineStylesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_OutlineStyle_EdgeOutlineStyles valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_OutlineStyle_EdgeOutlineStyles valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeOutlineStylesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_OutlineStyle_EdgeOutlineStyles valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_OutlineStyle_EdgeOutlineStyles valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOutlineStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOutlineWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_EdgeOutlineWidths valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_EdgeOutlineWidths valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeOutlineWidthsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_EdgeOutlineWidths valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_EdgeOutlineWidths valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeOutlineWidthsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_EdgeOutlineWidths valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Dimension_EdgeOutlineWidths valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOutlineWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOutlineColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeColorsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeColorsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeColorsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeColorsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOutlineColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOutlineRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_OutlineRadiuses valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_OutlineRadiuses valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsOutlineRadiusesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_OutlineRadiuses valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_OutlineRadiuses valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsOutlineRadiusesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_OutlineRadiuses valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Dimension_OutlineRadiuses valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOutlineRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setForegroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_ColoringStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_ColoringStrategy valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_ColoringStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_ColoringStrategy valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_ColoringStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_ColoringStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setForegroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnClick0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; - } - Opt_Callback_ClickEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnClick0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; + } + Opt_Callback_ClickEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnClick0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnClick0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Boolean_HoverEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_HOVEREVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_HOVEREVENT_VOID))))}; - } - Opt_Callback_Boolean_HoverEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnHover(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Boolean_HoverEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_HOVEREVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_HOVEREVENT_VOID))))}; + } + Opt_Callback_Boolean_HoverEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnHover(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnHover, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnHoverMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_HoverEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_HOVEREVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_HOVEREVENT_VOID))))}; - } - Opt_Callback_HoverEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnHoverMove(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_HoverEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_HOVEREVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_HOVEREVENT_VOID))))}; + } + Opt_Callback_HoverEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnHoverMove(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnHoverMove, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAccessibilityHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYCALLBACK))))}; - } - Opt_AccessibilityCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHover(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYCALLBACK))))}; + } + Opt_AccessibilityCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHover(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAccessibilityHover, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAccessibilityHoverTransparent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityTransparentCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYTRANSPARENTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYTRANSPARENTCALLBACK))))}; - } - Opt_AccessibilityTransparentCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHoverTransparent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityTransparentCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYTRANSPARENTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYTRANSPARENTCALLBACK))))}; + } + Opt_AccessibilityTransparentCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHoverTransparent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAccessibilityHoverTransparent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setHoverEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_HoverEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_HoverEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setHoverEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_HoverEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_HoverEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setHoverEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setHoverEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_MouseEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MOUSEEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MOUSEEVENT_VOID))))}; - } - Opt_Callback_MouseEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnMouse(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_MouseEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MOUSEEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MOUSEEVENT_VOID))))}; + } + Opt_Callback_MouseEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnMouse(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnMouse, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TouchEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_VOID))))}; - } - Opt_Callback_TouchEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TouchEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_VOID))))}; + } + Opt_Callback_TouchEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnTouch, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_BOOLEAN))))}; - } - Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_BOOLEAN))))}; + } + Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnKeyEvent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDigitalCrown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_CrownEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CROWNEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CROWNEVENT_VOID))))}; - } - Opt_Callback_CrownEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDigitalCrown(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_CrownEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CROWNEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CROWNEVENT_VOID))))}; + } + Opt_Callback_CrownEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDigitalCrown(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDigitalCrown, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnKeyPreIme(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_BOOLEAN))))}; - } - Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnKeyPreIme(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_BOOLEAN))))}; + } + Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyPreIme(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnKeyPreIme, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnKeyEventDispatch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_BOOLEAN))))}; - } - Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEventDispatch(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_KeyEvent_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_BOOLEAN))))}; + } + Opt_Callback_KeyEvent_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEventDispatch(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnKeyEventDispatch, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnFocusAxisEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_FocusAxisEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FOCUSAXISEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FOCUSAXISEVENT_VOID))))}; - } - Opt_Callback_FocusAxisEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnFocusAxisEvent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_FocusAxisEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FOCUSAXISEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FOCUSAXISEVENT_VOID))))}; + } + Opt_Callback_FocusAxisEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnFocusAxisEvent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnFocusAxisEvent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAxisEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_AxisEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_AXISEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_AXISEVENT_VOID))))}; - } - Opt_Callback_AxisEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAxisEvent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_AxisEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_AXISEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_AXISEVENT_VOID))))}; + } + Opt_Callback_AxisEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAxisEvent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAxisEvent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFocusable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFocusable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setNextFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FocusMovement valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonFocusMovementSerializerImpl::read(thisDeserializer); - } - Opt_FocusMovement valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setNextFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FocusMovement valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonFocusMovementSerializerImpl::read(thisDeserializer); + } + Opt_FocusMovement valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setNextFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setNextFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setTabStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setTabStop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setTabStop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setTabStop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnBlur(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnBlur(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnBlur, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setTabIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setTabIndex(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setTabIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setTabIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setDefaultFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setDefaultFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setDefaultFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setDefaultFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setGroupDefaultFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setGroupDefaultFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setGroupDefaultFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setGroupDefaultFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFocusOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusOnTouch(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFocusOnTouch(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFocusOnTouch, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFocusBox(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FocusBoxStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentFocusFocusBoxStyleSerializerImpl::read(thisDeserializer); - } - Opt_FocusBoxStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusBox(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FocusBoxStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentFocusFocusBoxStyleSerializerImpl::read(thisDeserializer); + } + Opt_FocusBoxStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFocusBox(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFocusBox, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AnimateParam valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer); - } - Opt_AnimateParam valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAnimation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AnimateParam valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer); + } + Opt_AnimateParam valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAnimation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setTransition0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TransitionEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonTransitionEffectSerializerImpl::read(thisDeserializer)); - } - Opt_TransitionEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setTransition0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TransitionEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonTransitionEffectSerializerImpl::read(thisDeserializer)); + } + Opt_TransitionEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setTransition0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setTransition0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMotionBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MotionBlurOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonMotionBlurOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MotionBlurOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MotionBlurOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonMotionBlurOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MotionBlurOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMotionBlur, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBrightness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBrightness(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBrightness(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBrightness, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setContrast(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setContrast(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setContrast(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setContrast, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setGrayscale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setGrayscale(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setGrayscale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setGrayscale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setColorBlend(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_arkui_component_enums_Color_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_arkui_component_enums_Color_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_arkui_component_enums_Color_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_arkui_component_enums_Color_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_arkui_component_enums_Color_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setColorBlend(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_arkui_component_enums_Color_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setColorBlend(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setColorBlend, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSaturate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSaturate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSaturate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSaturate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSepia(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSepia(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSepia(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSepia, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setInvert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_InvertOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_InvertOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonInvertOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_InvertOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_InvertOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonInvertOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_InvertOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setInvert(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_InvertOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setInvert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setInvert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setHueRotate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setHueRotate(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setHueRotate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setHueRotate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setUseShadowBatching(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setUseShadowBatching, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setUseEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setUseEffect0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setUseEffect0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setUseEffect0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setRenderGroup(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setRenderGroup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFreeze(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFreeze(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFreeze(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFreeze, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setTranslate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TranslateOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TranslateOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setTranslate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TranslateOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TranslateOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setTranslate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setTranslate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScaleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonScaleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ScaleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setScale(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScaleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonScaleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ScaleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setRotate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RotateOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonRotateOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RotateOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setRotate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RotateOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonRotateOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RotateOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setRotate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setRotate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setTransform(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_matrix4_Matrix4Transit valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosMatrix4Matrix4Matrix4TransitSerializerImpl::read(thisDeserializer)); - } - Opt_matrix4_Matrix4Transit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setTransform(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_matrix4_Matrix4Transit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosMatrix4Matrix4Matrix4TransitSerializerImpl::read(thisDeserializer)); + } + Opt_matrix4_Matrix4Transit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setTransform(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setTransform, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAppear(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAppear(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAppear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDisAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDisAppear(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDisAppear(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDisAppear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAttach(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAttach(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAttach, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDetach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDetach(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDetach(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDetach, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAreaChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Area_Area_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_AREA_AREA_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_AREA_AREA_VOID))))}; - } - Opt_Callback_Area_Area_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAreaChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Area_Area_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_AREA_AREA_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_AREA_AREA_VOID))))}; + } + Opt_Callback_Area_Area_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAreaChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAreaChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setVisibility(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Visibility valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Visibility valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setVisibility(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Visibility valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Visibility valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setVisibility(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setVisibility, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFlexGrow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFlexGrow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFlexGrow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFlexGrow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFlexShrink(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFlexShrink(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFlexShrink(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFlexShrink, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFlexBasis(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFlexBasis(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFlexBasis(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFlexBasis, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAlignSelf(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ItemAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ItemAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAlignSelf(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ItemAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ItemAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAlignSelf(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlignSelf, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setDisplayPriority(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setDisplayPriority(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setDisplayPriority(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setDisplayPriority, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setZIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setZIndex(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setZIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setZIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Direction valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Direction valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setDirection(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Direction valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Direction valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setDirection(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setDirection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Alignment valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Alignment valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Alignment valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Alignment valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Position_Edges_LocalizedEdges valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Position_Edges_LocalizedEdges valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgesSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Position_Edges_LocalizedEdges valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Position_Edges_LocalizedEdges valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgesSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Position_Edges_LocalizedEdges valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setPosition(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Position_Edges_LocalizedEdges valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMarkAnchor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Position_LocalizedPosition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Position_LocalizedPosition valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsLocalizedPositionSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Position_LocalizedPosition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Position_LocalizedPosition valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsLocalizedPositionSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Position_LocalizedPosition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMarkAnchor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Position_LocalizedPosition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMarkAnchor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMarkAnchor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Position_Edges_LocalizedEdges valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Position_Edges_LocalizedEdges valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgesSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Position_Edges_LocalizedEdges valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Position_Edges_LocalizedEdges valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgesSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Position_Edges_LocalizedEdges valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOffset(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Position_Edges_LocalizedEdges valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setEnabled(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setEnabled(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setEnabled(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setEnabled, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAlignRules(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_AlignRuleOption_LocalizedAlignRuleOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonAlignRuleOptionSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonLocalizedAlignRuleOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_AlignRuleOption_LocalizedAlignRuleOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonAlignRuleOptionSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonLocalizedAlignRuleOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAlignRules(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAlignRules(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAlignRules, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAspectRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAspectRatio, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setClickEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ClickEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonClickEffectSerializerImpl::read(thisDeserializer); - } - Opt_ClickEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setClickEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ClickEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonClickEffectSerializerImpl::read(thisDeserializer); + } + Opt_ClickEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setClickEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setClickEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Type_CommonMethod_onDragStart valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TYPE_COMMONMETHOD_ONDRAGSTART)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TYPE_COMMONMETHOD_ONDRAGSTART))))}; - } - Opt_Type_CommonMethod_onDragStart valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDragStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Type_CommonMethod_onDragStart valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TYPE_COMMONMETHOD_ONDRAGSTART)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TYPE_COMMONMETHOD_ONDRAGSTART))))}; + } + Opt_Type_CommonMethod_onDragStart valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDragStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDragStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; - } - Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; + } + Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDragEnter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; - } - Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDragMove(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; + } + Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDragMove(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDragMove, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; - } - Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDragLeave(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; + } + Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDragLeave(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDragLeave, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDrop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; - } - Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDrop0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; + } + Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDrop0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDrop0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDragEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; - } - Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DragEvent_Opt_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAGEVENT_OPT_STRING_VOID))))}; + } + Opt_Callback_DragEvent_Opt_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDragEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDragEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setDraggable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setDraggable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setDraggable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setDraggable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnPreDrag(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PreDragStatus_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PREDRAGSTATUS_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PREDRAGSTATUS_VOID))))}; - } - Opt_Callback_PreDragStatus_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnPreDrag(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PreDragStatus_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PREDRAGSTATUS_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PREDRAGSTATUS_VOID))))}; + } + Opt_Callback_PreDragStatus_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnPreDrag(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnPreDrag, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setLinearGradient(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LinearGradientOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonLinearGradientOptionsSerializerImpl::read(thisDeserializer); - } - Opt_LinearGradientOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LinearGradientOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonLinearGradientOptionsSerializerImpl::read(thisDeserializer); + } + Opt_LinearGradientOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setLinearGradient, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSweepGradient(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SweepGradientOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonSweepGradientOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SweepGradientOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SweepGradientOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonSweepGradientOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SweepGradientOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSweepGradient, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setRadialGradient(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RadialGradientOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonRadialGradientOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RadialGradientOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RadialGradientOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonRadialGradientOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RadialGradientOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setRadialGradient, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMotionPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MotionPathOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonMotionPathOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MotionPathOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMotionPath(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MotionPathOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonMotionPathOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MotionPathOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMotionPath(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMotionPath, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ShadowOptions_ShadowStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_ShadowStyle valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ShadowOptions_ShadowStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_ShadowStyle valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ShadowOptions_ShadowStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setShadow(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ShadowOptions_ShadowStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setShadow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setClip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setClip(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setClip(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setClip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setClipShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(OhosArkuiShapeCircleShapeSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(OhosArkuiShapeEllipseShapeSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(OhosArkuiShapePathShapeSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = static_cast(OhosArkuiShapeRectShapeSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(OhosArkuiShapeCircleShapeSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(OhosArkuiShapeEllipseShapeSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(OhosArkuiShapePathShapeSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = static_cast(OhosArkuiShapeRectShapeSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setClipShape(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setClipShape(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setClipShape, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ProgressMask valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonProgressMaskSerializerImpl::read(thisDeserializer)); - } - Opt_ProgressMask valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMask(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ProgressMask valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonProgressMaskSerializerImpl::read(thisDeserializer)); + } + Opt_ProgressMask valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMask(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMask, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMaskShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(OhosArkuiShapeCircleShapeSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(OhosArkuiShapeEllipseShapeSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(OhosArkuiShapePathShapeSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = static_cast(OhosArkuiShapeRectShapeSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(OhosArkuiShapeCircleShapeSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(OhosArkuiShapeEllipseShapeSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(OhosArkuiShapePathShapeSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = static_cast(OhosArkuiShapeRectShapeSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMaskShape(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMaskShape(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMaskShape, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setKey(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setKey(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setKey, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setId(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setId(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setRestoreId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setRestoreId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSphericalEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSphericalEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setLightUpEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setLightUpEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setPixelStretchEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PixelStretchEffectOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPixelStretchEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PixelStretchEffectOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PixelStretchEffectOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPixelStretchEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PixelStretchEffectOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setPixelStretchEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityNextFocusId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityNextFocusId(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityNextFocusId(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityNextFocusId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityDefaultFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDefaultFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDefaultFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityDefaultFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityUseSamePage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilitySamePageMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AccessibilitySamePageMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityUseSamePage(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilitySamePageMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AccessibilitySamePageMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityUseSamePage(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityUseSamePage, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityScrollTriggerable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityScrollTriggerable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityScrollTriggerable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityScrollTriggerable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Resource_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Resource_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Resource_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Resource_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Resource_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Resource_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityText, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityRole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityRoleType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AccessibilityRoleType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityRole(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityRoleType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AccessibilityRoleType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityRole(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityRole, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAccessibilityFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityFocusCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYFOCUSCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYFOCUSCALLBACK))))}; - } - Opt_AccessibilityFocusCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityFocusCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYFOCUSCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYFOCUSCALLBACK))))}; + } + Opt_AccessibilityFocusCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAccessibilityFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnAccessibilityActionIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityActionInterceptCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYACTIONINTERCEPTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYACTIONINTERCEPTCALLBACK))))}; - } - Opt_AccessibilityActionInterceptCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityActionIntercept(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityActionInterceptCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ACCESSIBILITYACTIONINTERCEPTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ACCESSIBILITYACTIONINTERCEPTCALLBACK))))}; + } + Opt_AccessibilityActionInterceptCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityActionIntercept(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnAccessibilityActionIntercept, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityTextHint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityTextHint, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityDescription(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Resource_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Resource_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Resource_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Resource_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Resource_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Resource_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityDescription, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityLevel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityLevel(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityLevel(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityLevel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityVirtualNode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityVirtualNode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityVirtualNode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityVirtualNode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityChecked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityChecked(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityChecked(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityChecked, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilitySelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilitySelected(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilitySelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilitySelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setObscured(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ObscuredReasons valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ObscuredReasons valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ObscuredReasons valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ObscuredReasons valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); } - Opt_Array_ObscuredReasons valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setObscured(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_ObscuredReasons valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setObscured(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setObscured, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setReuseId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setReuseId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setReuse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ReuseOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonReuseOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ReuseOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setReuse(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ReuseOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonReuseOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ReuseOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setReuse(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setReuse, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setRenderFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RenderFit valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_RenderFit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setRenderFit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RenderFit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_RenderFit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setRenderFit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setRenderFit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundBrightness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BackgroundBrightnessOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonBackgroundBrightnessOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BackgroundBrightnessOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundBrightnessOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonBackgroundBrightnessOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BackgroundBrightnessOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundBrightness, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnGestureJudgeBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_GESTUREINFO_BASEGESTUREEVENT_GESTUREJUDGERESULT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_GESTUREINFO_BASEGESTUREEVENT_GESTUREJUDGERESULT))))}; - } - Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnGestureJudgeBegin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_GESTUREINFO_BASEGESTUREEVENT_GESTUREJUDGERESULT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_GESTUREINFO_BASEGESTUREEVENT_GESTUREJUDGERESULT))))}; + } + Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnGestureJudgeBegin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnGestureJudgeBegin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnGestureRecognizerJudgeBegin0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GestureRecognizerJudgeBeginCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK))))}; - } - Opt_GestureRecognizerJudgeBeginCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GestureRecognizerJudgeBeginCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK))))}; + } + Opt_GestureRecognizerJudgeBeginCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnGestureRecognizerJudgeBegin0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setShouldBuiltInRecognizerParallelWith(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ShouldBuiltInRecognizerParallelWithCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SHOULDBUILTINRECOGNIZERPARALLELWITHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SHOULDBUILTINRECOGNIZERPARALLELWITHCALLBACK))))}; - } - Opt_ShouldBuiltInRecognizerParallelWithCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setShouldBuiltInRecognizerParallelWith(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ShouldBuiltInRecognizerParallelWithCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SHOULDBUILTINRECOGNIZERPARALLELWITHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SHOULDBUILTINRECOGNIZERPARALLELWITHCALLBACK))))}; + } + Opt_ShouldBuiltInRecognizerParallelWithCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setShouldBuiltInRecognizerParallelWith(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setShouldBuiltInRecognizerParallelWith, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setMonopolizeEvents(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setMonopolizeEvents(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setMonopolizeEvents(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setMonopolizeEvents, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnTouchIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TouchEvent_HitTestMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_HITTESTMODE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_HITTESTMODE))))}; - } - Opt_Callback_TouchEvent_HitTestMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnTouchIntercept(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TouchEvent_HitTestMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_HITTESTMODE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_HITTESTMODE))))}; + } + Opt_Callback_TouchEvent_HitTestMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnTouchIntercept(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnTouchIntercept, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SizeChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SIZECHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SIZECHANGECALLBACK))))}; - } - Opt_SizeChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnSizeChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SizeChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SIZECHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SIZECHANGECALLBACK))))}; + } + Opt_SizeChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnSizeChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnSizeChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityFocusDrawLevel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FocusDrawLevel valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FocusDrawLevel valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityFocusDrawLevel(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FocusDrawLevel valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FocusDrawLevel valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityFocusDrawLevel(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityFocusDrawLevel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnTouchTestDone(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TouchTestDoneCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TOUCHTESTDONECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TOUCHTESTDONECALLBACK))))}; - } - Opt_TouchTestDoneCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnTouchTestDone(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TouchTestDoneCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TOUCHTESTDONECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TOUCHTESTDONECALLBACK))))}; + } + Opt_TouchTestDoneCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnTouchTestDone(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnTouchTestDone, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setExpandSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_SafeAreaType typesValueTempTmpBuf = {}; - typesValueTempTmpBuf.tag = typesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 typesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_SafeAreaType typesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_SafeAreaType typesValueTempTmpBuf = {}; + typesValueTempTmpBuf.tag = typesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 typesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_SafeAreaType typesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&typesValueTempTmpBufOpt, typesValueTempTmpBufOptLength); - for (int typesValueTempTmpBufOptBufCounterI = 0; typesValueTempTmpBufOptBufCounterI < typesValueTempTmpBufOptLength; typesValueTempTmpBufOptBufCounterI++) { - typesValueTempTmpBufOpt.array[typesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - typesValueTempTmpBuf.value = typesValueTempTmpBufOpt; - } - Opt_Array_SafeAreaType typesValueTemp = typesValueTempTmpBuf;; - const auto edgesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_SafeAreaEdge edgesValueTempTmpBuf = {}; - edgesValueTempTmpBuf.tag = edgesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((edgesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 edgesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_SafeAreaEdge edgesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + for (int typesValueTempTmpBufOptBufCounterI = 0; typesValueTempTmpBufOptBufCounterI < typesValueTempTmpBufOptLength; typesValueTempTmpBufOptBufCounterI++) { + typesValueTempTmpBufOpt.array[typesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); + } + typesValueTempTmpBuf.value = typesValueTempTmpBufOpt; + } + Opt_Array_SafeAreaType typesValueTemp = typesValueTempTmpBuf;; + const auto edgesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_SafeAreaEdge edgesValueTempTmpBuf = {}; + edgesValueTempTmpBuf.tag = edgesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((edgesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 edgesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_SafeAreaEdge edgesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&edgesValueTempTmpBufOpt, edgesValueTempTmpBufOptLength); - for (int edgesValueTempTmpBufOptBufCounterI = 0; edgesValueTempTmpBufOptBufCounterI < edgesValueTempTmpBufOptLength; edgesValueTempTmpBufOptBufCounterI++) { - edgesValueTempTmpBufOpt.array[edgesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - edgesValueTempTmpBuf.value = edgesValueTempTmpBufOpt; + for (int edgesValueTempTmpBufOptBufCounterI = 0; edgesValueTempTmpBufOptBufCounterI < edgesValueTempTmpBufOptLength; edgesValueTempTmpBufOptBufCounterI++) { + edgesValueTempTmpBufOpt.array[edgesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); } - Opt_Array_SafeAreaEdge edgesValueTemp = edgesValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setExpandSafeArea(self, static_cast(&typesValueTemp), static_cast(&edgesValueTemp)); + edgesValueTempTmpBuf.value = edgesValueTempTmpBufOpt; + } + Opt_Array_SafeAreaEdge edgesValueTemp = edgesValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setExpandSafeArea(self, static_cast(&typesValueTemp), static_cast(&edgesValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setExpandSafeArea, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackground(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; - builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BackgroundOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BackgroundOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackground(self, static_cast(&builderValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; + builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BackgroundOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackground(self, static_cast(&builderValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackground, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundImage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto srcValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceStr_image_PixelMap srcValueTempTmpBuf = {}; - srcValueTempTmpBuf.tag = srcValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((srcValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 srcValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_image_PixelMap srcValueTempTmpBufOpt = {}; - srcValueTempTmpBufOpt.selector = srcValueTempTmpBufOptUnionSelector; - if (srcValueTempTmpBufOptUnionSelector == 0) { - srcValueTempTmpBufOpt.selector = 0; - const Ark_Int8 srcValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr srcValueTempTmpBufOptBufU = {}; - srcValueTempTmpBufOptBufU.selector = srcValueTempTmpBufOptBufUUnionSelector; - if (srcValueTempTmpBufOptBufUUnionSelector == 0) { - srcValueTempTmpBufOptBufU.selector = 0; - srcValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (srcValueTempTmpBufOptBufUUnionSelector == 1) { - srcValueTempTmpBufOptBufU.selector = 1; - srcValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - srcValueTempTmpBufOpt.value0 = static_cast(srcValueTempTmpBufOptBufU); - } else if (srcValueTempTmpBufOptUnionSelector == 1) { - srcValueTempTmpBufOpt.selector = 1; - srcValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufOpt has to be chosen through deserialisation."); - } - srcValueTempTmpBuf.value = static_cast(srcValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto srcValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceStr_image_PixelMap srcValueTempTmpBuf = {}; + srcValueTempTmpBuf.tag = srcValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((srcValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 srcValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_image_PixelMap srcValueTempTmpBufOpt = {}; + srcValueTempTmpBufOpt.selector = srcValueTempTmpBufOptUnionSelector; + if (srcValueTempTmpBufOptUnionSelector == 0) { + srcValueTempTmpBufOpt.selector = 0; + const Ark_Int8 srcValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr srcValueTempTmpBufOptBufU = {}; + srcValueTempTmpBufOptBufU.selector = srcValueTempTmpBufOptBufUUnionSelector; + if (srcValueTempTmpBufOptBufUUnionSelector == 0) { + srcValueTempTmpBufOptBufU.selector = 0; + srcValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (srcValueTempTmpBufOptBufUUnionSelector == 1) { + srcValueTempTmpBufOptBufU.selector = 1; + srcValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + srcValueTempTmpBufOpt.value0 = static_cast(srcValueTempTmpBufOptBufU); + } else if (srcValueTempTmpBufOptUnionSelector == 1) { + srcValueTempTmpBufOpt.selector = 1; + srcValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceStr_image_PixelMap srcValueTemp = srcValueTempTmpBuf;; - Ark_BackgroundImageOptions optionsValueTemp = ArkuiComponentCommonBackgroundImageOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage1(self, static_cast(&srcValueTemp), static_cast(&optionsValueTemp)); + srcValueTempTmpBuf.value = static_cast(srcValueTempTmpBufOpt); + } + Opt_Union_ResourceStr_image_PixelMap srcValueTemp = srcValueTempTmpBuf;; + Ark_BackgroundImageOptions optionsValueTemp = ArkuiComponentCommonBackgroundImageOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage1(self, static_cast(&srcValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundImage1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundImage2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 repeat) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto srcValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceStr_image_PixelMap srcValueTempTmpBuf = {}; - srcValueTempTmpBuf.tag = srcValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((srcValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 srcValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_image_PixelMap srcValueTempTmpBufOpt = {}; - srcValueTempTmpBufOpt.selector = srcValueTempTmpBufOptUnionSelector; - if (srcValueTempTmpBufOptUnionSelector == 0) { - srcValueTempTmpBufOpt.selector = 0; - const Ark_Int8 srcValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr srcValueTempTmpBufOptBufU = {}; - srcValueTempTmpBufOptBufU.selector = srcValueTempTmpBufOptBufUUnionSelector; - if (srcValueTempTmpBufOptBufUUnionSelector == 0) { - srcValueTempTmpBufOptBufU.selector = 0; - srcValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (srcValueTempTmpBufOptBufUUnionSelector == 1) { - srcValueTempTmpBufOptBufU.selector = 1; - srcValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - srcValueTempTmpBufOpt.value0 = static_cast(srcValueTempTmpBufOptBufU); - } else if (srcValueTempTmpBufOptUnionSelector == 1) { - srcValueTempTmpBufOpt.selector = 1; - srcValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufOpt has to be chosen through deserialisation."); - } - srcValueTempTmpBuf.value = static_cast(srcValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto srcValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceStr_image_PixelMap srcValueTempTmpBuf = {}; + srcValueTempTmpBuf.tag = srcValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((srcValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 srcValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_image_PixelMap srcValueTempTmpBufOpt = {}; + srcValueTempTmpBufOpt.selector = srcValueTempTmpBufOptUnionSelector; + if (srcValueTempTmpBufOptUnionSelector == 0) { + srcValueTempTmpBufOpt.selector = 0; + const Ark_Int8 srcValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr srcValueTempTmpBufOptBufU = {}; + srcValueTempTmpBufOptBufU.selector = srcValueTempTmpBufOptBufUUnionSelector; + if (srcValueTempTmpBufOptBufUUnionSelector == 0) { + srcValueTempTmpBufOptBufU.selector = 0; + srcValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (srcValueTempTmpBufOptBufUUnionSelector == 1) { + srcValueTempTmpBufOptBufU.selector = 1; + srcValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + srcValueTempTmpBufOpt.value0 = static_cast(srcValueTempTmpBufOptBufU); + } else if (srcValueTempTmpBufOptUnionSelector == 1) { + srcValueTempTmpBufOpt.selector = 1; + srcValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceStr_image_PixelMap srcValueTemp = srcValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage2(self, static_cast(&srcValueTemp), static_cast(repeat)); + srcValueTempTmpBuf.value = static_cast(srcValueTempTmpBufOpt); + } + Opt_Union_ResourceStr_image_PixelMap srcValueTemp = srcValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage2(self, static_cast(&srcValueTemp), static_cast(repeat)); } KOALA_INTEROP_DIRECT_V4(CommonMethod_setBackgroundImage2, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_CommonMethod_setBackgroundBlurStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurStyle styleValueTempTmpBuf = {}; - styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlurStyle styleValueTemp = styleValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BackgroundBlurStyleOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundBlurStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BackgroundBlurStyleOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; - sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle(self, static_cast(&styleValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle styleValueTempTmpBuf = {}; + styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle styleValueTemp = styleValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundBlurStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BackgroundBlurStyleOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; + sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle(self, static_cast(&styleValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundBlurStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackgroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BackgroundEffectOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BackgroundEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; - sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect(self, static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundEffectOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BackgroundEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; + sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect(self, static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackgroundEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setForegroundBlurStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurStyle styleValueTempTmpBuf = {}; - styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlurStyle styleValueTemp = styleValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ForegroundBlurStyleOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonForegroundBlurStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ForegroundBlurStyleOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; - sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle(self, static_cast(&styleValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle styleValueTempTmpBuf = {}; + styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle styleValueTemp = styleValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ForegroundBlurStyleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonForegroundBlurStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ForegroundBlurStyleOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; + sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle(self, static_cast(&styleValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setForegroundBlurStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnClick1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void eventValueTempTmpBuf = {}; - eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; - } - Opt_Callback_ClickEvent_Void eventValueTemp = eventValueTempTmpBuf;; - const auto distanceThresholdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 distanceThresholdValueTempTmpBuf = {}; - distanceThresholdValueTempTmpBuf.tag = distanceThresholdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((distanceThresholdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - distanceThresholdValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 distanceThresholdValueTemp = distanceThresholdValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnClick1(self, static_cast(&eventValueTemp), static_cast(&distanceThresholdValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void eventValueTempTmpBuf = {}; + eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; + } + Opt_Callback_ClickEvent_Void eventValueTemp = eventValueTempTmpBuf;; + const auto distanceThresholdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 distanceThresholdValueTempTmpBuf = {}; + distanceThresholdValueTempTmpBuf.tag = distanceThresholdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((distanceThresholdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + distanceThresholdValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 distanceThresholdValueTemp = distanceThresholdValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnClick1(self, static_cast(&eventValueTemp), static_cast(&distanceThresholdValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnClick1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFocusScopeId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto idValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String idValueTempTmpBuf = {}; - idValueTempTmpBuf.tag = idValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((idValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - idValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String idValueTemp = idValueTempTmpBuf;; - const auto isGroupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isGroupValueTempTmpBuf = {}; - isGroupValueTempTmpBuf.tag = isGroupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isGroupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isGroupValueTemp = isGroupValueTempTmpBuf;; - const auto arrowStepOutValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean arrowStepOutValueTempTmpBuf = {}; - arrowStepOutValueTempTmpBuf.tag = arrowStepOutValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((arrowStepOutValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - arrowStepOutValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean arrowStepOutValueTemp = arrowStepOutValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId(self, static_cast(&idValueTemp), static_cast(&isGroupValueTemp), static_cast(&arrowStepOutValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto idValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String idValueTempTmpBuf = {}; + idValueTempTmpBuf.tag = idValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((idValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + idValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String idValueTemp = idValueTempTmpBuf;; + const auto isGroupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isGroupValueTempTmpBuf = {}; + isGroupValueTempTmpBuf.tag = isGroupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isGroupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isGroupValueTemp = isGroupValueTempTmpBuf;; + const auto arrowStepOutValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean arrowStepOutValueTempTmpBuf = {}; + arrowStepOutValueTempTmpBuf.tag = arrowStepOutValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((arrowStepOutValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + arrowStepOutValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean arrowStepOutValueTemp = arrowStepOutValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId(self, static_cast(&idValueTemp), static_cast(&isGroupValueTemp), static_cast(&arrowStepOutValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFocusScopeId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setFocusScopePriority(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String scopeIdValueTempTmpBuf = {}; - scopeIdValueTempTmpBuf.tag = scopeIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeIdValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String scopeIdValueTemp = scopeIdValueTempTmpBuf;; - const auto priorityValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FocusPriority priorityValueTempTmpBuf = {}; - priorityValueTempTmpBuf.tag = priorityValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((priorityValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - priorityValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FocusPriority priorityValueTemp = priorityValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusScopePriority(self, static_cast(&scopeIdValueTemp), static_cast(&priorityValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String scopeIdValueTempTmpBuf = {}; + scopeIdValueTempTmpBuf.tag = scopeIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeIdValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String scopeIdValueTemp = scopeIdValueTempTmpBuf;; + const auto priorityValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FocusPriority priorityValueTempTmpBuf = {}; + priorityValueTempTmpBuf.tag = priorityValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((priorityValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + priorityValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FocusPriority priorityValueTemp = priorityValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopePriority(self, static_cast(&scopeIdValueTemp), static_cast(&priorityValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setFocusScopePriority, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setTransition1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto effectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TransitionEffect effectValueTempTmpBuf = {}; - effectValueTempTmpBuf.tag = effectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((effectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - effectValueTempTmpBuf.value = static_cast(ArkuiComponentCommonTransitionEffectSerializerImpl::read(thisDeserializer)); - } - Opt_TransitionEffect effectValueTemp = effectValueTempTmpBuf;; - const auto onFinishValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TransitionFinishCallback onFinishValueTempTmpBuf = {}; - onFinishValueTempTmpBuf.tag = onFinishValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onFinishValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onFinishValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TRANSITIONFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TRANSITIONFINISHCALLBACK))))}; - } - Opt_TransitionFinishCallback onFinishValueTemp = onFinishValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setTransition1(self, static_cast(&effectValueTemp), static_cast(&onFinishValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto effectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TransitionEffect effectValueTempTmpBuf = {}; + effectValueTempTmpBuf.tag = effectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((effectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + effectValueTempTmpBuf.value = static_cast(ArkuiComponentCommonTransitionEffectSerializerImpl::read(thisDeserializer)); + } + Opt_TransitionEffect effectValueTemp = effectValueTempTmpBuf;; + const auto onFinishValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TransitionFinishCallback onFinishValueTempTmpBuf = {}; + onFinishValueTempTmpBuf.tag = onFinishValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onFinishValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onFinishValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TRANSITIONFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TRANSITIONFINISHCALLBACK))))}; + } + Opt_TransitionFinishCallback onFinishValueTemp = onFinishValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setTransition1(self, static_cast(&effectValueTemp), static_cast(&onFinishValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setTransition1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto blurRadiusValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 blurRadiusValueTempTmpBuf = {}; - blurRadiusValueTempTmpBuf.tag = blurRadiusValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((blurRadiusValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - blurRadiusValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 blurRadiusValueTemp = blurRadiusValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonBlurOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BlurOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; - sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBlur(self, static_cast(&blurRadiusValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto blurRadiusValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 blurRadiusValueTempTmpBuf = {}; + blurRadiusValueTempTmpBuf.tag = blurRadiusValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((blurRadiusValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + blurRadiusValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 blurRadiusValueTemp = blurRadiusValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonBlurOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BlurOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; + sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBlur(self, static_cast(&blurRadiusValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBlur, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setLinearGradientBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LinearGradientBlurOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonLinearGradientBlurOptionsSerializerImpl::read(thisDeserializer); - } - Opt_LinearGradientBlurOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LinearGradientBlurOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonLinearGradientBlurOptionsSerializerImpl::read(thisDeserializer); + } + Opt_LinearGradientBlurOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setLinearGradientBlur, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSystemBarEffect(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setSystemBarEffect(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setSystemBarEffect(self); } KOALA_INTEROP_DIRECT_V1(CommonMethod_setSystemBarEffect, Ark_NativePointer) void impl_CommonMethod_setUseEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto useEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean useEffectValueTempTmpBuf = {}; - useEffectValueTempTmpBuf.tag = useEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((useEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - useEffectValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean useEffectValueTemp = useEffectValueTempTmpBuf;; - const auto effectTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectType effectTypeValueTempTmpBuf = {}; - effectTypeValueTempTmpBuf.tag = effectTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((effectTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - effectTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectType effectTypeValueTemp = effectTypeValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setUseEffect1(self, static_cast(&useEffectValueTemp), static_cast(&effectTypeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto useEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean useEffectValueTempTmpBuf = {}; + useEffectValueTempTmpBuf.tag = useEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((useEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + useEffectValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean useEffectValueTemp = useEffectValueTempTmpBuf;; + const auto effectTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectType effectTypeValueTempTmpBuf = {}; + effectTypeValueTempTmpBuf.tag = effectTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((effectTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + effectTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectType effectTypeValueTemp = effectTypeValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setUseEffect1(self, static_cast(&useEffectValueTemp), static_cast(&effectTypeValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setUseEffect1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBackdropBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto radiusValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 radiusValueTempTmpBuf = {}; - radiusValueTempTmpBuf.tag = radiusValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((radiusValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - radiusValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 radiusValueTemp = radiusValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonBlurOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BlurOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; - sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur(self, static_cast(&radiusValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto radiusValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 radiusValueTempTmpBuf = {}; + radiusValueTempTmpBuf.tag = radiusValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((radiusValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + radiusValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 radiusValueTemp = radiusValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonBlurOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BlurOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto sysOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptionsValueTempTmpBuf = {}; + sysOptionsValueTempTmpBuf.tag = sysOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sysOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sysOptionsValueTempTmpBuf.value = ArkuiComponentCommonSystemAdaptiveOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SystemAdaptiveOptions sysOptionsValueTemp = sysOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur(self, static_cast(&radiusValueTemp), static_cast(&optionsValueTemp), static_cast(&sysOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBackdropBlur, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setSharedTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto idValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String idValueTempTmpBuf = {}; - idValueTempTmpBuf.tag = idValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((idValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - idValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String idValueTemp = idValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_sharedTransitionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSharedTransitionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_sharedTransitionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setSharedTransition(self, static_cast(&idValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto idValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String idValueTempTmpBuf = {}; + idValueTempTmpBuf.tag = idValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((idValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + idValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String idValueTemp = idValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_sharedTransitionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSharedTransitionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_sharedTransitionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setSharedTransition(self, static_cast(&idValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setSharedTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setChainMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Axis directionValueTempTmpBuf = {}; - directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Axis directionValueTemp = directionValueTempTmpBuf;; - const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ChainStyle styleValueTempTmpBuf = {}; - styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ChainStyle styleValueTemp = styleValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setChainMode(self, static_cast(&directionValueTemp), static_cast(&styleValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Axis directionValueTempTmpBuf = {}; + directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Axis directionValueTemp = directionValueTempTmpBuf;; + const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ChainStyle styleValueTempTmpBuf = {}; + styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ChainStyle styleValueTemp = styleValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setChainMode(self, static_cast(&directionValueTemp), static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setChainMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnDrop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto eventCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnDragEventCallback eventCallbackValueTempTmpBuf = {}; - eventCallbackValueTempTmpBuf.tag = eventCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONDRAGEVENTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONDRAGEVENTCALLBACK))))}; - } - Opt_OnDragEventCallback eventCallbackValueTemp = eventCallbackValueTempTmpBuf;; - Ark_DropOptions dropOptionsValueTemp = ArkuiComponentCommonDropOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getCommonMethodModifier()->setOnDrop1(self, static_cast(&eventCallbackValueTemp), static_cast(&dropOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto eventCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnDragEventCallback eventCallbackValueTempTmpBuf = {}; + eventCallbackValueTempTmpBuf.tag = eventCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((eventCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + eventCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONDRAGEVENTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONDRAGEVENTCALLBACK))))}; + } + Opt_OnDragEventCallback eventCallbackValueTemp = eventCallbackValueTempTmpBuf;; + Ark_DropOptions dropOptionsValueTemp = ArkuiComponentCommonDropOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getCommonMethodModifier()->setOnDrop1(self, static_cast(&eventCallbackValueTemp), static_cast(&dropOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnDrop1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setDragPreview(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto previewValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_CustomNodeBuilder_DragItemInfo_String previewValueTempTmpBuf = {}; - previewValueTempTmpBuf.tag = previewValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((previewValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 previewValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_CustomNodeBuilder_DragItemInfo_String previewValueTempTmpBufOpt = {}; - previewValueTempTmpBufOpt.selector = previewValueTempTmpBufOptUnionSelector; - if (previewValueTempTmpBufOptUnionSelector == 0) { - previewValueTempTmpBufOpt.selector = 0; - previewValueTempTmpBufOpt.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else if (previewValueTempTmpBufOptUnionSelector == 1) { - previewValueTempTmpBufOpt.selector = 1; - previewValueTempTmpBufOpt.value1 = ArkuiComponentCommonDragItemInfoSerializerImpl::read(thisDeserializer); - } else if (previewValueTempTmpBufOptUnionSelector == 2) { - previewValueTempTmpBufOpt.selector = 2; - previewValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for previewValueTempTmpBufOpt has to be chosen through deserialisation."); - } - previewValueTempTmpBuf.value = static_cast(previewValueTempTmpBufOpt); - } - Opt_Union_CustomNodeBuilder_DragItemInfo_String previewValueTemp = previewValueTempTmpBuf;; - const auto configValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PreviewConfiguration configValueTempTmpBuf = {}; - configValueTempTmpBuf.tag = configValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((configValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - configValueTempTmpBuf.value = ArkuiComponentCommonPreviewConfigurationSerializerImpl::read(thisDeserializer); - } - Opt_PreviewConfiguration configValueTemp = configValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setDragPreview(self, static_cast(&previewValueTemp), static_cast(&configValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto previewValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CustomNodeBuilder_DragItemInfo_String previewValueTempTmpBuf = {}; + previewValueTempTmpBuf.tag = previewValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((previewValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 previewValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_CustomNodeBuilder_DragItemInfo_String previewValueTempTmpBufOpt = {}; + previewValueTempTmpBufOpt.selector = previewValueTempTmpBufOptUnionSelector; + if (previewValueTempTmpBufOptUnionSelector == 0) { + previewValueTempTmpBufOpt.selector = 0; + previewValueTempTmpBufOpt.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else if (previewValueTempTmpBufOptUnionSelector == 1) { + previewValueTempTmpBufOpt.selector = 1; + previewValueTempTmpBufOpt.value1 = ArkuiComponentCommonDragItemInfoSerializerImpl::read(thisDeserializer); + } else if (previewValueTempTmpBufOptUnionSelector == 2) { + previewValueTempTmpBufOpt.selector = 2; + previewValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for previewValueTempTmpBufOpt has to be chosen through deserialisation."); + } + previewValueTempTmpBuf.value = static_cast(previewValueTempTmpBufOpt); + } + Opt_Union_CustomNodeBuilder_DragItemInfo_String previewValueTemp = previewValueTempTmpBuf;; + const auto configValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PreviewConfiguration configValueTempTmpBuf = {}; + configValueTempTmpBuf.tag = configValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((configValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + configValueTempTmpBuf.value = ArkuiComponentCommonPreviewConfigurationSerializerImpl::read(thisDeserializer); + } + Opt_PreviewConfiguration configValueTemp = configValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setDragPreview(self, static_cast(&previewValueTemp), static_cast(&configValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setDragPreview, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOverlay(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_CustomNodeBuilder_ComponentContent valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_CustomNodeBuilder_ComponentContent valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readObject()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_String_CustomNodeBuilder_ComponentContent valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OverlayOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonOverlayOptionsSerializerImpl::read(thisDeserializer); - } - Opt_OverlayOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOverlay(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_CustomNodeBuilder_ComponentContent valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_CustomNodeBuilder_ComponentContent valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readObject()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_CustomNodeBuilder_ComponentContent valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OverlayOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonOverlayOptionsSerializerImpl::read(thisDeserializer); + } + Opt_OverlayOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOverlay(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOverlay, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBlendMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlendMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlendMode valueValueTemp = valueValueTempTmpBuf;; - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlendApplyType typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlendApplyType typeValueTemp = typeValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBlendMode(self, static_cast(&valueValueTemp), static_cast(&typeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlendMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlendMode valueValueTemp = valueValueTempTmpBuf;; + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlendApplyType typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlendApplyType typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBlendMode(self, static_cast(&valueValueTemp), static_cast(&typeValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBlendMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAdvancedBlendMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto effectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_BlendMode_uiEffect_BrightnessBlender effectValueTempTmpBuf = {}; - effectValueTempTmpBuf.tag = effectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((effectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 effectValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_BlendMode_uiEffect_BrightnessBlender effectValueTempTmpBufOpt = {}; - effectValueTempTmpBufOpt.selector = effectValueTempTmpBufOptUnionSelector; - if (effectValueTempTmpBufOptUnionSelector == 0) { - effectValueTempTmpBufOpt.selector = 0; - effectValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (effectValueTempTmpBufOptUnionSelector == 1) { - effectValueTempTmpBufOpt.selector = 1; - effectValueTempTmpBufOpt.value1 = OhosGraphicsUiEffectUiEffectBrightnessBlenderSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for effectValueTempTmpBufOpt has to be chosen through deserialisation."); - } - effectValueTempTmpBuf.value = static_cast(effectValueTempTmpBufOpt); - } - Opt_Union_BlendMode_uiEffect_BrightnessBlender effectValueTemp = effectValueTempTmpBuf;; - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlendApplyType typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlendApplyType typeValueTemp = typeValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAdvancedBlendMode(self, static_cast(&effectValueTemp), static_cast(&typeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto effectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_BlendMode_uiEffect_BrightnessBlender effectValueTempTmpBuf = {}; + effectValueTempTmpBuf.tag = effectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((effectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 effectValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_BlendMode_uiEffect_BrightnessBlender effectValueTempTmpBufOpt = {}; + effectValueTempTmpBufOpt.selector = effectValueTempTmpBufOptUnionSelector; + if (effectValueTempTmpBufOptUnionSelector == 0) { + effectValueTempTmpBufOpt.selector = 0; + effectValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (effectValueTempTmpBufOptUnionSelector == 1) { + effectValueTempTmpBufOpt.selector = 1; + effectValueTempTmpBufOpt.value1 = OhosGraphicsUiEffectUiEffectBrightnessBlenderSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for effectValueTempTmpBufOpt has to be chosen through deserialisation."); + } + effectValueTempTmpBuf.value = static_cast(effectValueTempTmpBufOpt); + } + Opt_Union_BlendMode_uiEffect_BrightnessBlender effectValueTemp = effectValueTempTmpBuf;; + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlendApplyType typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlendApplyType typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAdvancedBlendMode(self, static_cast(&effectValueTemp), static_cast(&typeValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAdvancedBlendMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setGeometryTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto idValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String idValueTempTmpBuf = {}; - idValueTempTmpBuf.tag = idValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((idValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - idValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String idValueTemp = idValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GeometryTransitionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonGeometryTransitionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GeometryTransitionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition(self, static_cast(&idValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto idValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String idValueTempTmpBuf = {}; + idValueTempTmpBuf.tag = idValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((idValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + idValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String idValueTemp = idValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GeometryTransitionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonGeometryTransitionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GeometryTransitionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition(self, static_cast(&idValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setGeometryTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindTips(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto messageValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TipsMessageType messageValueTempTmpBuf = {}; - messageValueTempTmpBuf.tag = messageValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((messageValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 messageValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_TipsMessageType messageValueTempTmpBufOpt = {}; - messageValueTempTmpBufOpt.selector = messageValueTempTmpBufOptUnionSelector; - if (messageValueTempTmpBufOptUnionSelector == 0) { - messageValueTempTmpBufOpt.selector = 0; - const Ark_Int8 messageValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr messageValueTempTmpBufOptBufU = {}; - messageValueTempTmpBufOptBufU.selector = messageValueTempTmpBufOptBufUUnionSelector; - if (messageValueTempTmpBufOptBufUUnionSelector == 0) { - messageValueTempTmpBufOptBufU.selector = 0; - messageValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (messageValueTempTmpBufOptBufUUnionSelector == 1) { - messageValueTempTmpBufOptBufU.selector = 1; - messageValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for messageValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - messageValueTempTmpBufOpt.value0 = static_cast(messageValueTempTmpBufOptBufU); - } else if (messageValueTempTmpBufOptUnionSelector == 1) { - messageValueTempTmpBufOpt.selector = 1; - messageValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentStyledStringStyledStringSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for messageValueTempTmpBufOpt has to be chosen through deserialisation."); - } - messageValueTempTmpBuf.value = static_cast(messageValueTempTmpBufOpt); - } - Opt_TipsMessageType messageValueTemp = messageValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TipsOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonTipsOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TipsOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindTips(self, static_cast(&messageValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto messageValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TipsMessageType messageValueTempTmpBuf = {}; + messageValueTempTmpBuf.tag = messageValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((messageValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 messageValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_TipsMessageType messageValueTempTmpBufOpt = {}; + messageValueTempTmpBufOpt.selector = messageValueTempTmpBufOptUnionSelector; + if (messageValueTempTmpBufOptUnionSelector == 0) { + messageValueTempTmpBufOpt.selector = 0; + const Ark_Int8 messageValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr messageValueTempTmpBufOptBufU = {}; + messageValueTempTmpBufOptBufU.selector = messageValueTempTmpBufOptBufUUnionSelector; + if (messageValueTempTmpBufOptBufUUnionSelector == 0) { + messageValueTempTmpBufOptBufU.selector = 0; + messageValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (messageValueTempTmpBufOptBufUUnionSelector == 1) { + messageValueTempTmpBufOptBufU.selector = 1; + messageValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for messageValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + messageValueTempTmpBufOpt.value0 = static_cast(messageValueTempTmpBufOptBufU); + } else if (messageValueTempTmpBufOptUnionSelector == 1) { + messageValueTempTmpBufOpt.selector = 1; + messageValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentStyledStringStyledStringSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for messageValueTempTmpBufOpt has to be chosen through deserialisation."); + } + messageValueTempTmpBuf.value = static_cast(messageValueTempTmpBufOpt); + } + Opt_TipsMessageType messageValueTemp = messageValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TipsOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonTipsOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TipsOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindTips(self, static_cast(&messageValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindTips, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindPopup(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean showValueTempTmpBuf = {}; - showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - showValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean showValueTemp = showValueTempTmpBuf;; - const auto popupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_PopupOptions_CustomPopupOptions popupValueTempTmpBuf = {}; - popupValueTempTmpBuf.tag = popupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((popupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 popupValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_PopupOptions_CustomPopupOptions popupValueTempTmpBufOpt = {}; - popupValueTempTmpBufOpt.selector = popupValueTempTmpBufOptUnionSelector; - if (popupValueTempTmpBufOptUnionSelector == 0) { - popupValueTempTmpBufOpt.selector = 0; - popupValueTempTmpBufOpt.value0 = ArkuiComponentCommonPopupOptionsSerializerImpl::read(thisDeserializer); - } else if (popupValueTempTmpBufOptUnionSelector == 1) { - popupValueTempTmpBufOpt.selector = 1; - popupValueTempTmpBufOpt.value1 = ArkuiComponentCommonCustomPopupOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for popupValueTempTmpBufOpt has to be chosen through deserialisation."); - } - popupValueTempTmpBuf.value = static_cast(popupValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean showValueTempTmpBuf = {}; + showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + showValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean showValueTemp = showValueTempTmpBuf;; + const auto popupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_PopupOptions_CustomPopupOptions popupValueTempTmpBuf = {}; + popupValueTempTmpBuf.tag = popupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((popupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 popupValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_PopupOptions_CustomPopupOptions popupValueTempTmpBufOpt = {}; + popupValueTempTmpBufOpt.selector = popupValueTempTmpBufOptUnionSelector; + if (popupValueTempTmpBufOptUnionSelector == 0) { + popupValueTempTmpBufOpt.selector = 0; + popupValueTempTmpBufOpt.value0 = ArkuiComponentCommonPopupOptionsSerializerImpl::read(thisDeserializer); + } else if (popupValueTempTmpBufOptUnionSelector == 1) { + popupValueTempTmpBufOpt.selector = 1; + popupValueTempTmpBufOpt.value1 = ArkuiComponentCommonCustomPopupOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for popupValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_PopupOptions_CustomPopupOptions popupValueTemp = popupValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindPopup(self, static_cast(&showValueTemp), static_cast(&popupValueTemp)); + popupValueTempTmpBuf.value = static_cast(popupValueTempTmpBufOpt); + } + Opt_Union_PopupOptions_CustomPopupOptions popupValueTemp = popupValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindPopup(self, static_cast(&showValueTemp), static_cast(&popupValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindPopup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindMenu0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBufOpt = {}; - contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; - if (contentValueTempTmpBufOptUnionSelector == 0) { - contentValueTempTmpBufOpt.selector = 0; - const Ark_Int32 contentValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_MenuElement contentValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBufOpt = {}; + contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; + if (contentValueTempTmpBufOptUnionSelector == 0) { + contentValueTempTmpBufOpt.selector = 0; + const Ark_Int32 contentValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_MenuElement contentValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&contentValueTempTmpBufOptBufU, contentValueTempTmpBufOptBufULength); - for (int contentValueTempTmpBufOptBufUBufCounterI = 0; contentValueTempTmpBufOptBufUBufCounterI < contentValueTempTmpBufOptBufULength; contentValueTempTmpBufOptBufUBufCounterI++) { - contentValueTempTmpBufOptBufU.array[contentValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonMenuElementSerializerImpl::read(thisDeserializer); - } - contentValueTempTmpBufOpt.value0 = contentValueTempTmpBufOptBufU; - } else if (contentValueTempTmpBufOptUnionSelector == 1) { - contentValueTempTmpBufOpt.selector = 1; - contentValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int contentValueTempTmpBufOptBufUBufCounterI = 0; contentValueTempTmpBufOptBufUBufCounterI < contentValueTempTmpBufOptBufULength; contentValueTempTmpBufOptBufUBufCounterI++) { + contentValueTempTmpBufOptBufU.array[contentValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonMenuElementSerializerImpl::read(thisDeserializer); } - contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); - } - Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindMenu0(self, static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); + contentValueTempTmpBufOpt.value0 = contentValueTempTmpBufOptBufU; + } else if (contentValueTempTmpBufOptUnionSelector == 1) { + contentValueTempTmpBufOpt.selector = 1; + contentValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); + } + contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + } + Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindMenu0(self, static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindMenu0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindMenu1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isShowValueTempTmpBuf = {}; - isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isShowValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isShowValueTemp = isShowValueTempTmpBuf;; - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBufOpt = {}; - contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; - if (contentValueTempTmpBufOptUnionSelector == 0) { - contentValueTempTmpBufOpt.selector = 0; - const Ark_Int32 contentValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_MenuElement contentValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isShowValueTempTmpBuf = {}; + isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isShowValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isShowValueTemp = isShowValueTempTmpBuf;; + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_MenuElement_CustomNodeBuilder contentValueTempTmpBufOpt = {}; + contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; + if (contentValueTempTmpBufOptUnionSelector == 0) { + contentValueTempTmpBufOpt.selector = 0; + const Ark_Int32 contentValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_MenuElement contentValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&contentValueTempTmpBufOptBufU, contentValueTempTmpBufOptBufULength); - for (int contentValueTempTmpBufOptBufUBufCounterI = 0; contentValueTempTmpBufOptBufUBufCounterI < contentValueTempTmpBufOptBufULength; contentValueTempTmpBufOptBufUBufCounterI++) { - contentValueTempTmpBufOptBufU.array[contentValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonMenuElementSerializerImpl::read(thisDeserializer); - } - contentValueTempTmpBufOpt.value0 = contentValueTempTmpBufOptBufU; - } else if (contentValueTempTmpBufOptUnionSelector == 1) { - contentValueTempTmpBufOpt.selector = 1; - contentValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int contentValueTempTmpBufOptBufUBufCounterI = 0; contentValueTempTmpBufOptBufUBufCounterI < contentValueTempTmpBufOptBufULength; contentValueTempTmpBufOptBufUBufCounterI++) { + contentValueTempTmpBufOptBufU.array[contentValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonMenuElementSerializerImpl::read(thisDeserializer); } - contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); - } - Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindMenu1(self, static_cast(&isShowValueTemp), static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); + contentValueTempTmpBufOpt.value0 = contentValueTempTmpBufOptBufU; + } else if (contentValueTempTmpBufOptUnionSelector == 1) { + contentValueTempTmpBufOpt.selector = 1; + contentValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); + } + contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + } + Opt_Union_Array_MenuElement_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindMenu1(self, static_cast(&isShowValueTemp), static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindMenu1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindContextMenu0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; - const auto responseTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResponseType responseTypeValueTempTmpBuf = {}; - responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((responseTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - responseTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContextMenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonContextMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ContextMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu0(self, static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto responseTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResponseType responseTypeValueTempTmpBuf = {}; + responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((responseTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + responseTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContextMenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonContextMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ContextMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu0(self, static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindContextMenu0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindContextMenu1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isShownValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isShownValueTempTmpBuf = {}; - isShownValueTempTmpBuf.tag = isShownValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isShownValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isShownValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isShownValueTemp = isShownValueTempTmpBuf;; - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContextMenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonContextMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ContextMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu1(self, static_cast(&isShownValueTemp), static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isShownValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isShownValueTempTmpBuf = {}; + isShownValueTempTmpBuf.tag = isShownValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isShownValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isShownValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isShownValueTemp = isShownValueTempTmpBuf;; + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContextMenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonContextMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ContextMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu1(self, static_cast(&isShownValueTemp), static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindContextMenu1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindContentCover0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean isShowValueTempTmpBuf = {}; - isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 isShowValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean isShowValueTempTmpBufOpt = {}; - isShowValueTempTmpBufOpt.selector = isShowValueTempTmpBufOptUnionSelector; - if (isShowValueTempTmpBufOptUnionSelector == 0) { - isShowValueTempTmpBufOpt.selector = 0; - isShowValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (isShowValueTempTmpBufOptUnionSelector == 1) { - isShowValueTempTmpBufOpt.selector = 1; - isShowValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for isShowValueTempTmpBufOpt has to be chosen through deserialisation."); - } - isShowValueTempTmpBuf.value = static_cast(isShowValueTempTmpBufOpt); - } - Opt_Union_Boolean_Bindable_Boolean isShowValueTemp = isShowValueTempTmpBuf;; - const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; - builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ModalTransition typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ModalTransition typeValueTemp = typeValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover0(self, static_cast(&isShowValueTemp), static_cast(&builderValueTemp), static_cast(&typeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean isShowValueTempTmpBuf = {}; + isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 isShowValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean isShowValueTempTmpBufOpt = {}; + isShowValueTempTmpBufOpt.selector = isShowValueTempTmpBufOptUnionSelector; + if (isShowValueTempTmpBufOptUnionSelector == 0) { + isShowValueTempTmpBufOpt.selector = 0; + isShowValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (isShowValueTempTmpBufOptUnionSelector == 1) { + isShowValueTempTmpBufOpt.selector = 1; + isShowValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for isShowValueTempTmpBufOpt has to be chosen through deserialisation."); + } + isShowValueTempTmpBuf.value = static_cast(isShowValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean isShowValueTemp = isShowValueTempTmpBuf;; + const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; + builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ModalTransition typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ModalTransition typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover0(self, static_cast(&isShowValueTemp), static_cast(&builderValueTemp), static_cast(&typeValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindContentCover0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindContentCover1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean isShowValueTempTmpBuf = {}; - isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 isShowValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean isShowValueTempTmpBufOpt = {}; - isShowValueTempTmpBufOpt.selector = isShowValueTempTmpBufOptUnionSelector; - if (isShowValueTempTmpBufOptUnionSelector == 0) { - isShowValueTempTmpBufOpt.selector = 0; - isShowValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (isShowValueTempTmpBufOptUnionSelector == 1) { - isShowValueTempTmpBufOpt.selector = 1; - isShowValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for isShowValueTempTmpBufOpt has to be chosen through deserialisation."); - } - isShowValueTempTmpBuf.value = static_cast(isShowValueTempTmpBufOpt); - } - Opt_Union_Boolean_Bindable_Boolean isShowValueTemp = isShowValueTempTmpBuf;; - const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; - builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContentCoverOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonContentCoverOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ContentCoverOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover1(self, static_cast(&isShowValueTemp), static_cast(&builderValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean isShowValueTempTmpBuf = {}; + isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 isShowValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean isShowValueTempTmpBufOpt = {}; + isShowValueTempTmpBufOpt.selector = isShowValueTempTmpBufOptUnionSelector; + if (isShowValueTempTmpBufOptUnionSelector == 0) { + isShowValueTempTmpBufOpt.selector = 0; + isShowValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (isShowValueTempTmpBufOptUnionSelector == 1) { + isShowValueTempTmpBufOpt.selector = 1; + isShowValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for isShowValueTempTmpBufOpt has to be chosen through deserialisation."); + } + isShowValueTempTmpBuf.value = static_cast(isShowValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean isShowValueTemp = isShowValueTempTmpBuf;; + const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; + builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentCoverOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonContentCoverOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ContentCoverOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover1(self, static_cast(&isShowValueTemp), static_cast(&builderValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindContentCover1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setBindSheet(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean isShowValueTempTmpBuf = {}; - isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 isShowValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean isShowValueTempTmpBufOpt = {}; - isShowValueTempTmpBufOpt.selector = isShowValueTempTmpBufOptUnionSelector; - if (isShowValueTempTmpBufOptUnionSelector == 0) { - isShowValueTempTmpBufOpt.selector = 0; - isShowValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (isShowValueTempTmpBufOptUnionSelector == 1) { - isShowValueTempTmpBufOpt.selector = 1; - isShowValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for isShowValueTempTmpBufOpt has to be chosen through deserialisation."); - } - isShowValueTempTmpBuf.value = static_cast(isShowValueTempTmpBufOpt); - } - Opt_Union_Boolean_Bindable_Boolean isShowValueTemp = isShowValueTempTmpBuf;; - const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; - builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SheetOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSheetOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SheetOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindSheet(self, static_cast(&isShowValueTemp), static_cast(&builderValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean isShowValueTempTmpBuf = {}; + isShowValueTempTmpBuf.tag = isShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 isShowValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean isShowValueTempTmpBufOpt = {}; + isShowValueTempTmpBufOpt.selector = isShowValueTempTmpBufOptUnionSelector; + if (isShowValueTempTmpBufOptUnionSelector == 0) { + isShowValueTempTmpBufOpt.selector = 0; + isShowValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (isShowValueTempTmpBufOptUnionSelector == 1) { + isShowValueTempTmpBufOpt.selector = 1; + isShowValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for isShowValueTempTmpBufOpt has to be chosen through deserialisation."); + } + isShowValueTempTmpBuf.value = static_cast(isShowValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean isShowValueTemp = isShowValueTempTmpBuf;; + const auto builderValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder builderValueTempTmpBuf = {}; + builderValueTempTmpBuf.tag = builderValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((builderValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + builderValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder builderValueTemp = builderValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SheetOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSheetOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SheetOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindSheet(self, static_cast(&isShowValueTemp), static_cast(&builderValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setBindSheet, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnVisibleAreaChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto ratiosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_F64 ratiosValueTempTmpBuf = {}; - ratiosValueTempTmpBuf.tag = ratiosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((ratiosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 ratiosValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_F64 ratiosValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto ratiosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_F64 ratiosValueTempTmpBuf = {}; + ratiosValueTempTmpBuf.tag = ratiosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((ratiosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 ratiosValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_F64 ratiosValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&ratiosValueTempTmpBufOpt, ratiosValueTempTmpBufOptLength); - for (int ratiosValueTempTmpBufOptBufCounterI = 0; ratiosValueTempTmpBufOptBufCounterI < ratiosValueTempTmpBufOptLength; ratiosValueTempTmpBufOptBufCounterI++) { - ratiosValueTempTmpBufOpt.array[ratiosValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); - } - ratiosValueTempTmpBuf.value = ratiosValueTempTmpBufOpt; - } - Opt_Array_F64 ratiosValueTemp = ratiosValueTempTmpBuf;; - const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VisibleAreaChangeCallback eventValueTempTmpBuf = {}; - eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VISIBLEAREACHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VISIBLEAREACHANGECALLBACK))))}; - } - Opt_VisibleAreaChangeCallback eventValueTemp = eventValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaChange(self, static_cast(&ratiosValueTemp), static_cast(&eventValueTemp)); + for (int ratiosValueTempTmpBufOptBufCounterI = 0; ratiosValueTempTmpBufOptBufCounterI < ratiosValueTempTmpBufOptLength; ratiosValueTempTmpBufOptBufCounterI++) { + ratiosValueTempTmpBufOpt.array[ratiosValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); + } + ratiosValueTempTmpBuf.value = ratiosValueTempTmpBufOpt; + } + Opt_Array_F64 ratiosValueTemp = ratiosValueTempTmpBuf;; + const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VisibleAreaChangeCallback eventValueTempTmpBuf = {}; + eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VISIBLEAREACHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VISIBLEAREACHANGECALLBACK))))}; + } + Opt_VisibleAreaChangeCallback eventValueTemp = eventValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaChange(self, static_cast(&ratiosValueTemp), static_cast(&eventValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnVisibleAreaChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VisibleAreaEventOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonVisibleAreaEventOptionsSerializerImpl::read(thisDeserializer); - } - Opt_VisibleAreaEventOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VisibleAreaChangeCallback eventValueTempTmpBuf = {}; - eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VISIBLEAREACHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VISIBLEAREACHANGECALLBACK))))}; - } - Opt_VisibleAreaChangeCallback eventValueTemp = eventValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaApproximateChange(self, static_cast(&optionsValueTemp), static_cast(&eventValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VisibleAreaEventOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonVisibleAreaEventOptionsSerializerImpl::read(thisDeserializer); + } + Opt_VisibleAreaEventOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VisibleAreaChangeCallback eventValueTempTmpBuf = {}; + eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VISIBLEAREACHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VISIBLEAREACHANGECALLBACK))))}; + } + Opt_VisibleAreaChangeCallback eventValueTemp = eventValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaApproximateChange(self, static_cast(&optionsValueTemp), static_cast(&eventValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setKeyboardShortcut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_FunctionKey valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_FunctionKey valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_String_FunctionKey valueValueTemp = valueValueTempTmpBuf;; - const auto keysValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ModifierKey keysValueTempTmpBuf = {}; - keysValueTempTmpBuf.tag = keysValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((keysValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 keysValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ModifierKey keysValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_FunctionKey valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_FunctionKey valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_FunctionKey valueValueTemp = valueValueTempTmpBuf;; + const auto keysValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ModifierKey keysValueTempTmpBuf = {}; + keysValueTempTmpBuf.tag = keysValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((keysValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 keysValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ModifierKey keysValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&keysValueTempTmpBufOpt, keysValueTempTmpBufOptLength); - for (int keysValueTempTmpBufOptBufCounterI = 0; keysValueTempTmpBufOptBufCounterI < keysValueTempTmpBufOptLength; keysValueTempTmpBufOptBufCounterI++) { - keysValueTempTmpBufOpt.array[keysValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - keysValueTempTmpBuf.value = keysValueTempTmpBufOpt; - } - Opt_Array_ModifierKey keysValueTemp = keysValueTempTmpBuf;; - const auto actionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void actionValueTempTmpBuf = {}; - actionValueTempTmpBuf.tag = actionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((actionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - actionValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void actionValueTemp = actionValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setKeyboardShortcut(self, static_cast(&valueValueTemp), static_cast(&keysValueTemp), static_cast(&actionValueTemp)); + for (int keysValueTempTmpBufOptBufCounterI = 0; keysValueTempTmpBufOptBufCounterI < keysValueTempTmpBufOptLength; keysValueTempTmpBufOptBufCounterI++) { + keysValueTempTmpBufOpt.array[keysValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); + } + keysValueTempTmpBuf.value = keysValueTempTmpBufOpt; + } + Opt_Array_ModifierKey keysValueTemp = keysValueTempTmpBuf;; + const auto actionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void actionValueTempTmpBuf = {}; + actionValueTempTmpBuf.tag = actionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((actionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + actionValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void actionValueTemp = actionValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setKeyboardShortcut(self, static_cast(&valueValueTemp), static_cast(&keysValueTemp), static_cast(&actionValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setKeyboardShortcut, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setAccessibilityGroup(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isGroupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isGroupValueTempTmpBuf = {}; - isGroupValueTempTmpBuf.tag = isGroupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isGroupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isGroupValueTemp = isGroupValueTempTmpBuf;; - const auto accessibilityOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AccessibilityOptions accessibilityOptionsValueTempTmpBuf = {}; - accessibilityOptionsValueTempTmpBuf.tag = accessibilityOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((accessibilityOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - accessibilityOptionsValueTempTmpBuf.value = ArkuiComponentUnitsAccessibilityOptionsSerializerImpl::read(thisDeserializer); - } - Opt_AccessibilityOptions accessibilityOptionsValueTemp = accessibilityOptionsValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup(self, static_cast(&isGroupValueTemp), static_cast(&accessibilityOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isGroupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isGroupValueTempTmpBuf = {}; + isGroupValueTempTmpBuf.tag = isGroupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isGroupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isGroupValueTemp = isGroupValueTempTmpBuf;; + const auto accessibilityOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AccessibilityOptions accessibilityOptionsValueTempTmpBuf = {}; + accessibilityOptionsValueTempTmpBuf.tag = accessibilityOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((accessibilityOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + accessibilityOptionsValueTempTmpBuf.value = ArkuiComponentUnitsAccessibilityOptionsSerializerImpl::read(thisDeserializer); + } + Opt_AccessibilityOptions accessibilityOptionsValueTemp = accessibilityOptionsValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup(self, static_cast(&isGroupValueTemp), static_cast(&accessibilityOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setAccessibilityGroup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonMethod_setOnGestureRecognizerJudgeBegin1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GestureRecognizerJudgeBeginCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK))))}; - } - Opt_GestureRecognizerJudgeBeginCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - const auto exposeInnerGestureValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean exposeInnerGestureValueTempTmpBuf = {}; - exposeInnerGestureValueTempTmpBuf.tag = exposeInnerGestureValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((exposeInnerGestureValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - exposeInnerGestureValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean exposeInnerGestureValueTemp = exposeInnerGestureValueTempTmpBuf;; - GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin1(self, static_cast(&callback_ValueTemp), static_cast(&exposeInnerGestureValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GestureRecognizerJudgeBeginCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURERECOGNIZERJUDGEBEGINCALLBACK))))}; + } + Opt_GestureRecognizerJudgeBeginCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + const auto exposeInnerGestureValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean exposeInnerGestureValueTempTmpBuf = {}; + exposeInnerGestureValueTempTmpBuf.tag = exposeInnerGestureValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((exposeInnerGestureValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + exposeInnerGestureValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean exposeInnerGestureValueTemp = exposeInnerGestureValueTempTmpBuf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin1(self, static_cast(&callback_ValueTemp), static_cast(&exposeInnerGestureValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonMethod_setOnGestureRecognizerJudgeBegin1, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CommonShapeMethod_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCommonShapeMethodModifier()->construct(id, flags); + return GetNodeModifiers()->getCommonShapeMethodModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(CommonShapeMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CommonShapeMethod_setStroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStroke(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStroke(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStroke, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setFill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setFill(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setFill(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setFill, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeDashOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashOffset(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeDashOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeLineCap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineCapStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineCapStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeLineCap(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineCapStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineCapStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeLineCap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeLineCap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeLineJoin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineJoinStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineJoinStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeLineJoin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineJoinStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineJoinStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeLineJoin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeLineJoin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeMiterLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeMiterLimit(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeMiterLimit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeMiterLimit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeOpacity(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeOpacity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setFillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setFillOpacity(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setFillOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setFillOpacity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setAntiAlias(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setAntiAlias(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setAntiAlias(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setAntiAlias, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CommonShapeMethod_setStrokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_Length valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_Length valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptTempBuf = {}; - valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBuf.selector = 0; - valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBuf.selector = 1; - valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBuf.selector = 2; - valueValueTempTmpBufOptTempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptTempBuf = {}; + valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBuf.selector = 0; + valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBuf.selector = 1; + valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBuf.selector = 2; + valueValueTempTmpBufOptTempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_setStrokeDashArray, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ScrollableCommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScrollableCommonMethodModifier()->construct(id, flags); + return GetNodeModifiers()->getScrollableCommonMethodModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ScrollableCommonMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ScrollableCommonMethod_setScrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBar(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setScrollBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setScrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_arkui_component_enums_Color_I32_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_arkui_component_enums_Color_I32_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setScrollBarColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setScrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setScrollBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NestedScrollOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonNestedScrollOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NestedScrollOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonNestedScrollOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setNestedScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setEnableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setEnableScrollInteraction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setFriction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setFriction(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setFriction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setFriction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setOnReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnReachStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnReachStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setOnReachStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setOnReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnReachEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnReachEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setOnReachEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setOnScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScrollStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScrollStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setOnScrollStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setOnScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScrollStop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScrollStop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setOnScrollStop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setFlingSpeedLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setFlingSpeedLimit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setFlingSpeedLimit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setFlingSpeedLimit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setClipContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ContentClipMode_RectShape valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ContentClipMode_RectShape valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(OhosArkuiShapeRectShapeSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ContentClipMode_RectShape valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ContentClipMode_RectShape valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(OhosArkuiShapeRectShapeSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ContentClipMode_RectShape valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setClipContent(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ContentClipMode_RectShape valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setClipContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setClipContent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setDigitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CrownSensitivity valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setDigitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setBackToTop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setBackToTop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setBackToTop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setBackToTop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setEdgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto edgeEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffect edgeEffectValueTempTmpBuf = {}; - edgeEffectValueTempTmpBuf.tag = edgeEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((edgeEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - edgeEffectValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EdgeEffect edgeEffectValueTemp = edgeEffectValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonEdgeEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setEdgeEffect(self, static_cast(&edgeEffectValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto edgeEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect edgeEffectValueTempTmpBuf = {}; + edgeEffectValueTempTmpBuf.tag = edgeEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((edgeEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + edgeEffectValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect edgeEffectValueTemp = edgeEffectValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonEdgeEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setEdgeEffect(self, static_cast(&edgeEffectValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setEdgeEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollableCommonMethod_setFadingEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto enabledValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean enabledValueTempTmpBuf = {}; - enabledValueTempTmpBuf.tag = enabledValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((enabledValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - enabledValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean enabledValueTemp = enabledValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FadingEdgeOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonFadingEdgeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_FadingEdgeOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setFadingEdge(self, static_cast(&enabledValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto enabledValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean enabledValueTempTmpBuf = {}; + enabledValueTempTmpBuf.tag = enabledValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((enabledValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + enabledValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean enabledValueTemp = enabledValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FadingEdgeOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonFadingEdgeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_FadingEdgeOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setFadingEdge(self, static_cast(&enabledValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_setFadingEdge, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Component3D_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getComponent3DModifier()->construct(id, flags); + return GetNodeModifiers()->getComponent3DModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Component3D_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_Component3DInterface_setComponent3DOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto sceneOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SceneOptions sceneOptionsValueTempTmpBuf = {}; - sceneOptionsValueTempTmpBuf.tag = sceneOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sceneOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sceneOptionsValueTempTmpBuf.value = ArkuiComponentComponent3dSceneOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SceneOptions sceneOptionsValueTemp = sceneOptionsValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setComponent3DOptions(self, static_cast(&sceneOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto sceneOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SceneOptions sceneOptionsValueTempTmpBuf = {}; + sceneOptionsValueTempTmpBuf.tag = sceneOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sceneOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sceneOptionsValueTempTmpBuf.value = ArkuiComponentComponent3dSceneOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SceneOptions sceneOptionsValueTemp = sceneOptionsValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setComponent3DOptions(self, static_cast(&sceneOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DInterface_setComponent3DOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setEnvironment(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setEnvironment(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setEnvironment(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setEnvironment, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setShader(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setShader(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setShader(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setShader, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setShaderImageTexture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setShaderImageTexture(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setShaderImageTexture(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setShaderImageTexture, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setShaderInputBuffer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_F64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_F64 valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_F64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_F64 valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); } - Opt_Array_F64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setShaderInputBuffer(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_F64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setShaderInputBuffer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setShaderInputBuffer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setRenderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setRenderWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setRenderWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setRenderWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setRenderHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setRenderHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setRenderHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setRenderHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Component3DAttribute_setCustomRender(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto uriValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr uriValueTempTmpBuf = {}; - uriValueTempTmpBuf.tag = uriValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((uriValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 uriValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr uriValueTempTmpBufOpt = {}; - uriValueTempTmpBufOpt.selector = uriValueTempTmpBufOptUnionSelector; - if (uriValueTempTmpBufOptUnionSelector == 0) { - uriValueTempTmpBufOpt.selector = 0; - uriValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (uriValueTempTmpBufOptUnionSelector == 1) { - uriValueTempTmpBufOpt.selector = 1; - uriValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for uriValueTempTmpBufOpt has to be chosen through deserialisation."); - } - uriValueTempTmpBuf.value = static_cast(uriValueTempTmpBufOpt); - } - Opt_ResourceStr uriValueTemp = uriValueTempTmpBuf;; - const auto selfRenderUpdateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean selfRenderUpdateValueTempTmpBuf = {}; - selfRenderUpdateValueTempTmpBuf.tag = selfRenderUpdateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((selfRenderUpdateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - selfRenderUpdateValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean selfRenderUpdateValueTemp = selfRenderUpdateValueTempTmpBuf;; - GetNodeModifiers()->getComponent3DModifier()->setCustomRender(self, static_cast(&uriValueTemp), static_cast(&selfRenderUpdateValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto uriValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr uriValueTempTmpBuf = {}; + uriValueTempTmpBuf.tag = uriValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((uriValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 uriValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr uriValueTempTmpBufOpt = {}; + uriValueTempTmpBufOpt.selector = uriValueTempTmpBufOptUnionSelector; + if (uriValueTempTmpBufOptUnionSelector == 0) { + uriValueTempTmpBufOpt.selector = 0; + uriValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (uriValueTempTmpBufOptUnionSelector == 1) { + uriValueTempTmpBufOpt.selector = 1; + uriValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for uriValueTempTmpBufOpt has to be chosen through deserialisation."); + } + uriValueTempTmpBuf.value = static_cast(uriValueTempTmpBufOpt); + } + Opt_ResourceStr uriValueTemp = uriValueTempTmpBuf;; + const auto selfRenderUpdateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean selfRenderUpdateValueTempTmpBuf = {}; + selfRenderUpdateValueTempTmpBuf.tag = selfRenderUpdateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((selfRenderUpdateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + selfRenderUpdateValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean selfRenderUpdateValueTemp = selfRenderUpdateValueTempTmpBuf;; + GetNodeModifiers()->getComponent3DModifier()->setCustomRender(self, static_cast(&uriValueTemp), static_cast(&selfRenderUpdateValueTemp)); } KOALA_INTEROP_DIRECT_V3(Component3DAttribute_setCustomRender, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ContainerSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getContainerSpanModifier()->construct(id, flags); + return GetNodeModifiers()->getContainerSpanModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ContainerSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ContainerSpanInterface_setContainerSpanOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getContainerSpanModifier()->setContainerSpanOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getContainerSpanModifier()->setContainerSpanOptions(self); } KOALA_INTEROP_DIRECT_V1(ContainerSpanInterface_setContainerSpanOptions, Ark_NativePointer) void impl_ContainerSpanAttribute_setTextBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextBackgroundStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer); - } - Opt_TextBackgroundStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getContainerSpanModifier()->setTextBackgroundStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextBackgroundStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer); + } + Opt_TextBackgroundStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getContainerSpanModifier()->setTextBackgroundStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContainerSpanAttribute_setTextBackgroundStyle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Counter_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCounterModifier()->construct(id, flags); + return GetNodeModifiers()->getCounterModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Counter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_CounterInterface_setCounterOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCounterModifier()->setCounterOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCounterModifier()->setCounterOptions(self); } KOALA_INTEROP_DIRECT_V1(CounterInterface_setCounterOptions, Ark_NativePointer) void impl_CounterAttribute_setOnInc(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCounterModifier()->setOnInc(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCounterModifier()->setOnInc(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CounterAttribute_setOnInc, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CounterAttribute_setOnDec(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCounterModifier()->setOnDec(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCounterModifier()->setOnDec(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CounterAttribute_setOnDec, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CounterAttribute_setEnableDec(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCounterModifier()->setEnableDec(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCounterModifier()->setEnableDec(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CounterAttribute_setEnableDec, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CounterAttribute_setEnableInc(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getCounterModifier()->setEnableInc(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getCounterModifier()->setEnableInc(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CounterAttribute_setEnableInc, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DataPanel_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getDataPanelModifier()->construct(id, flags); + return GetNodeModifiers()->getDataPanelModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(DataPanel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_DataPanelInterface_setDataPanelOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_DataPanelOptions optionsValueTemp = ArkuiComponentDataPanelDataPanelOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getDataPanelModifier()->setDataPanelOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_DataPanelOptions optionsValueTemp = ArkuiComponentDataPanelDataPanelOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getDataPanelModifier()->setDataPanelOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(DataPanelInterface_setDataPanelOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DataPanelAttribute_setCloseEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDataPanelModifier()->setCloseEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDataPanelModifier()->setCloseEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_setCloseEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DataPanelAttribute_setValueColors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOptTempBuf = {}; - valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBuf.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptTempBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptTempBufBufU = {}; - valueValueTempTmpBufOptTempBufBufU.selector = valueValueTempTmpBufOptTempBufBufUUnionSelector; - if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 0) { - valueValueTempTmpBufOptTempBufBufU.selector = 0; - valueValueTempTmpBufOptTempBufBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 1) { - valueValueTempTmpBufOptTempBufBufU.selector = 1; - valueValueTempTmpBufOptTempBufBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 2) { - valueValueTempTmpBufOptTempBufBufU.selector = 2; - valueValueTempTmpBufOptTempBufBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 3) { - valueValueTempTmpBufOptTempBufBufU.selector = 3; - valueValueTempTmpBufOptTempBufBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptTempBuf.value0 = static_cast(valueValueTempTmpBufOptTempBufBufU); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBuf.selector = 1; - valueValueTempTmpBufOptTempBuf.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOptTempBuf = {}; + valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBuf.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptTempBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptTempBufBufU = {}; + valueValueTempTmpBufOptTempBufBufU.selector = valueValueTempTmpBufOptTempBufBufUUnionSelector; + if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 0) { + valueValueTempTmpBufOptTempBufBufU.selector = 0; + valueValueTempTmpBufOptTempBufBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 1) { + valueValueTempTmpBufOptTempBufBufU.selector = 1; + valueValueTempTmpBufOptTempBufBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 2) { + valueValueTempTmpBufOptTempBufBufU.selector = 2; + valueValueTempTmpBufOptTempBufBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufBufUUnionSelector == 3) { + valueValueTempTmpBufOptTempBufBufU.selector = 3; + valueValueTempTmpBufOptTempBufBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufBufU has to be chosen through deserialisation."); } - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); + valueValueTempTmpBufOptTempBuf.value0 = static_cast(valueValueTempTmpBufOptTempBufBufU); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBuf.selector = 1; + valueValueTempTmpBufOptTempBuf.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); } - Opt_Array_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDataPanelModifier()->setValueColors(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDataPanelModifier()->setValueColors(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_setValueColors, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DataPanelAttribute_setTrackBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDataPanelModifier()->setTrackBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDataPanelModifier()->setTrackBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_setTrackBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DataPanelAttribute_setStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDataPanelModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDataPanelModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_setStrokeWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DataPanelAttribute_setTrackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DataPanelShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentDataPanelDataPanelShadowOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DataPanelShadowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDataPanelModifier()->setTrackShadow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DataPanelShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentDataPanelDataPanelShadowOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DataPanelShadowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDataPanelModifier()->setTrackShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_setTrackShadow, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DatePicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getDatePickerModifier()->construct(id, flags); + return GetNodeModifiers()->getDatePickerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(DatePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_DatePickerInterface_setDatePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DatePickerOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentDatePickerDatePickerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DatePickerOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setDatePickerOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DatePickerOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentDatePickerDatePickerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DatePickerOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setDatePickerOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerInterface_setDatePickerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setLunar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setLunar(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setLunar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setLunar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setDisappearTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setDisappearTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setSelectedTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setSelectedTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setOnDateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Date_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DATE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DATE_VOID))))}; - } - Opt_Callback_Date_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setOnDateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Date_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DATE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DATE_VOID))))}; + } + Opt_Callback_Date_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setOnDateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setOnDateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setDigitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CrownSensitivity valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setDigitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DatePickerAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDatePickerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDatePickerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Divider_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getDividerModifier()->construct(id, flags); + return GetNodeModifiers()->getDividerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Divider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_DividerInterface_setDividerOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getDividerModifier()->setDividerOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getDividerModifier()->setDividerOptions(self); } KOALA_INTEROP_DIRECT_V1(DividerInterface_setDividerOptions, Ark_NativePointer) void impl_DividerAttribute_setVertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDividerModifier()->setVertical(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDividerModifier()->setVertical(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DividerAttribute_setVertical, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DividerAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDividerModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDividerModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DividerAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DividerAttribute_setStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDividerModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDividerModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DividerAttribute_setStrokeWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DividerAttribute_setLineCap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineCapStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineCapStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getDividerModifier()->setLineCap(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineCapStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineCapStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getDividerModifier()->setLineCap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DividerAttribute_setLineCap, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_EffectComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getEffectComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getEffectComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(EffectComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_EffectComponentInterface_setEffectComponentOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getEffectComponentModifier()->setEffectComponentOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getEffectComponentModifier()->setEffectComponentOptions(self); } KOALA_INTEROP_DIRECT_V1(EffectComponentInterface_setEffectComponentOptions, Ark_NativePointer) void impl_EffectComponentAttribute_setAlwaysSnapshot(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getEffectComponentModifier()->setAlwaysSnapshot(self, value); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getEffectComponentModifier()->setAlwaysSnapshot(self, value); } KOALA_INTEROP_V2(EffectComponentAttribute_setAlwaysSnapshot, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_Ellipse_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getEllipseModifier()->construct(id, flags); + return GetNodeModifiers()->getEllipseModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Ellipse_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_EllipseInterface_setEllipseOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EllipseOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentEllipseEllipseOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EllipseOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getEllipseModifier()->setEllipseOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipseOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentEllipseEllipseOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EllipseOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getEllipseModifier()->setEllipseOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(EllipseInterface_setEllipseOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_EmbeddedComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(EmbeddedComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_EmbeddedComponentInterface_setEmbeddedComponentOptions(Ark_NativePointer thisPtr, Ark_NativePointer loader, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EmbeddedType typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EmbeddedType typeValueTemp = typeValueTempTmpBuf;; - GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, static_cast(loader), static_cast(&typeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EmbeddedType typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EmbeddedType typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, static_cast(loader), static_cast(&typeValueTemp)); } KOALA_INTEROP_DIRECT_V4(EmbeddedComponentInterface_setEmbeddedComponentOptions, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_EmbeddedComponentAttribute_setOnTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TerminationInfo valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TERMINATIONINFO)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TERMINATIONINFO))))}; - } - Opt_Callback_TerminationInfo valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getEmbeddedComponentModifier()->setOnTerminated(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TerminationInfo valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TERMINATIONINFO)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TERMINATIONINFO))))}; + } + Opt_Callback_TerminationInfo valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getEmbeddedComponentModifier()->setOnTerminated(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_setOnTerminated, Ark_NativePointer, KSerializerBuffer, KInt) void impl_EmbeddedComponentAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID))))}; - } - Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getEmbeddedComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID))))}; + } + Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getEmbeddedComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Flex_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFlexModifier()->construct(id, flags); + return GetNodeModifiers()->getFlexModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Flex_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_FlexInterface_setFlexOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FlexOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentFlexFlexOptionsSerializerImpl::read(thisDeserializer); - } - Opt_FlexOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFlexModifier()->setFlexOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FlexOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentFlexFlexOptionsSerializerImpl::read(thisDeserializer); + } + Opt_FlexOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFlexModifier()->setFlexOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FlexInterface_setFlexOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FlexAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFlexModifier()->setPointLight(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PointLightStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); + } + Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFlexModifier()->setPointLight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FlexAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_FlowItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFlowItemModifier()->construct(id, flags); + return GetNodeModifiers()->getFlowItemModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(FlowItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_FlowItemInterface_setFlowItemOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFlowItemModifier()->setFlowItemOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getFlowItemModifier()->setFlowItemOptions(self); } KOALA_INTEROP_DIRECT_V1(FlowItemInterface_setFlowItemOptions, Ark_NativePointer) Ark_NativePointer impl_FolderStack_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFolderStackModifier()->construct(id, flags); + return GetNodeModifiers()->getFolderStackModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(FolderStack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_FolderStackInterface_setFolderStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FolderStackOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentFolderStackFolderStackOptionsSerializerImpl::read(thisDeserializer); - } - Opt_FolderStackOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getFolderStackModifier()->setFolderStackOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FolderStackOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentFolderStackFolderStackOptionsSerializerImpl::read(thisDeserializer); + } + Opt_FolderStackOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getFolderStackModifier()->setFolderStackOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(FolderStackInterface_setFolderStackOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FolderStackAttribute_setAlignContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Alignment valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Alignment valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFolderStackModifier()->setAlignContent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Alignment valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Alignment valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFolderStackModifier()->setAlignContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_setAlignContent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FolderStackAttribute_setOnFolderStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnFoldStatusChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONFOLDSTATUSCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONFOLDSTATUSCHANGECALLBACK))))}; - } - Opt_OnFoldStatusChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFolderStackModifier()->setOnFolderStateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnFoldStatusChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONFOLDSTATUSCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONFOLDSTATUSCHANGECALLBACK))))}; + } + Opt_OnFoldStatusChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFolderStackModifier()->setOnFolderStateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_setOnFolderStateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FolderStackAttribute_setOnHoverStatusChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnHoverStatusChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONHOVERSTATUSCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONHOVERSTATUSCHANGECALLBACK))))}; - } - Opt_OnHoverStatusChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFolderStackModifier()->setOnHoverStatusChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnHoverStatusChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONHOVERSTATUSCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONHOVERSTATUSCHANGECALLBACK))))}; + } + Opt_OnHoverStatusChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFolderStackModifier()->setOnHoverStatusChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_setOnHoverStatusChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FolderStackAttribute_setEnableAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFolderStackModifier()->setEnableAnimation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFolderStackModifier()->setEnableAnimation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_setEnableAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FolderStackAttribute_setAutoHalfFold(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFolderStackModifier()->setAutoHalfFold(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFolderStackModifier()->setAutoHalfFold(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_setAutoHalfFold, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_FormComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFormComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getFormComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(FormComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_FormComponentInterface_setFormComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_FormInfo formInfoValueTemp = ArkuiComponentFormComponentFormInfoSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getFormComponentModifier()->setFormComponentOptions(self, static_cast(&formInfoValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_FormInfo formInfoValueTemp = ArkuiComponentFormComponentFormInfoSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getFormComponentModifier()->setFormComponentOptions(self, static_cast(&formInfoValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentInterface_setFormComponentOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_FormSize valueValueTemp = ArkuiComponentFormComponentFormSizeSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getFormComponentModifier()->setSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_FormSize valueValueTemp = ArkuiComponentFormComponentFormSizeSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getFormComponentModifier()->setSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setModuleName(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setModuleName, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setDimension(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FormDimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FormDimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setDimension(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FormDimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FormDimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setDimension(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setDimension, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setAllowUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setAllowUpdate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setAllowUpdate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setAllowUpdate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setVisibility(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Visibility valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Visibility valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setVisibility(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Visibility valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Visibility valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setVisibility(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setVisibility, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setOnAcquired(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_FormCallbackInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FORMCALLBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FORMCALLBACKINFO_VOID))))}; - } - Opt_Callback_FormCallbackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setOnAcquired(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_FormCallbackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FORMCALLBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FORMCALLBACKINFO_VOID))))}; + } + Opt_Callback_FormCallbackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setOnAcquired(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setOnAcquired, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ErrorInformation_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ERRORINFORMATION_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ERRORINFORMATION_VOID))))}; - } - Opt_Callback_ErrorInformation_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ErrorInformation_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ERRORINFORMATION_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ERRORINFORMATION_VOID))))}; + } + Opt_Callback_ErrorInformation_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setOnRouter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Object_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OBJECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OBJECT_VOID))))}; - } - Opt_Callback_Object_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setOnRouter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Object_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OBJECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OBJECT_VOID))))}; + } + Opt_Callback_Object_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setOnRouter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setOnRouter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setOnUninstall(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_FormCallbackInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FORMCALLBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FORMCALLBACKINFO_VOID))))}; - } - Opt_Callback_FormCallbackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setOnUninstall(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_FormCallbackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FORMCALLBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FORMCALLBACKINFO_VOID))))}; + } + Opt_Callback_FormCallbackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setOnUninstall(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setOnUninstall, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setOnLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setOnLoad(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setOnLoad(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setOnLoad, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FormComponentAttribute_setOnUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_FormCallbackInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FORMCALLBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FORMCALLBACKINFO_VOID))))}; - } - Opt_Callback_FormCallbackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getFormComponentModifier()->setOnUpdate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_FormCallbackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FORMCALLBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FORMCALLBACKINFO_VOID))))}; + } + Opt_Callback_FormCallbackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getFormComponentModifier()->setOnUpdate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_setOnUpdate, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_FormLink_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFormLinkModifier()->construct(id, flags); + return GetNodeModifiers()->getFormLinkModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(FormLink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_FormLinkInterface_setFormLinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_FormLinkOptions optionsValueTemp = ArkuiComponentFormLinkFormLinkOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getFormLinkModifier()->setFormLinkOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_FormLinkOptions optionsValueTemp = ArkuiComponentFormLinkFormLinkOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getFormLinkModifier()->setFormLinkOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(FormLinkInterface_setFormLinkOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Gauge_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGaugeModifier()->construct(id, flags); + return GetNodeModifiers()->getGaugeModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Gauge_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_GaugeInterface_setGaugeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_GaugeOptions optionsValueTemp = ArkuiComponentGaugeGaugeOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getGaugeModifier()->setGaugeOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_GaugeOptions optionsValueTemp = ArkuiComponentGaugeGaugeOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getGaugeModifier()->setGaugeOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeInterface_setGaugeOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setValue(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setValue(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setValue, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setStartAngle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setStartAngle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setStartAngle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setStartAngle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setEndAngle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setEndAngle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setEndAngle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setEndAngle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setColors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient_Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient_Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - Ark_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBufOptBufUTempBuf = {}; - const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOptBufUTempBufValue0TempBuf = {}; - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU = {}; - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector; - if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 0; - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 1; - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 2; - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 3; - valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value0 = static_cast(valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU); - } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 1; - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + Ark_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTempTmpBufOptBufUTempBuf = {}; + const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOptBufUTempBufValue0TempBuf = {}; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU = {}; + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector; + if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 0; + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 1; + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 2; + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.selector = 3; + valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue0TempBuf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU has to be chosen through deserialisation."); } - valueValueTempTmpBufOptBufUTempBuf.value0 = static_cast(valueValueTempTmpBufOptBufUTempBufValue0TempBuf); - valueValueTempTmpBufOptBufUTempBuf.value1 = thisDeserializer.readFloat64(); - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = valueValueTempTmpBufOptBufUTempBuf; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value0 = static_cast(valueValueTempTmpBufOptBufUTempBufValue0TempBufBufU); + } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 1; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue0TempBuf has to be chosen through deserialisation."); } - valueValueTempTmpBufOpt.value2 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + valueValueTempTmpBufOptBufUTempBuf.value0 = static_cast(valueValueTempTmpBufOptBufUTempBufValue0TempBuf); + valueValueTempTmpBufOptBufUTempBuf.value1 = thisDeserializer.readFloat64(); + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = valueValueTempTmpBufOptBufUTempBuf; } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value2 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setColors(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_LinearGradient_Array_Tuple_Union_ResourceColor_LinearGradient_F64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setColors(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setColors, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setStrokeWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setDescription(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setDescription(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setDescription(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setDescription, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setTrackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GaugeShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentGaugeGaugeShadowOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GaugeShadowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setTrackShadow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GaugeShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentGaugeGaugeShadowOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GaugeShadowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setTrackShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setTrackShadow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setIndicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GaugeIndicatorOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentGaugeGaugeIndicatorOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GaugeIndicatorOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setIndicator(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GaugeIndicatorOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentGaugeGaugeIndicatorOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GaugeIndicatorOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setIndicator(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setIndicator, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GaugeAttribute_setPrivacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGaugeModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGaugeModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GaugeAttribute_setPrivacySensitive, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Grid_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridModifier()->construct(id, flags); + return GetNodeModifiers()->getGridModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Grid_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_GridInterface_setGridOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scrollerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Scroller scrollerValueTempTmpBuf = {}; - scrollerValueTempTmpBuf.tag = scrollerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scrollerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scrollerValueTempTmpBuf.value = static_cast(ArkuiComponentScrollScrollerSerializerImpl::read(thisDeserializer)); - } - Opt_Scroller scrollerValueTemp = scrollerValueTempTmpBuf;; - const auto layoutOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridLayoutOptions layoutOptionsValueTempTmpBuf = {}; - layoutOptionsValueTempTmpBuf.tag = layoutOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((layoutOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - layoutOptionsValueTempTmpBuf.value = ArkuiComponentGridGridLayoutOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GridLayoutOptions layoutOptionsValueTemp = layoutOptionsValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setGridOptions(self, static_cast(&scrollerValueTemp), static_cast(&layoutOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scrollerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Scroller scrollerValueTempTmpBuf = {}; + scrollerValueTempTmpBuf.tag = scrollerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollerValueTempTmpBuf.value = static_cast(ArkuiComponentScrollScrollerSerializerImpl::read(thisDeserializer)); + } + Opt_Scroller scrollerValueTemp = scrollerValueTempTmpBuf;; + const auto layoutOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridLayoutOptions layoutOptionsValueTempTmpBuf = {}; + layoutOptionsValueTempTmpBuf.tag = layoutOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((layoutOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + layoutOptionsValueTempTmpBuf.value = ArkuiComponentGridGridLayoutOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GridLayoutOptions layoutOptionsValueTemp = layoutOptionsValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setGridOptions(self, static_cast(&scrollerValueTemp), static_cast(&layoutOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridInterface_setGridOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setColumnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setColumnsTemplate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setColumnsTemplate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setColumnsTemplate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setRowsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setRowsTemplate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setRowsTemplate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setRowsTemplate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setColumnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setColumnsGap(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setColumnsGap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setColumnsGap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setRowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setRowsGap(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setRowsGap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setRowsGap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setScrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setScrollBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setScrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_arkui_component_enums_Color_I32_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_arkui_component_enums_Color_I32_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setScrollBarColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setScrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setScrollBar(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setScrollBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setScrollBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnScrollBarUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_F64_ComputedBarAttribute valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_F64_COMPUTEDBARATTRIBUTE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_F64_COMPUTEDBARATTRIBUTE))))}; - } - Opt_Callback_I32_F64_ComputedBarAttribute valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnScrollBarUpdate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_F64_ComputedBarAttribute valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_F64_COMPUTEDBARATTRIBUTE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_F64_COMPUTEDBARATTRIBUTE))))}; + } + Opt_Callback_I32_F64_ComputedBarAttribute valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnScrollBarUpdate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnScrollBarUpdate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnScrollIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setCachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setCachedCount0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setEditMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setEditMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setEditMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setEditMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setMultiSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setMultiSelectable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setMultiSelectable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setMultiSelectable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setMaxCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setMaxCount(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setMaxCount(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setMaxCount, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setMinCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setMinCount(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setMinCount(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setMinCount, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setCellLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setCellLength(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setCellLength(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setCellLength, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setLayoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridDirection valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_GridDirection valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridDirection valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_GridDirection valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setLayoutDirection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setSupportAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setSupportAnimation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setSupportAnimation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setSupportAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnItemDragStartCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONITEMDRAGSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONITEMDRAGSTARTCALLBACK))))}; - } - Opt_OnItemDragStartCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnItemDragStartCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONITEMDRAGSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONITEMDRAGSTARTCALLBACK))))}; + } + Opt_OnItemDragStartCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnItemDragStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_VOID))))}; - } - Opt_Callback_ItemDragInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnItemDragEnter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_VOID))))}; + } + Opt_Callback_ItemDragInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnItemDragEnter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnItemDragEnter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID))))}; - } - Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnItemDragMove(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID))))}; + } + Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnItemDragMove(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnItemDragMove, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID))))}; - } - Opt_Callback_ItemDragInfo_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnItemDragLeave(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID))))}; + } + Opt_Callback_ItemDragInfo_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnItemDragLeave(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnItemDragLeave, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID))))}; - } - Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnItemDrop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID))))}; + } + Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnItemDrop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnItemDrop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NestedScrollOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonNestedScrollOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NestedScrollOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonNestedScrollOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setNestedScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setEnableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setEnableScrollInteraction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setFriction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setFriction(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setFriction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setFriction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setAlignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridItemAlignment valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_GridItemAlignment valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setAlignItems(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridItemAlignment valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_GridItemAlignment valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setAlignItems(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setAlignItems, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; - } - Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; + } + Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONWILLSCROLLCALLBACK))))}; - } - Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONWILLSCROLLCALLBACK))))}; + } + Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnWillScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setOnDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLCALLBACK))))}; - } - Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLCALLBACK))))}; + } + Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setOnDidScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 countValueTempTmpBuf = {}; - countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - countValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 countValueTemp = countValueTempTmpBuf;; - const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean showValueTempTmpBuf = {}; - showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - showValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean showValueTemp = showValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 countValueTempTmpBuf = {}; + countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + countValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 countValueTemp = countValueTempTmpBuf;; + const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean showValueTempTmpBuf = {}; + showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + showValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean showValueTemp = showValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridAttribute_setEdgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonEdgeEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getGridModifier()->setEdgeEffect(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonEdgeEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getGridModifier()->setEdgeEffect(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridAttribute_setEdgeEffect, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_GridCol_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridColModifier()->construct(id, flags); + return GetNodeModifiers()->getGridColModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(GridCol_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_GridColInterface_setGridColOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridColOptions optionValueTempTmpBuf = {}; - optionValueTempTmpBuf.tag = optionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionValueTempTmpBuf.value = ArkuiComponentGridColGridColOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GridColOptions optionValueTemp = optionValueTempTmpBuf;; - GetNodeModifiers()->getGridColModifier()->setGridColOptions(self, static_cast(&optionValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridColOptions optionValueTempTmpBuf = {}; + optionValueTempTmpBuf.tag = optionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionValueTempTmpBuf.value = ArkuiComponentGridColGridColOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GridColOptions optionValueTemp = optionValueTempTmpBuf;; + GetNodeModifiers()->getGridColModifier()->setGridColOptions(self, static_cast(&optionValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridColInterface_setGridColOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridColAttribute_setSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_GridColColumnOption valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_GridColColumnOption valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentGridColGridColColumnOptionSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_GridColColumnOption valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_GridColColumnOption valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentGridColGridColColumnOptionSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_GridColColumnOption valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridColModifier()->setSpan(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_GridColColumnOption valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridColModifier()->setSpan(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridColAttribute_setSpan, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridColAttribute_setGridColOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_GridColColumnOption valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_GridColColumnOption valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentGridColGridColColumnOptionSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_GridColColumnOption valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_GridColColumnOption valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentGridColGridColColumnOptionSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_GridColColumnOption valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridColModifier()->setGridColOffset(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_GridColColumnOption valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridColModifier()->setGridColOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridColAttribute_setGridColOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridColAttribute_setOrder(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_GridColColumnOption valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_GridColColumnOption valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentGridColGridColColumnOptionSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_GridColColumnOption valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_GridColColumnOption valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentGridColGridColColumnOptionSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_GridColColumnOption valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridColModifier()->setOrder(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_GridColColumnOption valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridColModifier()->setOrder(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridColAttribute_setOrder, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_GridItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridItemModifier()->construct(id, flags); + return GetNodeModifiers()->getGridItemModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(GridItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_GridItemInterface_setGridItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridItemOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentGridItemGridItemOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GridItemOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setGridItemOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridItemOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentGridItemGridItemOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GridItemOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setGridItemOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemInterface_setGridItemOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setRowStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setRowStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setRowStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setRowStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setRowEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setRowEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setColumnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setColumnStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setColumnEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setColumnEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setSelectable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setSelectable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setSelectable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setSelected(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridItemAttribute_setOnSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridItemModifier()->setOnSelect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridItemModifier()->setOnSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridItemAttribute_setOnSelect, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_GridRow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridRowModifier()->construct(id, flags); + return GetNodeModifiers()->getGridRowModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(GridRow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_GridRowInterface_setGridRowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridRowOptions optionValueTempTmpBuf = {}; - optionValueTempTmpBuf.tag = optionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionValueTempTmpBuf.value = ArkuiComponentGridRowGridRowOptionsSerializerImpl::read(thisDeserializer); - } - Opt_GridRowOptions optionValueTemp = optionValueTempTmpBuf;; - GetNodeModifiers()->getGridRowModifier()->setGridRowOptions(self, static_cast(&optionValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridRowOptions optionValueTempTmpBuf = {}; + optionValueTempTmpBuf.tag = optionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionValueTempTmpBuf.value = ArkuiComponentGridRowGridRowOptionsSerializerImpl::read(thisDeserializer); + } + Opt_GridRowOptions optionValueTemp = optionValueTempTmpBuf;; + GetNodeModifiers()->getGridRowModifier()->setGridRowOptions(self, static_cast(&optionValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridRowInterface_setGridRowOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridRowAttribute_setOnBreakpointChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; - } - Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridRowModifier()->setOnBreakpointChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; + } + Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridRowModifier()->setOnBreakpointChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridRowAttribute_setOnBreakpointChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GridRowAttribute_setAlignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ItemAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ItemAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getGridRowModifier()->setAlignItems(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ItemAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ItemAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getGridRowModifier()->setAlignItems(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(GridRowAttribute_setAlignItems, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Hyperlink_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getHyperlinkModifier()->construct(id, flags); + return GetNodeModifiers()->getHyperlinkModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Hyperlink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_HyperlinkInterface_setHyperlinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto addressValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource addressValueTempTmpBuf = {}; - addressValueTempTmpBuf.tag = addressValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((addressValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 addressValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource addressValueTempTmpBufOpt = {}; - addressValueTempTmpBufOpt.selector = addressValueTempTmpBufOptUnionSelector; - if (addressValueTempTmpBufOptUnionSelector == 0) { - addressValueTempTmpBufOpt.selector = 0; - addressValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (addressValueTempTmpBufOptUnionSelector == 1) { - addressValueTempTmpBufOpt.selector = 1; - addressValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for addressValueTempTmpBufOpt has to be chosen through deserialisation."); - } - addressValueTempTmpBuf.value = static_cast(addressValueTempTmpBufOpt); - } - Opt_Union_String_Resource addressValueTemp = addressValueTempTmpBuf;; - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource contentValueTempTmpBufOpt = {}; - contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; - if (contentValueTempTmpBufOptUnionSelector == 0) { - contentValueTempTmpBufOpt.selector = 0; - contentValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufOptUnionSelector == 1) { - contentValueTempTmpBufOpt.selector = 1; - contentValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); - } - contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto addressValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource addressValueTempTmpBuf = {}; + addressValueTempTmpBuf.tag = addressValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((addressValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 addressValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource addressValueTempTmpBufOpt = {}; + addressValueTempTmpBufOpt.selector = addressValueTempTmpBufOptUnionSelector; + if (addressValueTempTmpBufOptUnionSelector == 0) { + addressValueTempTmpBufOpt.selector = 0; + addressValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (addressValueTempTmpBufOptUnionSelector == 1) { + addressValueTempTmpBufOpt.selector = 1; + addressValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for addressValueTempTmpBufOpt has to be chosen through deserialisation."); + } + addressValueTempTmpBuf.value = static_cast(addressValueTempTmpBufOpt); + } + Opt_Union_String_Resource addressValueTemp = addressValueTempTmpBuf;; + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource contentValueTempTmpBufOpt = {}; + contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; + if (contentValueTempTmpBufOptUnionSelector == 0) { + contentValueTempTmpBufOpt.selector = 0; + contentValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufOptUnionSelector == 1) { + contentValueTempTmpBufOpt.selector = 1; + contentValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource contentValueTemp = contentValueTempTmpBuf;; - GetNodeModifiers()->getHyperlinkModifier()->setHyperlinkOptions(self, static_cast(&addressValueTemp), static_cast(&contentValueTemp)); + contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + } + Opt_Union_String_Resource contentValueTemp = contentValueTempTmpBuf;; + GetNodeModifiers()->getHyperlinkModifier()->setHyperlinkOptions(self, static_cast(&addressValueTemp), static_cast(&contentValueTemp)); } KOALA_INTEROP_DIRECT_V3(HyperlinkInterface_setHyperlinkOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_HyperlinkAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_arkui_component_enums_Color_I32_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_arkui_component_enums_Color_I32_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_arkui_component_enums_Color_I32_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_arkui_component_enums_Color_I32_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_arkui_component_enums_Color_I32_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getHyperlinkModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_arkui_component_enums_Color_I32_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getHyperlinkModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(HyperlinkAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Image_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getImageModifier()->construct(id, flags); + return GetNodeModifiers()->getImageModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Image_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ImageInterface_setImageOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto srcValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ImageContent srcValueTempTmpBuf = {}; - srcValueTempTmpBuf.tag = srcValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((srcValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 srcValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ImageContent srcValueTempTmpBufOpt = {}; - srcValueTempTmpBufOpt.selector = srcValueTempTmpBufOptUnionSelector; - if (srcValueTempTmpBufOptUnionSelector == 0) { - srcValueTempTmpBufOpt.selector = 0; - srcValueTempTmpBufOpt.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else if (srcValueTempTmpBufOptUnionSelector == 1) { - srcValueTempTmpBufOpt.selector = 1; - const Ark_Int8 srcValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr srcValueTempTmpBufOptBufU = {}; - srcValueTempTmpBufOptBufU.selector = srcValueTempTmpBufOptBufUUnionSelector; - if (srcValueTempTmpBufOptBufUUnionSelector == 0) { - srcValueTempTmpBufOptBufU.selector = 0; - srcValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (srcValueTempTmpBufOptBufUUnionSelector == 1) { - srcValueTempTmpBufOptBufU.selector = 1; - srcValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - srcValueTempTmpBufOpt.value1 = static_cast(srcValueTempTmpBufOptBufU); - } else if (srcValueTempTmpBufOptUnionSelector == 2) { - srcValueTempTmpBufOpt.selector = 2; - srcValueTempTmpBufOpt.value2 = static_cast(OhosArkuiDrawableDescriptorDrawableDescriptorSerializerImpl::read(thisDeserializer)); - } else if (srcValueTempTmpBufOptUnionSelector == 3) { - srcValueTempTmpBufOpt.selector = 3; - srcValueTempTmpBufOpt.value3 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufOpt has to be chosen through deserialisation."); - } - srcValueTempTmpBuf.value = static_cast(srcValueTempTmpBufOpt); - } - Opt_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ImageContent srcValueTemp = srcValueTempTmpBuf;; - const auto imageAIOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageAIOptions imageAIOptionsValueTempTmpBuf = {}; - imageAIOptionsValueTempTmpBuf.tag = imageAIOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((imageAIOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - imageAIOptionsValueTempTmpBuf.value = ArkuiComponentImageCommonImageAIOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ImageAIOptions imageAIOptionsValueTemp = imageAIOptionsValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setImageOptions(self, static_cast(&srcValueTemp), static_cast(&imageAIOptionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto srcValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ImageContent srcValueTempTmpBuf = {}; + srcValueTempTmpBuf.tag = srcValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((srcValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 srcValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ImageContent srcValueTempTmpBufOpt = {}; + srcValueTempTmpBufOpt.selector = srcValueTempTmpBufOptUnionSelector; + if (srcValueTempTmpBufOptUnionSelector == 0) { + srcValueTempTmpBufOpt.selector = 0; + srcValueTempTmpBufOpt.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else if (srcValueTempTmpBufOptUnionSelector == 1) { + srcValueTempTmpBufOpt.selector = 1; + const Ark_Int8 srcValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr srcValueTempTmpBufOptBufU = {}; + srcValueTempTmpBufOptBufU.selector = srcValueTempTmpBufOptBufUUnionSelector; + if (srcValueTempTmpBufOptBufUUnionSelector == 0) { + srcValueTempTmpBufOptBufU.selector = 0; + srcValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (srcValueTempTmpBufOptBufUUnionSelector == 1) { + srcValueTempTmpBufOptBufU.selector = 1; + srcValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + srcValueTempTmpBufOpt.value1 = static_cast(srcValueTempTmpBufOptBufU); + } else if (srcValueTempTmpBufOptUnionSelector == 2) { + srcValueTempTmpBufOpt.selector = 2; + srcValueTempTmpBufOpt.value2 = static_cast(OhosArkuiDrawableDescriptorDrawableDescriptorSerializerImpl::read(thisDeserializer)); + } else if (srcValueTempTmpBufOptUnionSelector == 3) { + srcValueTempTmpBufOpt.selector = 3; + srcValueTempTmpBufOpt.value3 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBufOpt has to be chosen through deserialisation."); + } + srcValueTempTmpBuf.value = static_cast(srcValueTempTmpBufOpt); + } + Opt_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ImageContent srcValueTemp = srcValueTempTmpBuf;; + const auto imageAIOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageAIOptions imageAIOptionsValueTempTmpBuf = {}; + imageAIOptionsValueTempTmpBuf.tag = imageAIOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((imageAIOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + imageAIOptionsValueTempTmpBuf.value = ArkuiComponentImageCommonImageAIOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ImageAIOptions imageAIOptionsValueTemp = imageAIOptionsValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setImageOptions(self, static_cast(&srcValueTemp), static_cast(&imageAIOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setAlt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource_image_PixelMap valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource_image_PixelMap valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource_image_PixelMap valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource_image_PixelMap valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setAlt(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setAlt(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setAlt, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setMatchTextDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setMatchTextDirection(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setMatchTextDirection(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setMatchTextDirection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setFitOriginalSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setFitOriginalSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setFitOriginalSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setFitOriginalSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setFillColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_ColorContent_ColorMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_ColorContent_ColorMetrics valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentImageColorContentSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_ColorContent_ColorMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_ColorContent_ColorMetrics valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentImageColorContentSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_ColorContent_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setFillColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_ColorContent_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setFillColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setFillColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setObjectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageFit valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setObjectFit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageFit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setObjectFit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setObjectFit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setImageMatrix(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_matrix4_Matrix4Transit valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosMatrix4Matrix4Matrix4TransitSerializerImpl::read(thisDeserializer)); - } - Opt_matrix4_Matrix4Transit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setImageMatrix(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_matrix4_Matrix4Transit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosMatrix4Matrix4Matrix4TransitSerializerImpl::read(thisDeserializer)); + } + Opt_matrix4_Matrix4Transit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setImageMatrix(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setImageMatrix, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setObjectRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageRepeat valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageRepeat valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setObjectRepeat(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageRepeat valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageRepeat valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setObjectRepeat(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setObjectRepeat, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setAutoResize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setAutoResize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setAutoResize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setAutoResize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setRenderMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageRenderMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageRenderMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setRenderMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageRenderMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageRenderMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setRenderMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setRenderMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setDynamicRangeMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DynamicRangeMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_DynamicRangeMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setDynamicRangeMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DynamicRangeMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_DynamicRangeMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setDynamicRangeMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setDynamicRangeMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setInterpolation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageInterpolation valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageInterpolation valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setInterpolation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageInterpolation valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageInterpolation valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setInterpolation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setInterpolation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setSourceSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageSourceSize valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentImageImageSourceSizeSerializerImpl::read(thisDeserializer); - } - Opt_ImageSourceSize valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setSourceSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageSourceSize valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentImageImageSourceSizeSerializerImpl::read(thisDeserializer); + } + Opt_ImageSourceSize valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setSourceSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setSourceSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setSyncLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setSyncLoad(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setSyncLoad(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setSyncLoad, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setColorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentUnitsColorFilterSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(OhosGraphicsDrawingDrawingColorFilterSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentUnitsColorFilterSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(OhosGraphicsDrawingDrawingColorFilterSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ColorFilter_drawing_ColorFilter valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setColorFilter(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ColorFilter_drawing_ColorFilter valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setColorFilter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setColorFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setCopyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CopyOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setCopyOption(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CopyOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setCopyOption(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setCopyOption, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setDraggable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setDraggable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setDraggable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setDraggable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setPointLight(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PointLightStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); + } + Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setPointLight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setEdgeAntialiasing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setEdgeAntialiasing(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setEdgeAntialiasing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setEdgeAntialiasing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setOnComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageOnCompleteCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGEONCOMPLETECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGEONCOMPLETECALLBACK))))}; - } - Opt_ImageOnCompleteCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setOnComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageOnCompleteCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGEONCOMPLETECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGEONCOMPLETECALLBACK))))}; + } + Opt_ImageOnCompleteCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setOnComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setOnComplete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageErrorCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGEERRORCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGEERRORCALLBACK))))}; - } - Opt_ImageErrorCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setOnError(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageErrorCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGEERRORCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGEERRORCALLBACK))))}; + } + Opt_ImageErrorCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setOnFinish(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setOnFinish(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setEnableAnalyzer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setAnalyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageAnalyzerConfig valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer); - } - Opt_ImageAnalyzerConfig valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setAnalyzerConfig(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageAnalyzerConfig valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer); + } + Opt_ImageAnalyzerConfig valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setAnalyzerConfig(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setAnalyzerConfig, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setResizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResizableOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentImageResizableOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ResizableOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setResizable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResizableOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentImageResizableOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ResizableOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setResizable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setResizable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setPrivacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setPrivacySensitive, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setEnhancedImageQuality(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_image_ResolutionQuality valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_image_ResolutionQuality valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setEnhancedImageQuality(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_image_ResolutionQuality valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_image_ResolutionQuality valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setEnhancedImageQuality(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setEnhancedImageQuality, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAttribute_setOrientation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageRotateOrientation valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageRotateOrientation valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageModifier()->setOrientation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageRotateOrientation valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageRotateOrientation valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageModifier()->setOrientation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAttribute_setOrientation, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ImageAnimator_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getImageAnimatorModifier()->construct(id, flags); + return GetNodeModifiers()->getImageAnimatorModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ImageAnimator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ImageAnimatorInterface_setImageAnimatorOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setImageAnimatorOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setImageAnimatorOptions(self); } KOALA_INTEROP_DIRECT_V1(ImageAnimatorInterface_setImageAnimatorOptions, Ark_NativePointer) void impl_ImageAnimatorAttribute_setImages(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ImageFrameInfo valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ImageFrameInfo valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ImageFrameInfo valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ImageFrameInfo valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = ArkuiComponentImageAnimatorImageFrameInfoSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = ArkuiComponentImageAnimatorImageFrameInfoSerializerImpl::read(thisDeserializer); } - Opt_Array_ImageFrameInfo valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setImages(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_ImageFrameInfo valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setImages(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setImages, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AnimationStatus valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AnimationStatus valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setState(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AnimationStatus valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AnimationStatus valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setState(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setState, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setDuration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setDuration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setDuration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setDuration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setReverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setReverse(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setReverse(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setReverse, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setFixedSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setFixedSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setFixedSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setFixedSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setFillMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FillMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FillMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setFillMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FillMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FillMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setFillMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setFillMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setIterations(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setIterations(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setIterations(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setIterations, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setMonitorInvisibleArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setMonitorInvisibleArea(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setMonitorInvisibleArea(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setMonitorInvisibleArea, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setOnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setOnStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setOnStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setOnStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setOnPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setOnPause(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setOnPause(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setOnPause, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setOnRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setOnRepeat(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setOnRepeat(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setOnRepeat, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setOnCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setOnCancel(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setOnCancel(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setOnCancel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageAnimatorAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageAnimatorModifier()->setOnFinish(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageAnimatorModifier()->setOnFinish(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ImageSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getImageSpanModifier()->construct(id, flags); + return GetNodeModifiers()->getImageSpanModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ImageSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ImageSpanInterface_setImageSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_image_PixelMap valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufBufU = {}; - valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; - if (valueValueTempTmpBufBufUUnionSelector == 0) { - valueValueTempTmpBufBufU.selector = 0; - valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufBufUUnionSelector == 1) { - valueValueTempTmpBufBufU.selector = 1; - valueValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value0 = static_cast(valueValueTempTmpBufBufU); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_image_PixelMap valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufBufU = {}; + valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; + if (valueValueTempTmpBufBufUUnionSelector == 0) { + valueValueTempTmpBufBufU.selector = 0; + valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufBufUUnionSelector == 1) { + valueValueTempTmpBufBufU.selector = 1; + valueValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ResourceStr_image_PixelMap valueValueTemp = static_cast(valueValueTempTmpBuf);; - GetNodeModifiers()->getImageSpanModifier()->setImageSpanOptions(self, static_cast(&valueValueTemp)); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value0 = static_cast(valueValueTempTmpBufBufU); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_image_PixelMap valueValueTemp = static_cast(valueValueTempTmpBuf);; + GetNodeModifiers()->getImageSpanModifier()->setImageSpanOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanInterface_setImageSpanOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageSpanAttribute_setVerticalAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageSpanAlignment valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageSpanAlignment valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageSpanModifier()->setVerticalAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageSpanAlignment valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageSpanAlignment valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageSpanModifier()->setVerticalAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_setVerticalAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageSpanAttribute_setColorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentUnitsColorFilterSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(OhosGraphicsDrawingDrawingColorFilterSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ColorFilter_drawing_ColorFilter valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentUnitsColorFilterSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(OhosGraphicsDrawingDrawingColorFilterSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ColorFilter_drawing_ColorFilter valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageSpanModifier()->setColorFilter(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ColorFilter_drawing_ColorFilter valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageSpanModifier()->setColorFilter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_setColorFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageSpanAttribute_setObjectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageFit valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageSpanModifier()->setObjectFit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageFit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageSpanModifier()->setObjectFit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_setObjectFit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageSpanAttribute_setOnComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageCompleteCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGECOMPLETECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGECOMPLETECALLBACK))))}; - } - Opt_ImageCompleteCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageSpanModifier()->setOnComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageCompleteCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGECOMPLETECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGECOMPLETECALLBACK))))}; + } + Opt_ImageCompleteCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageSpanModifier()->setOnComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_setOnComplete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageSpanAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageErrorCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGEERRORCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGEERRORCALLBACK))))}; - } - Opt_ImageErrorCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageSpanModifier()->setOnError(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageErrorCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_IMAGEERRORCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_IMAGEERRORCALLBACK))))}; + } + Opt_ImageErrorCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageSpanModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ImageSpanAttribute_setAlt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_image_PixelMap valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } - Opt_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getImageSpanModifier()->setAlt(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_image_PixelMap valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } + Opt_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getImageSpanModifier()->setAlt(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_setAlt, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_IndicatorComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getIndicatorComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getIndicatorComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(IndicatorComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_IndicatorComponentInterface_setIndicatorComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto controllerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_IndicatorComponentController controllerValueTempTmpBuf = {}; - controllerValueTempTmpBuf.tag = controllerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((controllerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - controllerValueTempTmpBuf.value = static_cast(ArkuiComponentIndicatorcomponentIndicatorComponentControllerSerializerImpl::read(thisDeserializer)); - } - Opt_IndicatorComponentController controllerValueTemp = controllerValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setIndicatorComponentOptions(self, static_cast(&controllerValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto controllerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_IndicatorComponentController controllerValueTempTmpBuf = {}; + controllerValueTempTmpBuf.tag = controllerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((controllerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + controllerValueTempTmpBuf.value = static_cast(ArkuiComponentIndicatorcomponentIndicatorComponentControllerSerializerImpl::read(thisDeserializer)); + } + Opt_IndicatorComponentController controllerValueTemp = controllerValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setIndicatorComponentOptions(self, static_cast(&controllerValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentInterface_setIndicatorComponentOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IndicatorComponentAttribute_setInitialIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_setInitialIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IndicatorComponentAttribute_setCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setCount(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setCount(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_setCount, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IndicatorComponentAttribute_setStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_DotIndicator_DigitIndicator valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_DotIndicator_DigitIndicator valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentSwiperDotIndicatorSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentSwiperDigitIndicatorSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_DotIndicator_DigitIndicator valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_DotIndicator_DigitIndicator valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentSwiperDotIndicatorSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentSwiperDigitIndicatorSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_DotIndicator_DigitIndicator valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setStyle(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_DotIndicator_DigitIndicator valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_setStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IndicatorComponentAttribute_setLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setLoop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setLoop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_setLoop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IndicatorComponentAttribute_setVertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setVertical(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setVertical(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_setVertical, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IndicatorComponentAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Line_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getLineModifier()->construct(id, flags); + return GetNodeModifiers()->getLineModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Line_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_LineInterface_setLineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentLineLineOptionsSerializerImpl::read(thisDeserializer); - } - Opt_LineOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getLineModifier()->setLineOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentLineLineOptionsSerializerImpl::read(thisDeserializer); + } + Opt_LineOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getLineModifier()->setLineOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(LineInterface_setLineOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_LineAttribute_setStartPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ShapePoint valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - Ark_ShapePoint valueValueTempTmpBufOpt = {}; - const Ark_Int8 valueValueTempTmpBufOptValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptValue0TempBuf = {}; - valueValueTempTmpBufOptValue0TempBuf.selector = valueValueTempTmpBufOptValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptValue0TempBuf.selector = 0; - valueValueTempTmpBufOptValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptValue0TempBuf.selector = 1; - valueValueTempTmpBufOptValue0TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 2) { - valueValueTempTmpBufOptValue0TempBuf.selector = 2; - valueValueTempTmpBufOptValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue0TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptValue0TempBuf); - const Ark_Int8 valueValueTempTmpBufOptValue1TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptValue1TempBuf = {}; - valueValueTempTmpBufOptValue1TempBuf.selector = valueValueTempTmpBufOptValue1TempBufUnionSelector; - if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 0) { - valueValueTempTmpBufOptValue1TempBuf.selector = 0; - valueValueTempTmpBufOptValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 1) { - valueValueTempTmpBufOptValue1TempBuf.selector = 1; - valueValueTempTmpBufOptValue1TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 2) { - valueValueTempTmpBufOptValue1TempBuf.selector = 2; - valueValueTempTmpBufOptValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue1TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptValue1TempBuf); - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ShapePoint valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + Ark_ShapePoint valueValueTempTmpBufOpt = {}; + const Ark_Int8 valueValueTempTmpBufOptValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptValue0TempBuf = {}; + valueValueTempTmpBufOptValue0TempBuf.selector = valueValueTempTmpBufOptValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptValue0TempBuf.selector = 0; + valueValueTempTmpBufOptValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptValue0TempBuf.selector = 1; + valueValueTempTmpBufOptValue0TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 2) { + valueValueTempTmpBufOptValue0TempBuf.selector = 2; + valueValueTempTmpBufOptValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue0TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptValue0TempBuf); + const Ark_Int8 valueValueTempTmpBufOptValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptValue1TempBuf = {}; + valueValueTempTmpBufOptValue1TempBuf.selector = valueValueTempTmpBufOptValue1TempBufUnionSelector; + if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 0) { + valueValueTempTmpBufOptValue1TempBuf.selector = 0; + valueValueTempTmpBufOptValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 1) { + valueValueTempTmpBufOptValue1TempBuf.selector = 1; + valueValueTempTmpBufOptValue1TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 2) { + valueValueTempTmpBufOptValue1TempBuf.selector = 2; + valueValueTempTmpBufOptValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue1TempBuf has to be chosen through deserialisation."); } - Opt_ShapePoint valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getLineModifier()->setStartPoint(self, static_cast(&valueValueTemp)); + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptValue1TempBuf); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_ShapePoint valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getLineModifier()->setStartPoint(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(LineAttribute_setStartPoint, Ark_NativePointer, KSerializerBuffer, KInt) void impl_LineAttribute_setEndPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ShapePoint valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - Ark_ShapePoint valueValueTempTmpBufOpt = {}; - const Ark_Int8 valueValueTempTmpBufOptValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptValue0TempBuf = {}; - valueValueTempTmpBufOptValue0TempBuf.selector = valueValueTempTmpBufOptValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptValue0TempBuf.selector = 0; - valueValueTempTmpBufOptValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptValue0TempBuf.selector = 1; - valueValueTempTmpBufOptValue0TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 2) { - valueValueTempTmpBufOptValue0TempBuf.selector = 2; - valueValueTempTmpBufOptValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue0TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptValue0TempBuf); - const Ark_Int8 valueValueTempTmpBufOptValue1TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptValue1TempBuf = {}; - valueValueTempTmpBufOptValue1TempBuf.selector = valueValueTempTmpBufOptValue1TempBufUnionSelector; - if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 0) { - valueValueTempTmpBufOptValue1TempBuf.selector = 0; - valueValueTempTmpBufOptValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 1) { - valueValueTempTmpBufOptValue1TempBuf.selector = 1; - valueValueTempTmpBufOptValue1TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 2) { - valueValueTempTmpBufOptValue1TempBuf.selector = 2; - valueValueTempTmpBufOptValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue1TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptValue1TempBuf); - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ShapePoint valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + Ark_ShapePoint valueValueTempTmpBufOpt = {}; + const Ark_Int8 valueValueTempTmpBufOptValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptValue0TempBuf = {}; + valueValueTempTmpBufOptValue0TempBuf.selector = valueValueTempTmpBufOptValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptValue0TempBuf.selector = 0; + valueValueTempTmpBufOptValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptValue0TempBuf.selector = 1; + valueValueTempTmpBufOptValue0TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 2) { + valueValueTempTmpBufOptValue0TempBuf.selector = 2; + valueValueTempTmpBufOptValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue0TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptValue0TempBuf); + const Ark_Int8 valueValueTempTmpBufOptValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptValue1TempBuf = {}; + valueValueTempTmpBufOptValue1TempBuf.selector = valueValueTempTmpBufOptValue1TempBufUnionSelector; + if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 0) { + valueValueTempTmpBufOptValue1TempBuf.selector = 0; + valueValueTempTmpBufOptValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 1) { + valueValueTempTmpBufOptValue1TempBuf.selector = 1; + valueValueTempTmpBufOptValue1TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 2) { + valueValueTempTmpBufOptValue1TempBuf.selector = 2; + valueValueTempTmpBufOptValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue1TempBuf has to be chosen through deserialisation."); } - Opt_ShapePoint valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getLineModifier()->setEndPoint(self, static_cast(&valueValueTemp)); + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptValue1TempBuf); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_ShapePoint valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getLineModifier()->setEndPoint(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(LineAttribute_setEndPoint, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_List_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getListModifier()->construct(id, flags); + return GetNodeModifiers()->getListModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(List_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ListInterface_setListOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentListListOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ListOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setListOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentListListOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ListOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setListOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListInterface_setListOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setAlignListItem(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListItemAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ListItemAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setAlignListItem(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListItemAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ListItemAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setAlignListItem(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setAlignListItem, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setListDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Axis valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Axis valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setListDirection(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Axis valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Axis valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setListDirection(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setListDirection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setContentStartOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setContentStartOffset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setContentStartOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setContentStartOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setContentEndOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setContentEndOffset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setContentEndOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setContentEndOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListDividerOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentListListDividerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ListDividerOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListDividerOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentListListDividerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ListDividerOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setMultiSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setMultiSelectable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setMultiSelectable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setMultiSelectable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setCachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setCachedCount0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setChainAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setChainAnimation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setChainAnimation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setChainAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setChainAnimationOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ChainAnimationOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentListChainAnimationOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ChainAnimationOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setChainAnimationOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ChainAnimationOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentListChainAnimationOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ChainAnimationOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setChainAnimationOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setChainAnimationOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setSticky(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_StickyStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_StickyStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setSticky(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_StickyStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_StickyStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setSticky(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setSticky, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setScrollSnapAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollSnapAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ScrollSnapAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setScrollSnapAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollSnapAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ScrollSnapAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setScrollSnapAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setScrollSnapAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setChildrenMainSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ChildrenMainSize valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonChildrenMainSizeSerializerImpl::read(thisDeserializer)); - } - Opt_ChildrenMainSize valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setChildrenMainSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ChildrenMainSize valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonChildrenMainSizeSerializerImpl::read(thisDeserializer)); + } + Opt_ChildrenMainSize valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setChildrenMainSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setChildrenMainSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setMaintainVisibleContentPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setMaintainVisibleContentPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setMaintainVisibleContentPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setMaintainVisibleContentPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setStackFromEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setStackFromEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setStackFromEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setStackFromEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnScrollIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnScrollVisibleContentChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollVisibleContentChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLVISIBLECONTENTCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLVISIBLECONTENTCHANGECALLBACK))))}; - } - Opt_OnScrollVisibleContentChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnScrollVisibleContentChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollVisibleContentChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLVISIBLECONTENTCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLVISIBLECONTENTCHANGECALLBACK))))}; + } + Opt_OnScrollVisibleContentChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnScrollVisibleContentChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnScrollVisibleContentChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnItemMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_BOOLEAN))))}; - } - Opt_Callback_I32_I32_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnItemMove(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_BOOLEAN))))}; + } + Opt_Callback_I32_I32_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnItemMove(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnItemMove, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnItemDragStartCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONITEMDRAGSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONITEMDRAGSTARTCALLBACK))))}; - } - Opt_OnItemDragStartCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnItemDragStartCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONITEMDRAGSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONITEMDRAGSTARTCALLBACK))))}; + } + Opt_OnItemDragStartCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnItemDragStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_VOID))))}; - } - Opt_Callback_ItemDragInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnItemDragEnter(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_VOID))))}; + } + Opt_Callback_ItemDragInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnItemDragEnter(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnItemDragEnter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID))))}; - } - Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnItemDragMove(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_VOID))))}; + } + Opt_Callback_ItemDragInfo_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnItemDragMove(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnItemDragMove, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID))))}; - } - Opt_Callback_ItemDragInfo_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnItemDragLeave(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_VOID))))}; + } + Opt_Callback_ItemDragInfo_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnItemDragLeave(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnItemDragLeave, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID))))}; - } - Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnItemDrop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ITEMDRAGINFO_I32_I32_BOOLEAN_VOID))))}; + } + Opt_Callback_ItemDragInfo_I32_I32_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnItemDrop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnItemDrop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; - } - Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; + } + Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONWILLSCROLLCALLBACK))))}; - } - Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONWILLSCROLLCALLBACK))))}; + } + Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnWillScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setOnDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLCALLBACK))))}; - } - Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLCALLBACK))))}; + } + Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setOnDidScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setLanes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_LengthConstrain valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_LengthConstrain valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsLengthConstrainSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_I32_LengthConstrain valueValueTemp = valueValueTempTmpBuf;; - const auto gutterValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension gutterValueTempTmpBuf = {}; - gutterValueTempTmpBuf.tag = gutterValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((gutterValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 gutterValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension gutterValueTempTmpBufOpt = {}; - gutterValueTempTmpBufOpt.selector = gutterValueTempTmpBufOptUnionSelector; - if (gutterValueTempTmpBufOptUnionSelector == 0) { - gutterValueTempTmpBufOpt.selector = 0; - gutterValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (gutterValueTempTmpBufOptUnionSelector == 1) { - gutterValueTempTmpBufOpt.selector = 1; - gutterValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (gutterValueTempTmpBufOptUnionSelector == 2) { - gutterValueTempTmpBufOpt.selector = 2; - gutterValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for gutterValueTempTmpBufOpt has to be chosen through deserialisation."); - } - gutterValueTempTmpBuf.value = static_cast(gutterValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_LengthConstrain valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_LengthConstrain valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsLengthConstrainSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_LengthConstrain valueValueTemp = valueValueTempTmpBuf;; + const auto gutterValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension gutterValueTempTmpBuf = {}; + gutterValueTempTmpBuf.tag = gutterValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((gutterValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 gutterValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension gutterValueTempTmpBufOpt = {}; + gutterValueTempTmpBufOpt.selector = gutterValueTempTmpBufOptUnionSelector; + if (gutterValueTempTmpBufOptUnionSelector == 0) { + gutterValueTempTmpBufOpt.selector = 0; + gutterValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (gutterValueTempTmpBufOptUnionSelector == 1) { + gutterValueTempTmpBufOpt.selector = 1; + gutterValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (gutterValueTempTmpBufOptUnionSelector == 2) { + gutterValueTempTmpBufOpt.selector = 2; + gutterValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for gutterValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension gutterValueTemp = gutterValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setLanes(self, static_cast(&valueValueTemp), static_cast(&gutterValueTemp)); + gutterValueTempTmpBuf.value = static_cast(gutterValueTempTmpBufOpt); + } + Opt_Dimension gutterValueTemp = gutterValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setLanes(self, static_cast(&valueValueTemp), static_cast(&gutterValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setLanes, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 countValueTempTmpBuf = {}; - countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - countValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 countValueTemp = countValueTempTmpBuf;; - const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean showValueTempTmpBuf = {}; - showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - showValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean showValueTemp = showValueTempTmpBuf;; - GetNodeModifiers()->getListModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 countValueTempTmpBuf = {}; + countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + countValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 countValueTemp = countValueTempTmpBuf;; + const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean showValueTempTmpBuf = {}; + showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + showValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean showValueTemp = showValueTempTmpBuf;; + GetNodeModifiers()->getListModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ListItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getListItemModifier()->construct(id, flags); + return GetNodeModifiers()->getListItemModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ListItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ListItemInterface_setListItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListItemOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentListItemListItemOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ListItemOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemModifier()->setListItemOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListItemOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentListItemListItemOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ListItemOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemModifier()->setListItemOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListItemAttribute_setSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemModifier()->setSelectable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemModifier()->setSelectable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemAttribute_setSelectable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListItemAttribute_setSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemModifier()->setSelected(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemModifier()->setSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemAttribute_setSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListItemAttribute_setSwipeAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwipeActionOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentListItemSwipeActionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SwipeActionOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemModifier()->setSwipeAction(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwipeActionOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentListItemSwipeActionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SwipeActionOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemModifier()->setSwipeAction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemAttribute_setSwipeAction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListItemAttribute_setOnSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemModifier()->setOnSelect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemModifier()->setOnSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemAttribute_setOnSelect, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ListItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getListItemGroupModifier()->construct(id, flags); + return GetNodeModifiers()->getListItemGroupModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ListItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ListItemGroupInterface_setListItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListItemGroupOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentListItemGroupListItemGroupOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ListItemGroupOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getListItemGroupModifier()->setListItemGroupOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListItemGroupOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentListItemGroupListItemGroupOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ListItemGroupOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getListItemGroupModifier()->setListItemGroupOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemGroupInterface_setListItemGroupOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListItemGroupAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListDividerOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentListListDividerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ListDividerOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemGroupModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListDividerOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentListListDividerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ListDividerOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemGroupModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ListItemGroupAttribute_setChildrenMainSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ChildrenMainSize valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonChildrenMainSizeSerializerImpl::read(thisDeserializer)); - } - Opt_ChildrenMainSize valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getListItemGroupModifier()->setChildrenMainSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ChildrenMainSize valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiComponentCommonChildrenMainSizeSerializerImpl::read(thisDeserializer)); + } + Opt_ChildrenMainSize valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getListItemGroupModifier()->setChildrenMainSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_setChildrenMainSize, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_LoadingProgress_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getLoadingProgressModifier()->construct(id, flags); + return GetNodeModifiers()->getLoadingProgressModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(LoadingProgress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_LoadingProgressInterface_setLoadingProgressOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getLoadingProgressModifier()->setLoadingProgressOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getLoadingProgressModifier()->setLoadingProgressOptions(self); } KOALA_INTEROP_DIRECT_V1(LoadingProgressInterface_setLoadingProgressOptions, Ark_NativePointer) void impl_LoadingProgressAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getLoadingProgressModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getLoadingProgressModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_LoadingProgressAttribute_setEnableLoading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getLoadingProgressModifier()->setEnableLoading(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getLoadingProgressModifier()->setEnableLoading(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_setEnableLoading, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Marquee_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMarqueeModifier()->construct(id, flags); + return GetNodeModifiers()->getMarqueeModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Marquee_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_MarqueeInterface_setMarqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_MarqueeOptions optionsValueTemp = ArkuiComponentMarqueeMarqueeOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getMarqueeModifier()->setMarqueeOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_MarqueeOptions optionsValueTemp = ArkuiComponentMarqueeMarqueeOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getMarqueeModifier()->setMarqueeOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeInterface_setMarqueeOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setAllowScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setAllowScale(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setAllowScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setAllowScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setMarqueeUpdateStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MarqueeUpdateStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_MarqueeUpdateStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setMarqueeUpdateStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MarqueeUpdateStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_MarqueeUpdateStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setMarqueeUpdateStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setMarqueeUpdateStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setOnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setOnStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setOnStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setOnStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setOnBounce(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setOnBounce(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setOnBounce(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setOnBounce, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MarqueeAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMarqueeModifier()->setOnFinish(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMarqueeModifier()->setOnFinish(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_MediaCachedImage_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMediaCachedImageModifier()->construct(id, flags); + return GetNodeModifiers()->getMediaCachedImageModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(MediaCachedImage_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 srcValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource srcValueTempTmpBuf = {}; - srcValueTempTmpBuf.selector = srcValueTempTmpBufUnionSelector; - if (srcValueTempTmpBufUnionSelector == 0) { - srcValueTempTmpBuf.selector = 0; - srcValueTempTmpBuf.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else if (srcValueTempTmpBufUnionSelector == 1) { - srcValueTempTmpBuf.selector = 1; - const Ark_Int8 srcValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr srcValueTempTmpBufBufU = {}; - srcValueTempTmpBufBufU.selector = srcValueTempTmpBufBufUUnionSelector; - if (srcValueTempTmpBufBufUUnionSelector == 0) { - srcValueTempTmpBufBufU.selector = 0; - srcValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (srcValueTempTmpBufBufUUnionSelector == 1) { - srcValueTempTmpBufBufU.selector = 1; - srcValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBufBufU has to be chosen through deserialisation."); - } - srcValueTempTmpBuf.value1 = static_cast(srcValueTempTmpBufBufU); - } else if (srcValueTempTmpBufUnionSelector == 2) { - srcValueTempTmpBuf.selector = 2; - srcValueTempTmpBuf.value2 = static_cast(OhosArkuiDrawableDescriptorDrawableDescriptorSerializerImpl::read(thisDeserializer)); - } else if (srcValueTempTmpBufUnionSelector == 3) { - srcValueTempTmpBuf.selector = 3; - srcValueTempTmpBuf.value3 = ArkuiComponentMediaCachedImageASTCResourceSerializerImpl::read(thisDeserializer); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 srcValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource srcValueTempTmpBuf = {}; + srcValueTempTmpBuf.selector = srcValueTempTmpBufUnionSelector; + if (srcValueTempTmpBufUnionSelector == 0) { + srcValueTempTmpBuf.selector = 0; + srcValueTempTmpBuf.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else if (srcValueTempTmpBufUnionSelector == 1) { + srcValueTempTmpBuf.selector = 1; + const Ark_Int8 srcValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr srcValueTempTmpBufBufU = {}; + srcValueTempTmpBufBufU.selector = srcValueTempTmpBufBufUUnionSelector; + if (srcValueTempTmpBufBufUUnionSelector == 0) { + srcValueTempTmpBufBufU.selector = 0; + srcValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (srcValueTempTmpBufBufUUnionSelector == 1) { + srcValueTempTmpBufBufU.selector = 1; + srcValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource srcValueTemp = static_cast(srcValueTempTmpBuf);; - GetNodeModifiers()->getMediaCachedImageModifier()->setMediaCachedImageOptions(self, static_cast(&srcValueTemp)); + INTEROP_FATAL("One of the branches for srcValueTempTmpBufBufU has to be chosen through deserialisation."); + } + srcValueTempTmpBuf.value1 = static_cast(srcValueTempTmpBufBufU); + } else if (srcValueTempTmpBufUnionSelector == 2) { + srcValueTempTmpBuf.selector = 2; + srcValueTempTmpBuf.value2 = static_cast(OhosArkuiDrawableDescriptorDrawableDescriptorSerializerImpl::read(thisDeserializer)); + } else if (srcValueTempTmpBufUnionSelector == 3) { + srcValueTempTmpBuf.selector = 3; + srcValueTempTmpBuf.value3 = ArkuiComponentMediaCachedImageASTCResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_image_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource srcValueTemp = static_cast(srcValueTempTmpBuf);; + GetNodeModifiers()->getMediaCachedImageModifier()->setMediaCachedImageOptions(self, static_cast(&srcValueTemp)); } KOALA_INTEROP_DIRECT_V3(MediaCachedImageInterface_setMediaCachedImageOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Menu_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMenuModifier()->construct(id, flags); + return GetNodeModifiers()->getMenuModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Menu_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_MenuInterface_setMenuOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getMenuModifier()->setMenuOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getMenuModifier()->setMenuOptions(self); } KOALA_INTEROP_DIRECT_V1(MenuInterface_setMenuOptions, Ark_NativePointer) void impl_MenuAttribute_setFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuModifier()->setFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuModifier()->setFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuAttribute_setFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuAttribute_setRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_BorderRadiuses valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_BorderRadiuses valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_BorderRadiuses valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_BorderRadiuses valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_BorderRadiuses valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuModifier()->setRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Dimension_BorderRadiuses valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuModifier()->setRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuAttribute_setRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuAttribute_setMenuItemDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsDividerStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DividerStyleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuModifier()->setMenuItemDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsDividerStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DividerStyleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuModifier()->setMenuItemDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuAttribute_setMenuItemDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuAttribute_setMenuItemGroupDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsDividerStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DividerStyleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuModifier()->setMenuItemGroupDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsDividerStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DividerStyleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuModifier()->setMenuItemGroupDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuAttribute_setMenuItemGroupDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuAttribute_setSubMenuExpandingMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SubMenuExpandingMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SubMenuExpandingMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuModifier()->setSubMenuExpandingMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SubMenuExpandingMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SubMenuExpandingMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuModifier()->setSubMenuExpandingMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuAttribute_setSubMenuExpandingMode, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_MenuItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMenuItemModifier()->construct(id, flags); + return GetNodeModifiers()->getMenuItemModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(MenuItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_MenuItemInterface_setMenuItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_MenuItemOptions_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_MenuItemOptions_CustomNodeBuilder valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentMenuItemMenuItemOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_MenuItemOptions_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_MenuItemOptions_CustomNodeBuilder valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentMenuItemMenuItemOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_MenuItemOptions_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setMenuItemOptions(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_MenuItemOptions_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setMenuItemOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemInterface_setMenuItemOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setSelected(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setSelectIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setSelectIcon(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setSelectIcon(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setSelectIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setContentFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setContentFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setContentFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setContentFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setContentFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setContentFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setContentFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setContentFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setLabelFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setLabelFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setLabelFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setLabelFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_MenuItemAttribute_setLabelFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemModifier()->setLabelFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemModifier()->setLabelFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_setLabelFontColor, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_MenuItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMenuItemGroupModifier()->construct(id, flags); + return GetNodeModifiers()->getMenuItemGroupModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(MenuItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_MenuItemGroupInterface_setMenuItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuItemGroupOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentMenuItemGroupMenuItemGroupOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MenuItemGroupOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getMenuItemGroupModifier()->setMenuItemGroupOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuItemGroupOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentMenuItemGroupMenuItemGroupOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MenuItemGroupOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getMenuItemGroupModifier()->setMenuItemGroupOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(MenuItemGroupInterface_setMenuItemGroupOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_NavDestination_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNavDestinationModifier()->construct(id, flags); + return GetNodeModifiers()->getNavDestinationModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(NavDestination_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_NavDestinationInterface_setNavDestinationOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavDestinationModifier()->setNavDestinationOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNavDestinationModifier()->setNavDestinationOptions(self); } KOALA_INTEROP_DIRECT_V1(NavDestinationInterface_setNavDestinationOptions, Ark_NativePointer) void impl_NavDestinationAttribute_setHideTitleBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setHideTitleBar0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setHideBackButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setHideBackButton(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setHideBackButton(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setHideBackButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnShown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnShown(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnShown(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnShown, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnHidden(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnHidden(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnHidden, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnBackPressed(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN))))}; - } - Opt_Callback_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnBackPressed(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN))))}; + } + Opt_Callback_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnBackPressed(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnBackPressed, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Opt_Object_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_OBJECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_OBJECT_VOID))))}; - } - Opt_Callback_Opt_Object_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnResult(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Opt_Object_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_OBJECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_OBJECT_VOID))))}; + } + Opt_Callback_Opt_Object_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnResult(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnResult, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavDestinationMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_NavDestinationMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavDestinationMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_NavDestinationMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_NavDestinationContext_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVDESTINATIONCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVDESTINATIONCONTEXT_VOID))))}; - } - Opt_Callback_NavDestinationContext_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnReady(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavDestinationContext_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVDESTINATIONCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVDESTINATIONCONTEXT_VOID))))}; + } + Opt_Callback_NavDestinationContext_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnReady(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnReady, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnWillAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillAppear(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillAppear(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnWillAppear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnWillDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillDisappear(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillDisappear(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnWillDisappear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillShow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillShow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnWillShow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillHide(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillHide(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnWillHide, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setSystemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_window_SystemBarStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = OhosWindowWindowSystemBarStyleSerializerImpl::read(thisDeserializer); - } - Opt_window_SystemBarStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setSystemBarStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_window_SystemBarStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = OhosWindowWindowSystemBarStyleSerializerImpl::read(thisDeserializer); + } + Opt_window_SystemBarStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setSystemBarStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setSystemBarStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setRecoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setRecoverable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setRecoverable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setRecoverable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setSystemTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationSystemTransitionType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_NavigationSystemTransitionType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setSystemTransition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationSystemTransitionType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_NavigationSystemTransitionType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setSystemTransition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setSystemTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setBindToScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Scroller valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_Scroller valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Scroller valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_Scroller valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(ArkuiComponentScrollScrollerSerializerImpl::read(thisDeserializer)); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(ArkuiComponentScrollScrollerSerializerImpl::read(thisDeserializer)); } - Opt_Array_Scroller valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setBindToScrollable(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_Scroller valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setBindToScrollable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setBindToScrollable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setBindToNestedScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_NestedScrollInfo valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_NestedScrollInfo valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_NestedScrollInfo valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_NestedScrollInfo valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = ArkuiComponentNavDestinationNestedScrollInfoSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = ArkuiComponentNavDestinationNestedScrollInfoSerializerImpl::read(thisDeserializer); } - Opt_Array_NestedScrollInfo valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setBindToNestedScrollable(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_NestedScrollInfo valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setBindToNestedScrollable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setBindToNestedScrollable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnActive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_NavDestinationActiveReason_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID))))}; - } - Opt_Callback_NavDestinationActiveReason_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnActive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavDestinationActiveReason_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID))))}; + } + Opt_Callback_NavDestinationActiveReason_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnActive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnActive, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnInactive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_NavDestinationActiveReason_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID))))}; - } - Opt_Callback_NavDestinationActiveReason_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnInactive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavDestinationActiveReason_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVDESTINATIONACTIVEREASON_VOID))))}; + } + Opt_Callback_NavDestinationActiveReason_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnInactive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnInactive, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setCustomTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavDestinationTransitionDelegate valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_NAVDESTINATIONTRANSITIONDELEGATE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_NAVDESTINATIONTRANSITIONDELEGATE))))}; - } - Opt_NavDestinationTransitionDelegate valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setCustomTransition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavDestinationTransitionDelegate valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_NAVDESTINATIONTRANSITIONDELEGATE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_NAVDESTINATIONTRANSITIONDELEGATE))))}; + } + Opt_NavDestinationTransitionDelegate valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setCustomTransition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setCustomTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setOnNewParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Opt_Object_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_OBJECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_OBJECT_VOID))))}; - } - Opt_Callback_Opt_Object_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setOnNewParam(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Opt_Object_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_OBJECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_OBJECT_VOID))))}; + } + Opt_Callback_Opt_Object_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnNewParam(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setOnNewParam, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setPreferredOrientation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_window_Orientation valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_window_Orientation valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setPreferredOrientation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_window_Orientation valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_window_Orientation valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setPreferredOrientation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setPreferredOrientation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setEnableNavigationIndicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setEnableNavigationIndicator(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setEnableNavigationIndicator(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setEnableNavigationIndicator, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setTitle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_CustomNodeBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_CustomNodeBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentNavDestinationNavDestinationCommonTitleSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = ArkuiComponentNavDestinationNavDestinationCustomTitleSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 4) { - valueValueTempTmpBufOpt.selector = 4; - valueValueTempTmpBufOpt.value4 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_String_CustomNodeBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationTitleOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationTitleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationTitleOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setTitle(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_CustomNodeBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_CustomNodeBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentNavDestinationNavDestinationCommonTitleSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = ArkuiComponentNavDestinationNavDestinationCustomTitleSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 4) { + valueValueTempTmpBufOpt.selector = 4; + valueValueTempTmpBufOpt.value4 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_CustomNodeBuilder_NavDestinationCommonTitle_NavDestinationCustomTitle_Resource valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationTitleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationTitleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationTitleOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setTitle(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setTitle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setHideTitleBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean hideValueTempTmpBuf = {}; - hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar1(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean hideValueTempTmpBuf = {}; + hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar1(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setHideTitleBar1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setBackButtonIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto iconValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceStr_image_PixelMap_SymbolGlyphModifier iconValueTempTmpBuf = {}; - iconValueTempTmpBuf.tag = iconValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((iconValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 iconValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_image_PixelMap_SymbolGlyphModifier iconValueTempTmpBufOpt = {}; - iconValueTempTmpBufOpt.selector = iconValueTempTmpBufOptUnionSelector; - if (iconValueTempTmpBufOptUnionSelector == 0) { - iconValueTempTmpBufOpt.selector = 0; - const Ark_Int8 iconValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr iconValueTempTmpBufOptBufU = {}; - iconValueTempTmpBufOptBufU.selector = iconValueTempTmpBufOptBufUUnionSelector; - if (iconValueTempTmpBufOptBufUUnionSelector == 0) { - iconValueTempTmpBufOptBufU.selector = 0; - iconValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (iconValueTempTmpBufOptBufUUnionSelector == 1) { - iconValueTempTmpBufOptBufU.selector = 1; - iconValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - iconValueTempTmpBufOpt.value0 = static_cast(iconValueTempTmpBufOptBufU); - } else if (iconValueTempTmpBufOptUnionSelector == 1) { - iconValueTempTmpBufOpt.selector = 1; - iconValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else if (iconValueTempTmpBufOptUnionSelector == 2) { - iconValueTempTmpBufOpt.selector = 2; - iconValueTempTmpBufOpt.value2 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBufOpt has to be chosen through deserialisation."); - } - iconValueTempTmpBuf.value = static_cast(iconValueTempTmpBufOpt); - } - Opt_Union_ResourceStr_image_PixelMap_SymbolGlyphModifier iconValueTemp = iconValueTempTmpBuf;; - const auto accessibilityTextValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr accessibilityTextValueTempTmpBuf = {}; - accessibilityTextValueTempTmpBuf.tag = accessibilityTextValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((accessibilityTextValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 accessibilityTextValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr accessibilityTextValueTempTmpBufOpt = {}; - accessibilityTextValueTempTmpBufOpt.selector = accessibilityTextValueTempTmpBufOptUnionSelector; - if (accessibilityTextValueTempTmpBufOptUnionSelector == 0) { - accessibilityTextValueTempTmpBufOpt.selector = 0; - accessibilityTextValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (accessibilityTextValueTempTmpBufOptUnionSelector == 1) { - accessibilityTextValueTempTmpBufOpt.selector = 1; - accessibilityTextValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for accessibilityTextValueTempTmpBufOpt has to be chosen through deserialisation."); - } - accessibilityTextValueTempTmpBuf.value = static_cast(accessibilityTextValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto iconValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceStr_image_PixelMap_SymbolGlyphModifier iconValueTempTmpBuf = {}; + iconValueTempTmpBuf.tag = iconValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((iconValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 iconValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_image_PixelMap_SymbolGlyphModifier iconValueTempTmpBufOpt = {}; + iconValueTempTmpBufOpt.selector = iconValueTempTmpBufOptUnionSelector; + if (iconValueTempTmpBufOptUnionSelector == 0) { + iconValueTempTmpBufOpt.selector = 0; + const Ark_Int8 iconValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr iconValueTempTmpBufOptBufU = {}; + iconValueTempTmpBufOptBufU.selector = iconValueTempTmpBufOptBufUUnionSelector; + if (iconValueTempTmpBufOptBufUUnionSelector == 0) { + iconValueTempTmpBufOptBufU.selector = 0; + iconValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (iconValueTempTmpBufOptBufUUnionSelector == 1) { + iconValueTempTmpBufOptBufU.selector = 1; + iconValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for iconValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + iconValueTempTmpBufOpt.value0 = static_cast(iconValueTempTmpBufOptBufU); + } else if (iconValueTempTmpBufOptUnionSelector == 1) { + iconValueTempTmpBufOpt.selector = 1; + iconValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else if (iconValueTempTmpBufOptUnionSelector == 2) { + iconValueTempTmpBufOpt.selector = 2; + iconValueTempTmpBufOpt.value2 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for iconValueTempTmpBufOpt has to be chosen through deserialisation."); + } + iconValueTempTmpBuf.value = static_cast(iconValueTempTmpBufOpt); + } + Opt_Union_ResourceStr_image_PixelMap_SymbolGlyphModifier iconValueTemp = iconValueTempTmpBuf;; + const auto accessibilityTextValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr accessibilityTextValueTempTmpBuf = {}; + accessibilityTextValueTempTmpBuf.tag = accessibilityTextValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((accessibilityTextValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 accessibilityTextValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr accessibilityTextValueTempTmpBufOpt = {}; + accessibilityTextValueTempTmpBufOpt.selector = accessibilityTextValueTempTmpBufOptUnionSelector; + if (accessibilityTextValueTempTmpBufOptUnionSelector == 0) { + accessibilityTextValueTempTmpBufOpt.selector = 0; + accessibilityTextValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (accessibilityTextValueTempTmpBufOptUnionSelector == 1) { + accessibilityTextValueTempTmpBufOpt.selector = 1; + accessibilityTextValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for accessibilityTextValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr accessibilityTextValueTemp = accessibilityTextValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon(self, static_cast(&iconValueTemp), static_cast(&accessibilityTextValueTemp)); + accessibilityTextValueTempTmpBuf.value = static_cast(accessibilityTextValueTempTmpBufOpt); + } + Opt_ResourceStr accessibilityTextValueTemp = accessibilityTextValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon(self, static_cast(&iconValueTemp), static_cast(&accessibilityTextValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setBackButtonIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setMenus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto itemsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBuf = {}; - itemsValueTempTmpBuf.tag = itemsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((itemsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 itemsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBufOpt = {}; - itemsValueTempTmpBufOpt.selector = itemsValueTempTmpBufOptUnionSelector; - if (itemsValueTempTmpBufOptUnionSelector == 0) { - itemsValueTempTmpBufOpt.selector = 0; - const Ark_Int32 itemsValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_NavigationMenuItem itemsValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto itemsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBuf = {}; + itemsValueTempTmpBuf.tag = itemsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((itemsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 itemsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBufOpt = {}; + itemsValueTempTmpBufOpt.selector = itemsValueTempTmpBufOptUnionSelector; + if (itemsValueTempTmpBufOptUnionSelector == 0) { + itemsValueTempTmpBufOpt.selector = 0; + const Ark_Int32 itemsValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_NavigationMenuItem itemsValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&itemsValueTempTmpBufOptBufU, itemsValueTempTmpBufOptBufULength); - for (int itemsValueTempTmpBufOptBufUBufCounterI = 0; itemsValueTempTmpBufOptBufUBufCounterI < itemsValueTempTmpBufOptBufULength; itemsValueTempTmpBufOptBufUBufCounterI++) { - itemsValueTempTmpBufOptBufU.array[itemsValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationNavigationMenuItemSerializerImpl::read(thisDeserializer); - } - itemsValueTempTmpBufOpt.value0 = itemsValueTempTmpBufOptBufU; - } else if (itemsValueTempTmpBufOptUnionSelector == 1) { - itemsValueTempTmpBufOpt.selector = 1; - itemsValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for itemsValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int itemsValueTempTmpBufOptBufUBufCounterI = 0; itemsValueTempTmpBufOptBufUBufCounterI < itemsValueTempTmpBufOptBufULength; itemsValueTempTmpBufOptBufUBufCounterI++) { + itemsValueTempTmpBufOptBufU.array[itemsValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationNavigationMenuItemSerializerImpl::read(thisDeserializer); } - itemsValueTempTmpBuf.value = static_cast(itemsValueTempTmpBufOpt); - } - Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTemp = itemsValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationMenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setMenus(self, static_cast(&itemsValueTemp), static_cast(&optionsValueTemp)); + itemsValueTempTmpBufOpt.value0 = itemsValueTempTmpBufOptBufU; + } else if (itemsValueTempTmpBufOptUnionSelector == 1) { + itemsValueTempTmpBufOpt.selector = 1; + itemsValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for itemsValueTempTmpBufOpt has to be chosen through deserialisation."); + } + itemsValueTempTmpBuf.value = static_cast(itemsValueTempTmpBufOpt); + } + Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTemp = itemsValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationMenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setMenus(self, static_cast(&itemsValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setMenus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setToolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto toolbarParamValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_ToolbarItem_CustomNodeBuilder toolbarParamValueTempTmpBuf = {}; - toolbarParamValueTempTmpBuf.tag = toolbarParamValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((toolbarParamValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 toolbarParamValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_ToolbarItem_CustomNodeBuilder toolbarParamValueTempTmpBufOpt = {}; - toolbarParamValueTempTmpBufOpt.selector = toolbarParamValueTempTmpBufOptUnionSelector; - if (toolbarParamValueTempTmpBufOptUnionSelector == 0) { - toolbarParamValueTempTmpBufOpt.selector = 0; - const Ark_Int32 toolbarParamValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_ToolbarItem toolbarParamValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto toolbarParamValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_ToolbarItem_CustomNodeBuilder toolbarParamValueTempTmpBuf = {}; + toolbarParamValueTempTmpBuf.tag = toolbarParamValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((toolbarParamValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 toolbarParamValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_ToolbarItem_CustomNodeBuilder toolbarParamValueTempTmpBufOpt = {}; + toolbarParamValueTempTmpBufOpt.selector = toolbarParamValueTempTmpBufOptUnionSelector; + if (toolbarParamValueTempTmpBufOptUnionSelector == 0) { + toolbarParamValueTempTmpBufOpt.selector = 0; + const Ark_Int32 toolbarParamValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_ToolbarItem toolbarParamValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&toolbarParamValueTempTmpBufOptBufU, toolbarParamValueTempTmpBufOptBufULength); - for (int toolbarParamValueTempTmpBufOptBufUBufCounterI = 0; toolbarParamValueTempTmpBufOptBufUBufCounterI < toolbarParamValueTempTmpBufOptBufULength; toolbarParamValueTempTmpBufOptBufUBufCounterI++) { - toolbarParamValueTempTmpBufOptBufU.array[toolbarParamValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationToolbarItemSerializerImpl::read(thisDeserializer); - } - toolbarParamValueTempTmpBufOpt.value0 = toolbarParamValueTempTmpBufOptBufU; - } else if (toolbarParamValueTempTmpBufOptUnionSelector == 1) { - toolbarParamValueTempTmpBufOpt.selector = 1; - toolbarParamValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for toolbarParamValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int toolbarParamValueTempTmpBufOptBufUBufCounterI = 0; toolbarParamValueTempTmpBufOptBufUBufCounterI < toolbarParamValueTempTmpBufOptBufULength; toolbarParamValueTempTmpBufOptBufUBufCounterI++) { + toolbarParamValueTempTmpBufOptBufU.array[toolbarParamValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationToolbarItemSerializerImpl::read(thisDeserializer); } - toolbarParamValueTempTmpBuf.value = static_cast(toolbarParamValueTempTmpBufOpt); - } - Opt_Union_Array_ToolbarItem_CustomNodeBuilder toolbarParamValueTemp = toolbarParamValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationToolbarOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationToolbarOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationToolbarOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setToolbarConfiguration(self, static_cast(&toolbarParamValueTemp), static_cast(&optionsValueTemp)); + toolbarParamValueTempTmpBufOpt.value0 = toolbarParamValueTempTmpBufOptBufU; + } else if (toolbarParamValueTempTmpBufOptUnionSelector == 1) { + toolbarParamValueTempTmpBufOpt.selector = 1; + toolbarParamValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for toolbarParamValueTempTmpBufOpt has to be chosen through deserialisation."); + } + toolbarParamValueTempTmpBuf.value = static_cast(toolbarParamValueTempTmpBufOpt); + } + Opt_Union_Array_ToolbarItem_CustomNodeBuilder toolbarParamValueTemp = toolbarParamValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationToolbarOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationToolbarOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationToolbarOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setToolbarConfiguration(self, static_cast(&toolbarParamValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setToolbarConfiguration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setHideToolBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean hideValueTempTmpBuf = {}; - hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setHideToolBar(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean hideValueTempTmpBuf = {}; + hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setHideToolBar(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setHideToolBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setIgnoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaType typesValueTempTmpBuf = {}; - typesValueTempTmpBuf.tag = typesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 typesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_LayoutSafeAreaType typesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaType typesValueTempTmpBuf = {}; + typesValueTempTmpBuf.tag = typesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 typesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_LayoutSafeAreaType typesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&typesValueTempTmpBufOpt, typesValueTempTmpBufOptLength); - for (int typesValueTempTmpBufOptBufCounterI = 0; typesValueTempTmpBufOptBufCounterI < typesValueTempTmpBufOptLength; typesValueTempTmpBufOptBufCounterI++) { - typesValueTempTmpBufOpt.array[typesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - typesValueTempTmpBuf.value = typesValueTempTmpBufOpt; - } - Opt_Array_LayoutSafeAreaType typesValueTemp = typesValueTempTmpBuf;; - const auto edgesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaEdge edgesValueTempTmpBuf = {}; - edgesValueTempTmpBuf.tag = edgesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((edgesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 edgesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_LayoutSafeAreaEdge edgesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + for (int typesValueTempTmpBufOptBufCounterI = 0; typesValueTempTmpBufOptBufCounterI < typesValueTempTmpBufOptLength; typesValueTempTmpBufOptBufCounterI++) { + typesValueTempTmpBufOpt.array[typesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); + } + typesValueTempTmpBuf.value = typesValueTempTmpBufOpt; + } + Opt_Array_LayoutSafeAreaType typesValueTemp = typesValueTempTmpBuf;; + const auto edgesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaEdge edgesValueTempTmpBuf = {}; + edgesValueTempTmpBuf.tag = edgesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((edgesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 edgesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_LayoutSafeAreaEdge edgesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&edgesValueTempTmpBufOpt, edgesValueTempTmpBufOptLength); - for (int edgesValueTempTmpBufOptBufCounterI = 0; edgesValueTempTmpBufOptBufCounterI < edgesValueTempTmpBufOptLength; edgesValueTempTmpBufOptBufCounterI++) { - edgesValueTempTmpBufOpt.array[edgesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - edgesValueTempTmpBuf.value = edgesValueTempTmpBufOpt; + for (int edgesValueTempTmpBufOptBufCounterI = 0; edgesValueTempTmpBufOptBufCounterI < edgesValueTempTmpBufOptLength; edgesValueTempTmpBufOptBufCounterI++) { + edgesValueTempTmpBufOpt.array[edgesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); } - Opt_Array_LayoutSafeAreaEdge edgesValueTemp = edgesValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setIgnoreLayoutSafeArea(self, static_cast(&typesValueTemp), static_cast(&edgesValueTemp)); + edgesValueTempTmpBuf.value = edgesValueTempTmpBufOpt; + } + Opt_Array_LayoutSafeAreaEdge edgesValueTemp = edgesValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setIgnoreLayoutSafeArea(self, static_cast(&typesValueTemp), static_cast(&edgesValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setIgnoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavDestinationAttribute_setEnableStatusBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto enabledValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean enabledValueTempTmpBuf = {}; - enabledValueTempTmpBuf.tag = enabledValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((enabledValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - enabledValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean enabledValueTemp = enabledValueTempTmpBuf;; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetNodeModifiers()->getNavDestinationModifier()->setEnableStatusBar(self, static_cast(&enabledValueTemp), static_cast(&animatedValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto enabledValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean enabledValueTempTmpBuf = {}; + enabledValueTempTmpBuf.tag = enabledValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((enabledValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + enabledValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean enabledValueTemp = enabledValueTempTmpBuf;; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetNodeModifiers()->getNavDestinationModifier()->setEnableStatusBar(self, static_cast(&enabledValueTemp), static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_setEnableStatusBar, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Navigation_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNavigationModifier()->construct(id, flags); + return GetNodeModifiers()->getNavigationModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Navigation_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_NavigationInterface_setNavigationOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto pathInfosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavPathStack pathInfosValueTempTmpBuf = {}; - pathInfosValueTempTmpBuf.tag = pathInfosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((pathInfosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - pathInfosValueTempTmpBuf.value = static_cast(ArkuiComponentNavigationNavPathStackSerializerImpl::read(thisDeserializer)); - } - Opt_NavPathStack pathInfosValueTemp = pathInfosValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setNavigationOptions(self, static_cast(&pathInfosValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto pathInfosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavPathStack pathInfosValueTempTmpBuf = {}; + pathInfosValueTempTmpBuf.tag = pathInfosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((pathInfosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + pathInfosValueTempTmpBuf.value = static_cast(ArkuiComponentNavigationNavPathStackSerializerImpl::read(thisDeserializer)); + } + Opt_NavPathStack pathInfosValueTemp = pathInfosValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setNavigationOptions(self, static_cast(&pathInfosValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationInterface_setNavigationOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setNavBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_Bindable_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_Bindable_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_LengthSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_Bindable_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_Bindable_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_LengthSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_Bindable_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setNavBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_Bindable_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setNavBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setNavBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setNavBarPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavBarPosition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_NavBarPosition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setNavBarPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavBarPosition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_NavBarPosition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setNavBarPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setNavBarPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setNavBarWidthRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Tuple_Dimension_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - Ark_Tuple_Dimension_Dimension valueValueTempTmpBufOpt = {}; - const Ark_Int8 valueValueTempTmpBufOptValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptValue0TempBuf = {}; - valueValueTempTmpBufOptValue0TempBuf.selector = valueValueTempTmpBufOptValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptValue0TempBuf.selector = 0; - valueValueTempTmpBufOptValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptValue0TempBuf.selector = 1; - valueValueTempTmpBufOptValue0TempBuf.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 2) { - valueValueTempTmpBufOptValue0TempBuf.selector = 2; - valueValueTempTmpBufOptValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue0TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptValue0TempBuf); - const Ark_Int8 valueValueTempTmpBufOptValue1TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptValue1TempBuf = {}; - valueValueTempTmpBufOptValue1TempBuf.selector = valueValueTempTmpBufOptValue1TempBufUnionSelector; - if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 0) { - valueValueTempTmpBufOptValue1TempBuf.selector = 0; - valueValueTempTmpBufOptValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 1) { - valueValueTempTmpBufOptValue1TempBuf.selector = 1; - valueValueTempTmpBufOptValue1TempBuf.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 2) { - valueValueTempTmpBufOptValue1TempBuf.selector = 2; - valueValueTempTmpBufOptValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue1TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptValue1TempBuf); - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Tuple_Dimension_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + Ark_Tuple_Dimension_Dimension valueValueTempTmpBufOpt = {}; + const Ark_Int8 valueValueTempTmpBufOptValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptValue0TempBuf = {}; + valueValueTempTmpBufOptValue0TempBuf.selector = valueValueTempTmpBufOptValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptValue0TempBuf.selector = 0; + valueValueTempTmpBufOptValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptValue0TempBuf.selector = 1; + valueValueTempTmpBufOptValue0TempBuf.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptValue0TempBufUnionSelector == 2) { + valueValueTempTmpBufOptValue0TempBuf.selector = 2; + valueValueTempTmpBufOptValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue0TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptValue0TempBuf); + const Ark_Int8 valueValueTempTmpBufOptValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptValue1TempBuf = {}; + valueValueTempTmpBufOptValue1TempBuf.selector = valueValueTempTmpBufOptValue1TempBufUnionSelector; + if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 0) { + valueValueTempTmpBufOptValue1TempBuf.selector = 0; + valueValueTempTmpBufOptValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 1) { + valueValueTempTmpBufOptValue1TempBuf.selector = 1; + valueValueTempTmpBufOptValue1TempBuf.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptValue1TempBufUnionSelector == 2) { + valueValueTempTmpBufOptValue1TempBuf.selector = 2; + valueValueTempTmpBufOptValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptValue1TempBuf has to be chosen through deserialisation."); } - Opt_Tuple_Dimension_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setNavBarWidthRange(self, static_cast(&valueValueTemp)); + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptValue1TempBuf); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Tuple_Dimension_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setNavBarWidthRange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setNavBarWidthRange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setMinContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setMinContentWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setMinContentWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setMinContentWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_NavigationMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_NavigationMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setHideNavBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setHideNavBar(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setHideNavBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setHideNavBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setHideTitleBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setHideTitleBar0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setHideTitleBar0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setHideTitleBar0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setHideBackButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setHideBackButton(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setHideBackButton(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setHideBackButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setTitleMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationTitleMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_NavigationTitleMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setTitleMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationTitleMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_NavigationTitleMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setTitleMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setTitleMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setHideToolBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setHideToolBar0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setHideToolBar0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setHideToolBar0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setEnableToolBarAdaptation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setEnableToolBarAdaptation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setEnableToolBarAdaptation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setEnableToolBarAdaptation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setOnTitleModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_NavigationTitleMode_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVIGATIONTITLEMODE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVIGATIONTITLEMODE_VOID))))}; - } - Opt_Callback_NavigationTitleMode_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setOnTitleModeChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavigationTitleMode_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVIGATIONTITLEMODE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVIGATIONTITLEMODE_VOID))))}; + } + Opt_Callback_NavigationTitleMode_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setOnTitleModeChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setOnTitleModeChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setOnNavBarStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setOnNavBarStateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setOnNavBarStateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setOnNavBarStateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setOnNavigationModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_NavigationMode_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVIGATIONMODE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVIGATIONMODE_VOID))))}; - } - Opt_Callback_NavigationMode_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setOnNavigationModeChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavigationMode_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_NAVIGATIONMODE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_NAVIGATIONMODE_VOID))))}; + } + Opt_Callback_NavigationMode_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setOnNavigationModeChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setOnNavigationModeChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setCustomNavContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Type_NavigationAttribute_customNavContentTransition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TYPE_NAVIGATIONATTRIBUTE_CUSTOMNAVCONTENTTRANSITION)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TYPE_NAVIGATIONATTRIBUTE_CUSTOMNAVCONTENTTRANSITION))))}; - } - Opt_Type_NavigationAttribute_customNavContentTransition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setCustomNavContentTransition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Type_NavigationAttribute_customNavContentTransition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TYPE_NAVIGATIONATTRIBUTE_CUSTOMNAVCONTENTTRANSITION)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TYPE_NAVIGATIONATTRIBUTE_CUSTOMNAVCONTENTTRANSITION))))}; + } + Opt_Type_NavigationAttribute_customNavContentTransition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setCustomNavContentTransition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setCustomNavContentTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setSystemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_window_SystemBarStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = OhosWindowWindowSystemBarStyleSerializerImpl::read(thisDeserializer); - } - Opt_window_SystemBarStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setSystemBarStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_window_SystemBarStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = OhosWindowWindowSystemBarStyleSerializerImpl::read(thisDeserializer); + } + Opt_window_SystemBarStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setSystemBarStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setSystemBarStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setRecoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setRecoverable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setRecoverable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setRecoverable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setEnableDragBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setEnableDragBar(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setEnableDragBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setEnableDragBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setEnableModeChangeAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setEnableModeChangeAnimation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setEnableModeChangeAnimation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setEnableModeChangeAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setBackButtonIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto iconValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_image_PixelMap_Resource_SymbolGlyphModifier iconValueTempTmpBuf = {}; - iconValueTempTmpBuf.tag = iconValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((iconValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 iconValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_image_PixelMap_Resource_SymbolGlyphModifier iconValueTempTmpBufOpt = {}; - iconValueTempTmpBufOpt.selector = iconValueTempTmpBufOptUnionSelector; - if (iconValueTempTmpBufOptUnionSelector == 0) { - iconValueTempTmpBufOpt.selector = 0; - iconValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (iconValueTempTmpBufOptUnionSelector == 1) { - iconValueTempTmpBufOpt.selector = 1; - iconValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else if (iconValueTempTmpBufOptUnionSelector == 2) { - iconValueTempTmpBufOpt.selector = 2; - iconValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else if (iconValueTempTmpBufOptUnionSelector == 3) { - iconValueTempTmpBufOpt.selector = 3; - iconValueTempTmpBufOpt.value3 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBufOpt has to be chosen through deserialisation."); - } - iconValueTempTmpBuf.value = static_cast(iconValueTempTmpBufOpt); - } - Opt_Union_String_image_PixelMap_Resource_SymbolGlyphModifier iconValueTemp = iconValueTempTmpBuf;; - const auto accessibilityTextValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr accessibilityTextValueTempTmpBuf = {}; - accessibilityTextValueTempTmpBuf.tag = accessibilityTextValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((accessibilityTextValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 accessibilityTextValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr accessibilityTextValueTempTmpBufOpt = {}; - accessibilityTextValueTempTmpBufOpt.selector = accessibilityTextValueTempTmpBufOptUnionSelector; - if (accessibilityTextValueTempTmpBufOptUnionSelector == 0) { - accessibilityTextValueTempTmpBufOpt.selector = 0; - accessibilityTextValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (accessibilityTextValueTempTmpBufOptUnionSelector == 1) { - accessibilityTextValueTempTmpBufOpt.selector = 1; - accessibilityTextValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for accessibilityTextValueTempTmpBufOpt has to be chosen through deserialisation."); - } - accessibilityTextValueTempTmpBuf.value = static_cast(accessibilityTextValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto iconValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_image_PixelMap_Resource_SymbolGlyphModifier iconValueTempTmpBuf = {}; + iconValueTempTmpBuf.tag = iconValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((iconValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 iconValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_image_PixelMap_Resource_SymbolGlyphModifier iconValueTempTmpBufOpt = {}; + iconValueTempTmpBufOpt.selector = iconValueTempTmpBufOptUnionSelector; + if (iconValueTempTmpBufOptUnionSelector == 0) { + iconValueTempTmpBufOpt.selector = 0; + iconValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (iconValueTempTmpBufOptUnionSelector == 1) { + iconValueTempTmpBufOpt.selector = 1; + iconValueTempTmpBufOpt.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else if (iconValueTempTmpBufOptUnionSelector == 2) { + iconValueTempTmpBufOpt.selector = 2; + iconValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else if (iconValueTempTmpBufOptUnionSelector == 3) { + iconValueTempTmpBufOpt.selector = 3; + iconValueTempTmpBufOpt.value3 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for iconValueTempTmpBufOpt has to be chosen through deserialisation."); + } + iconValueTempTmpBuf.value = static_cast(iconValueTempTmpBufOpt); + } + Opt_Union_String_image_PixelMap_Resource_SymbolGlyphModifier iconValueTemp = iconValueTempTmpBuf;; + const auto accessibilityTextValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr accessibilityTextValueTempTmpBuf = {}; + accessibilityTextValueTempTmpBuf.tag = accessibilityTextValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((accessibilityTextValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 accessibilityTextValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr accessibilityTextValueTempTmpBufOpt = {}; + accessibilityTextValueTempTmpBufOpt.selector = accessibilityTextValueTempTmpBufOptUnionSelector; + if (accessibilityTextValueTempTmpBufOptUnionSelector == 0) { + accessibilityTextValueTempTmpBufOpt.selector = 0; + accessibilityTextValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (accessibilityTextValueTempTmpBufOptUnionSelector == 1) { + accessibilityTextValueTempTmpBufOpt.selector = 1; + accessibilityTextValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for accessibilityTextValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr accessibilityTextValueTemp = accessibilityTextValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon(self, static_cast(&iconValueTemp), static_cast(&accessibilityTextValueTemp)); + accessibilityTextValueTempTmpBuf.value = static_cast(accessibilityTextValueTempTmpBufOpt); + } + Opt_ResourceStr accessibilityTextValueTemp = accessibilityTextValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon(self, static_cast(&iconValueTemp), static_cast(&accessibilityTextValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setBackButtonIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setTitle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceStr_CustomNodeBuilder_NavigationCommonTitle_NavigationCustomTitle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_CustomNodeBuilder_NavigationCommonTitle_NavigationCustomTitle valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentNavigationNavigationCommonTitleSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = ArkuiComponentNavigationNavigationCustomTitleSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_ResourceStr_CustomNodeBuilder_NavigationCommonTitle_NavigationCustomTitle valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationTitleOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationTitleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationTitleOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setTitle(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceStr_CustomNodeBuilder_NavigationCommonTitle_NavigationCustomTitle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_CustomNodeBuilder_NavigationCommonTitle_NavigationCustomTitle valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentNavigationNavigationCommonTitleSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = ArkuiComponentNavigationNavigationCustomTitleSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceStr_CustomNodeBuilder_NavigationCommonTitle_NavigationCustomTitle valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationTitleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationTitleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationTitleOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setTitle(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setTitle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setHideTitleBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean hideValueTempTmpBuf = {}; - hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setHideTitleBar1(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean hideValueTempTmpBuf = {}; + hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setHideTitleBar1(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setHideTitleBar1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setMenus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto itemsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBuf = {}; - itemsValueTempTmpBuf.tag = itemsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((itemsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 itemsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBufOpt = {}; - itemsValueTempTmpBufOpt.selector = itemsValueTempTmpBufOptUnionSelector; - if (itemsValueTempTmpBufOptUnionSelector == 0) { - itemsValueTempTmpBufOpt.selector = 0; - const Ark_Int32 itemsValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_NavigationMenuItem itemsValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto itemsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBuf = {}; + itemsValueTempTmpBuf.tag = itemsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((itemsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 itemsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTempTmpBufOpt = {}; + itemsValueTempTmpBufOpt.selector = itemsValueTempTmpBufOptUnionSelector; + if (itemsValueTempTmpBufOptUnionSelector == 0) { + itemsValueTempTmpBufOpt.selector = 0; + const Ark_Int32 itemsValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_NavigationMenuItem itemsValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&itemsValueTempTmpBufOptBufU, itemsValueTempTmpBufOptBufULength); - for (int itemsValueTempTmpBufOptBufUBufCounterI = 0; itemsValueTempTmpBufOptBufUBufCounterI < itemsValueTempTmpBufOptBufULength; itemsValueTempTmpBufOptBufUBufCounterI++) { - itemsValueTempTmpBufOptBufU.array[itemsValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationNavigationMenuItemSerializerImpl::read(thisDeserializer); - } - itemsValueTempTmpBufOpt.value0 = itemsValueTempTmpBufOptBufU; - } else if (itemsValueTempTmpBufOptUnionSelector == 1) { - itemsValueTempTmpBufOpt.selector = 1; - itemsValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for itemsValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int itemsValueTempTmpBufOptBufUBufCounterI = 0; itemsValueTempTmpBufOptBufUBufCounterI < itemsValueTempTmpBufOptBufULength; itemsValueTempTmpBufOptBufUBufCounterI++) { + itemsValueTempTmpBufOptBufU.array[itemsValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationNavigationMenuItemSerializerImpl::read(thisDeserializer); } - itemsValueTempTmpBuf.value = static_cast(itemsValueTempTmpBufOpt); - } - Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTemp = itemsValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationMenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setMenus(self, static_cast(&itemsValueTemp), static_cast(&optionsValueTemp)); + itemsValueTempTmpBufOpt.value0 = itemsValueTempTmpBufOptBufU; + } else if (itemsValueTempTmpBufOptUnionSelector == 1) { + itemsValueTempTmpBufOpt.selector = 1; + itemsValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for itemsValueTempTmpBufOpt has to be chosen through deserialisation."); + } + itemsValueTempTmpBuf.value = static_cast(itemsValueTempTmpBufOpt); + } + Opt_Union_Array_NavigationMenuItem_CustomNodeBuilder itemsValueTemp = itemsValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationMenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setMenus(self, static_cast(&itemsValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setMenus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setToolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Array_ToolbarItem_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Array_ToolbarItem_CustomNodeBuilder valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_ToolbarItem valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Array_ToolbarItem_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Array_ToolbarItem_CustomNodeBuilder valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_ToolbarItem valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationToolbarItemSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value0 = valueValueTempTmpBufOptBufU; - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentNavigationToolbarItemSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_Array_ToolbarItem_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationToolbarOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationToolbarOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationToolbarOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setToolbarConfiguration(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + valueValueTempTmpBufOpt.value0 = valueValueTempTmpBufOptBufU; + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Array_ToolbarItem_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationToolbarOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationToolbarOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationToolbarOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setToolbarConfiguration(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setToolbarConfiguration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setHideToolBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean hideValueTempTmpBuf = {}; - hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setHideToolBar1(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto hideValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean hideValueTempTmpBuf = {}; + hideValueTempTmpBuf.tag = hideValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((hideValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + hideValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean hideValueTemp = hideValueTempTmpBuf;; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setHideToolBar1(self, static_cast(&hideValueTemp), static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setHideToolBar1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavigationAttribute_setIgnoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaType typesValueTempTmpBuf = {}; - typesValueTempTmpBuf.tag = typesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 typesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_LayoutSafeAreaType typesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaType typesValueTempTmpBuf = {}; + typesValueTempTmpBuf.tag = typesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 typesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_LayoutSafeAreaType typesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&typesValueTempTmpBufOpt, typesValueTempTmpBufOptLength); - for (int typesValueTempTmpBufOptBufCounterI = 0; typesValueTempTmpBufOptBufCounterI < typesValueTempTmpBufOptLength; typesValueTempTmpBufOptBufCounterI++) { - typesValueTempTmpBufOpt.array[typesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - typesValueTempTmpBuf.value = typesValueTempTmpBufOpt; - } - Opt_Array_LayoutSafeAreaType typesValueTemp = typesValueTempTmpBuf;; - const auto edgesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaEdge edgesValueTempTmpBuf = {}; - edgesValueTempTmpBuf.tag = edgesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((edgesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 edgesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_LayoutSafeAreaEdge edgesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + for (int typesValueTempTmpBufOptBufCounterI = 0; typesValueTempTmpBufOptBufCounterI < typesValueTempTmpBufOptLength; typesValueTempTmpBufOptBufCounterI++) { + typesValueTempTmpBufOpt.array[typesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); + } + typesValueTempTmpBuf.value = typesValueTempTmpBufOpt; + } + Opt_Array_LayoutSafeAreaType typesValueTemp = typesValueTempTmpBuf;; + const auto edgesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaEdge edgesValueTempTmpBuf = {}; + edgesValueTempTmpBuf.tag = edgesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((edgesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 edgesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_LayoutSafeAreaEdge edgesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&edgesValueTempTmpBufOpt, edgesValueTempTmpBufOptLength); - for (int edgesValueTempTmpBufOptBufCounterI = 0; edgesValueTempTmpBufOptBufCounterI < edgesValueTempTmpBufOptLength; edgesValueTempTmpBufOptBufCounterI++) { - edgesValueTempTmpBufOpt.array[edgesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - edgesValueTempTmpBuf.value = edgesValueTempTmpBufOpt; + for (int edgesValueTempTmpBufOptBufCounterI = 0; edgesValueTempTmpBufOptBufCounterI < edgesValueTempTmpBufOptLength; edgesValueTempTmpBufOptBufCounterI++) { + edgesValueTempTmpBufOpt.array[edgesValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); } - Opt_Array_LayoutSafeAreaEdge edgesValueTemp = edgesValueTempTmpBuf;; - GetNodeModifiers()->getNavigationModifier()->setIgnoreLayoutSafeArea(self, static_cast(&typesValueTemp), static_cast(&edgesValueTemp)); + edgesValueTempTmpBuf.value = edgesValueTempTmpBufOpt; + } + Opt_Array_LayoutSafeAreaEdge edgesValueTemp = edgesValueTempTmpBuf;; + GetNodeModifiers()->getNavigationModifier()->setIgnoreLayoutSafeArea(self, static_cast(&typesValueTemp), static_cast(&edgesValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationAttribute_setIgnoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_NodeContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNodeContainerModifier()->construct(id, flags); + return GetNodeModifiers()->getNodeContainerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(NodeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_NodeContainerInterface_setNodeContainerOptions(Ark_NativePointer thisPtr, Ark_NativePointer controller) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNodeContainerModifier()->setNodeContainerOptions(self, static_cast(controller)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNodeContainerModifier()->setNodeContainerOptions(self, static_cast(controller)); } KOALA_INTEROP_DIRECT_V2(NodeContainerInterface_setNodeContainerOptions, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_PasteButton_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPasteButtonModifier()->construct(id, flags); + return GetNodeModifiers()->getPasteButtonModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(PasteButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_PasteButtonInterface_setPasteButtonOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions(self); } KOALA_INTEROP_DIRECT_V1(PasteButtonInterface_setPasteButtonOptions, Ark_NativePointer) void impl_PasteButtonAttribute_setOnClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PasteButtonCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PASTEBUTTONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PASTEBUTTONCALLBACK))))}; - } - Opt_PasteButtonCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPasteButtonModifier()->setOnClick(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PasteButtonCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PASTEBUTTONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PASTEBUTTONCALLBACK))))}; + } + Opt_PasteButtonCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPasteButtonModifier()->setOnClick(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PasteButtonAttribute_setOnClick, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Path_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPathModifier()->construct(id, flags); + return GetNodeModifiers()->getPathModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Path_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_PathInterface_setPathOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PathOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentPathPathOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PathOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getPathModifier()->setPathOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PathOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentPathPathOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PathOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getPathModifier()->setPathOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(PathInterface_setPathOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PathAttribute_setCommands(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPathModifier()->setCommands(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPathModifier()->setCommands(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PathAttribute_setCommands, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_PatternLock_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPatternLockModifier()->construct(id, flags); + return GetNodeModifiers()->getPatternLockModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(PatternLock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_PatternLockInterface_setPatternLockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto controllerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PatternLockController controllerValueTempTmpBuf = {}; - controllerValueTempTmpBuf.tag = controllerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((controllerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - controllerValueTempTmpBuf.value = static_cast(ArkuiComponentPatternLockPatternLockControllerSerializerImpl::read(thisDeserializer)); - } - Opt_PatternLockController controllerValueTemp = controllerValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setPatternLockOptions(self, static_cast(&controllerValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto controllerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PatternLockController controllerValueTempTmpBuf = {}; + controllerValueTempTmpBuf.tag = controllerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((controllerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + controllerValueTempTmpBuf.value = static_cast(ArkuiComponentPatternLockPatternLockControllerSerializerImpl::read(thisDeserializer)); + } + Opt_PatternLockController controllerValueTemp = controllerValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setPatternLockOptions(self, static_cast(&controllerValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockInterface_setPatternLockOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setSideLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setSideLength(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setSideLength(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setSideLength, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setCircleRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setCircleRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setCircleRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setCircleRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setRegularColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setRegularColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setRegularColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setRegularColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setActiveColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setActiveColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setActiveColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setActiveColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setPathColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setPathColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setPathColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setPathColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setPathStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setPathStrokeWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setPathStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setPathStrokeWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setOnPatternComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Array_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ARRAY_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ARRAY_I32_VOID))))}; - } - Opt_Callback_Array_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setOnPatternComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Array_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ARRAY_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ARRAY_I32_VOID))))}; + } + Opt_Callback_Array_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setOnPatternComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setOnPatternComplete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setAutoReset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setAutoReset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setAutoReset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setAutoReset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setOnDotConnect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setOnDotConnect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setOnDotConnect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setOnDotConnect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setActivateCircleStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CircleStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentPatternLockCircleStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CircleStyleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setActivateCircleStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CircleStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentPatternLockCircleStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CircleStyleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setActivateCircleStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setActivateCircleStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PatternLockAttribute_setSkipUnselectedPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPatternLockModifier()->setSkipUnselectedPoint(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPatternLockModifier()->setSkipUnselectedPoint(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_setSkipUnselectedPoint, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_PluginComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPluginComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getPluginComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(PluginComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_PluginComponentInterface_setPluginComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PluginComponentOptions optionsValueTemp = ArkuiComponentPluginComponentPluginComponentOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getPluginComponentModifier()->setPluginComponentOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PluginComponentOptions optionsValueTemp = ArkuiComponentPluginComponentPluginComponentOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getPluginComponentModifier()->setPluginComponentOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(PluginComponentInterface_setPluginComponentOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PluginComponentAttribute_setOnComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPluginComponentModifier()->setOnComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPluginComponentModifier()->setOnComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_setOnComplete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PluginComponentAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PluginErrorCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PLUGINERRORCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PLUGINERRORCALLBACK))))}; - } - Opt_PluginErrorCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPluginComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PluginErrorCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PLUGINERRORCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PLUGINERRORCALLBACK))))}; + } + Opt_PluginErrorCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPluginComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Polygon_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPolygonModifier()->construct(id, flags); + return GetNodeModifiers()->getPolygonModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Polygon_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_PolygonInterface_setPolygonOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PolygonOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentPolygonPolygonOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PolygonOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getPolygonModifier()->setPolygonOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PolygonOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentPolygonPolygonOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PolygonOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getPolygonModifier()->setPolygonOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(PolygonInterface_setPolygonOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PolygonAttribute_setPoints(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ShapePoint valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ShapePoint valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ShapePoint valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ShapePoint valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - Ark_ShapePoint valueValueTempTmpBufOptTempBuf = {}; - const Ark_Int8 valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptTempBufValue0TempBuf = {}; - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 0; - valueValueTempTmpBufOptTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 1; - valueValueTempTmpBufOptTempBufValue0TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 2; - valueValueTempTmpBufOptTempBufValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue0TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptTempBuf.value0 = static_cast(valueValueTempTmpBufOptTempBufValue0TempBuf); - const Ark_Int8 valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptTempBufValue1TempBuf = {}; - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 0; - valueValueTempTmpBufOptTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 1; - valueValueTempTmpBufOptTempBufValue1TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 2; - valueValueTempTmpBufOptTempBufValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue1TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptTempBuf.value1 = static_cast(valueValueTempTmpBufOptTempBufValue1TempBuf); - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = valueValueTempTmpBufOptTempBuf; - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_ShapePoint valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPolygonModifier()->setPoints(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + Ark_ShapePoint valueValueTempTmpBufOptTempBuf = {}; + const Ark_Int8 valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptTempBufValue0TempBuf = {}; + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 0; + valueValueTempTmpBufOptTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 1; + valueValueTempTmpBufOptTempBufValue0TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 2; + valueValueTempTmpBufOptTempBufValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue0TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOptTempBuf.value0 = static_cast(valueValueTempTmpBufOptTempBufValue0TempBuf); + const Ark_Int8 valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptTempBufValue1TempBuf = {}; + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 0; + valueValueTempTmpBufOptTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 1; + valueValueTempTmpBufOptTempBufValue1TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 2; + valueValueTempTmpBufOptTempBufValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue1TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOptTempBuf.value1 = static_cast(valueValueTempTmpBufOptTempBufValue1TempBuf); + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = valueValueTempTmpBufOptTempBuf; + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_ShapePoint valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPolygonModifier()->setPoints(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PolygonAttribute_setPoints, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Polyline_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPolylineModifier()->construct(id, flags); + return GetNodeModifiers()->getPolylineModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Polyline_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_PolylineInterface_setPolylineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PolylineOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentPolylinePolylineOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PolylineOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getPolylineModifier()->setPolylineOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PolylineOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentPolylinePolylineOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PolylineOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getPolylineModifier()->setPolylineOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(PolylineInterface_setPolylineOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PolylineAttribute_setPoints(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ShapePoint valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ShapePoint valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ShapePoint valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ShapePoint valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - Ark_ShapePoint valueValueTempTmpBufOptTempBuf = {}; - const Ark_Int8 valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptTempBufValue0TempBuf = {}; - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 0; - valueValueTempTmpBufOptTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 1; - valueValueTempTmpBufOptTempBufValue0TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 2; - valueValueTempTmpBufOptTempBufValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue0TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptTempBuf.value0 = static_cast(valueValueTempTmpBufOptTempBufValue0TempBuf); - const Ark_Int8 valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptTempBufValue1TempBuf = {}; - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 0; - valueValueTempTmpBufOptTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 1; - valueValueTempTmpBufOptTempBufValue1TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 2; - valueValueTempTmpBufOptTempBufValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue1TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptTempBuf.value1 = static_cast(valueValueTempTmpBufOptTempBufValue1TempBuf); - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = valueValueTempTmpBufOptTempBuf; - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_ShapePoint valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getPolylineModifier()->setPoints(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + Ark_ShapePoint valueValueTempTmpBufOptTempBuf = {}; + const Ark_Int8 valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptTempBufValue0TempBuf = {}; + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 0; + valueValueTempTmpBufOptTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 1; + valueValueTempTmpBufOptTempBufValue0TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptTempBufValue0TempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBufValue0TempBuf.selector = 2; + valueValueTempTmpBufOptTempBufValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue0TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOptTempBuf.value0 = static_cast(valueValueTempTmpBufOptTempBufValue0TempBuf); + const Ark_Int8 valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptTempBufValue1TempBuf = {}; + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 0; + valueValueTempTmpBufOptTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 1; + valueValueTempTmpBufOptTempBufValue1TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptTempBufValue1TempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBufValue1TempBuf.selector = 2; + valueValueTempTmpBufOptTempBufValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBufValue1TempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOptTempBuf.value1 = static_cast(valueValueTempTmpBufOptTempBufValue1TempBuf); + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = valueValueTempTmpBufOptTempBuf; + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_ShapePoint valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getPolylineModifier()->setPoints(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(PolylineAttribute_setPoints, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Progress_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getProgressModifier()->construct(id, flags); + return GetNodeModifiers()->getProgressModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Progress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ProgressInterface_setProgressOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ProgressOptions optionsValueTemp = ArkuiComponentProgressProgressOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getProgressModifier()->setProgressOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ProgressOptions optionsValueTemp = ArkuiComponentProgressProgressOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getProgressModifier()->setProgressOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ProgressInterface_setProgressOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ProgressAttribute_setValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getProgressModifier()->setValue(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getProgressModifier()->setValue(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ProgressAttribute_setValue, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ProgressAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getProgressModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getProgressModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ProgressAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ProgressAttribute_setStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentProgressLinearStyleOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentProgressRingStyleOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentProgressCapsuleStyleOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = ArkuiComponentProgressProgressStyleOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentProgressLinearStyleOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentProgressRingStyleOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentProgressCapsuleStyleOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = ArkuiComponentProgressProgressStyleOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getProgressModifier()->setStyle(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getProgressModifier()->setStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ProgressAttribute_setStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ProgressAttribute_setPrivacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getProgressModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getProgressModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ProgressAttribute_setPrivacySensitive, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_QRCode_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getQRCodeModifier()->construct(id, flags); + return GetNodeModifiers()->getQRCodeModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(QRCode_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_QRCodeInterface_setQRCodeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr valueValueTemp = static_cast(valueValueTempTmpBuf);; - GetNodeModifiers()->getQRCodeModifier()->setQRCodeOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr valueValueTemp = static_cast(valueValueTempTmpBuf);; + GetNodeModifiers()->getQRCodeModifier()->setQRCodeOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(QRCodeInterface_setQRCodeOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_QRCodeAttribute_setColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getQRCodeModifier()->setColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getQRCodeModifier()->setColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_setColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_QRCodeAttribute_setBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getQRCodeModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getQRCodeModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_setBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_QRCodeAttribute_setContentOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getQRCodeModifier()->setContentOpacity(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getQRCodeModifier()->setContentOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_setContentOpacity, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Radio_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRadioModifier()->construct(id, flags); + return GetNodeModifiers()->getRadioModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Radio_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RadioInterface_setRadioOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RadioOptions optionsValueTemp = ArkuiComponentRadioRadioOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getRadioModifier()->setRadioOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RadioOptions optionsValueTemp = ArkuiComponentRadioRadioOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getRadioModifier()->setRadioOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RadioInterface_setRadioOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RadioAttribute_setChecked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRadioModifier()->setChecked(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRadioModifier()->setChecked(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RadioAttribute_setChecked, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RadioAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnRadioChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONRADIOCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONRADIOCHANGECALLBACK))))}; - } - Opt_OnRadioChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRadioModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnRadioChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONRADIOCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONRADIOCHANGECALLBACK))))}; + } + Opt_OnRadioChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRadioModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RadioAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RadioAttribute_setRadioStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RadioStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentRadioRadioStyleSerializerImpl::read(thisDeserializer); - } - Opt_RadioStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRadioModifier()->setRadioStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RadioStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentRadioRadioStyleSerializerImpl::read(thisDeserializer); + } + Opt_RadioStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRadioModifier()->setRadioStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RadioAttribute_setRadioStyle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Rating_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRatingModifier()->construct(id, flags); + return GetNodeModifiers()->getRatingModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Rating_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RatingInterface_setRatingOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RatingOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRatingRatingOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RatingOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getRatingModifier()->setRatingOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RatingOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRatingRatingOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RatingOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getRatingModifier()->setRatingOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RatingInterface_setRatingOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RatingAttribute_setStars(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRatingModifier()->setStars(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRatingModifier()->setStars(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RatingAttribute_setStars, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RatingAttribute_setStepSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRatingModifier()->setStepSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRatingModifier()->setStepSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RatingAttribute_setStepSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RatingAttribute_setStarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_StarStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentRatingStarStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_StarStyleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRatingModifier()->setStarStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_StarStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentRatingStarStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_StarStyleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRatingModifier()->setStarStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RatingAttribute_setStarStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RatingAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnRatingChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONRATINGCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONRATINGCHANGECALLBACK))))}; - } - Opt_OnRatingChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRatingModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnRatingChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONRATINGCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONRATINGCHANGECALLBACK))))}; + } + Opt_OnRatingChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRatingModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RatingAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Rect_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRectModifier()->construct(id, flags); + return GetNodeModifiers()->getRectModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Rect_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RectInterface_setRectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_RectOptions_RoundedRectOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 optionsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_RectOptions_RoundedRectOptions optionsValueTempTmpBufOpt = {}; - optionsValueTempTmpBufOpt.selector = optionsValueTempTmpBufOptUnionSelector; - if (optionsValueTempTmpBufOptUnionSelector == 0) { - optionsValueTempTmpBufOpt.selector = 0; - optionsValueTempTmpBufOpt.value0 = ArkuiComponentRectRectOptionsSerializerImpl::read(thisDeserializer); - } else if (optionsValueTempTmpBufOptUnionSelector == 1) { - optionsValueTempTmpBufOpt.selector = 1; - optionsValueTempTmpBufOpt.value1 = ArkuiComponentRectRoundedRectOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for optionsValueTempTmpBufOpt has to be chosen through deserialisation."); - } - optionsValueTempTmpBuf.value = static_cast(optionsValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_RectOptions_RoundedRectOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 optionsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_RectOptions_RoundedRectOptions optionsValueTempTmpBufOpt = {}; + optionsValueTempTmpBufOpt.selector = optionsValueTempTmpBufOptUnionSelector; + if (optionsValueTempTmpBufOptUnionSelector == 0) { + optionsValueTempTmpBufOpt.selector = 0; + optionsValueTempTmpBufOpt.value0 = ArkuiComponentRectRectOptionsSerializerImpl::read(thisDeserializer); + } else if (optionsValueTempTmpBufOptUnionSelector == 1) { + optionsValueTempTmpBufOpt.selector = 1; + optionsValueTempTmpBufOpt.value1 = ArkuiComponentRectRoundedRectOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for optionsValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_RectOptions_RoundedRectOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getRectModifier()->setRectOptions(self, static_cast(&optionsValueTemp)); + optionsValueTempTmpBuf.value = static_cast(optionsValueTempTmpBufOpt); + } + Opt_Union_RectOptions_RoundedRectOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRectOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RectInterface_setRectOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RectAttribute_setRadiusWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRectModifier()->setRadiusWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRadiusWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RectAttribute_setRadiusWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RectAttribute_setRadiusHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRectModifier()->setRadiusHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRadiusHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RectAttribute_setRadiusHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RectAttribute_setRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_Array_RadiusItem valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_Array_RadiusItem valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_Array_RadiusItem valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_Array_RadiusItem valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_RadiusItem valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + Ark_RadiusItem valueValueTempTmpBufOptBufUTempBuf = {}; + const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufUTempBufValue0TempBuf = {}; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector; + if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 0) { + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 0; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 1) { + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 1; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 2) { + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 2; + valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue0TempBuf has to be chosen through deserialisation."); } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_RadiusItem valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - Ark_RadiusItem valueValueTempTmpBufOptBufUTempBuf = {}; - const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufUTempBufValue0TempBuf = {}; - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector; - if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 0) { - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 0; - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 1) { - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 1; - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUTempBufValue0TempBufUnionSelector == 2) { - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.selector = 2; - valueValueTempTmpBufOptBufUTempBufValue0TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue0TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptBufUTempBuf.value0 = static_cast(valueValueTempTmpBufOptBufUTempBufValue0TempBuf); - const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufUTempBufValue1TempBuf = {}; - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector; - if (valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector == 0) { - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = 0; - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector == 1) { - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = 1; - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector == 2) { - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = 2; - valueValueTempTmpBufOptBufUTempBufValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue1TempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOptBufUTempBuf.value1 = static_cast(valueValueTempTmpBufOptBufUTempBufValue1TempBuf); - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = valueValueTempTmpBufOptBufUTempBuf; + valueValueTempTmpBufOptBufUTempBuf.value0 = static_cast(valueValueTempTmpBufOptBufUTempBufValue0TempBuf); + const Ark_Int8 valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufUTempBufValue1TempBuf = {}; + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector; + if (valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector == 0) { + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = 0; + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector == 1) { + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = 1; + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUTempBufValue1TempBufUnionSelector == 2) { + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.selector = 2; + valueValueTempTmpBufOptBufUTempBufValue1TempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufUTempBufValue1TempBuf has to be chosen through deserialisation."); } - valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + valueValueTempTmpBufOptBufUTempBuf.value1 = static_cast(valueValueTempTmpBufOptBufUTempBufValue1TempBuf); + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = valueValueTempTmpBufOptBufUTempBuf; } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_Array_RadiusItem valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRectModifier()->setRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_Array_RadiusItem valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRectModifier()->setRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RectAttribute_setRadius, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Refresh_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRefreshModifier()->construct(id, flags); + return GetNodeModifiers()->getRefreshModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Refresh_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RefreshInterface_setRefreshOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RefreshOptions valueValueTemp = ArkuiComponentRefreshRefreshOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getRefreshModifier()->setRefreshOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RefreshOptions valueValueTemp = ArkuiComponentRefreshRefreshOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getRefreshModifier()->setRefreshOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshInterface_setRefreshOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RefreshAttribute_setOnStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RefreshStatus_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_REFRESHSTATUS_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_REFRESHSTATUS_VOID))))}; - } - Opt_Callback_RefreshStatus_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRefreshModifier()->setOnStateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RefreshStatus_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_REFRESHSTATUS_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_REFRESHSTATUS_VOID))))}; + } + Opt_Callback_RefreshStatus_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRefreshModifier()->setOnStateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshAttribute_setOnStateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RefreshAttribute_setOnRefreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRefreshModifier()->setOnRefreshing(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRefreshModifier()->setOnRefreshing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshAttribute_setOnRefreshing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RefreshAttribute_setRefreshOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshAttribute_setRefreshOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RefreshAttribute_setPullToRefresh(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRefreshModifier()->setPullToRefresh(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRefreshModifier()->setPullToRefresh(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshAttribute_setPullToRefresh, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RefreshAttribute_setOnOffsetChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_F64_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_F64_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_F64_VOID))))}; - } - Opt_arkui_component_common_Callback_F64_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRefreshModifier()->setOnOffsetChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_F64_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_F64_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_F64_VOID))))}; + } + Opt_arkui_component_common_Callback_F64_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRefreshModifier()->setOnOffsetChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshAttribute_setOnOffsetChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RefreshAttribute_setPullDownRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRefreshModifier()->setPullDownRatio(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRefreshModifier()->setPullDownRatio(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RefreshAttribute_setPullDownRatio, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RelativeContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRelativeContainerModifier()->construct(id, flags); + return GetNodeModifiers()->getRelativeContainerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RelativeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RelativeContainerInterface_setRelativeContainerOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRelativeContainerModifier()->setRelativeContainerOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRelativeContainerModifier()->setRelativeContainerOptions(self); } KOALA_INTEROP_DIRECT_V1(RelativeContainerInterface_setRelativeContainerOptions, Ark_NativePointer) void impl_RelativeContainerAttribute_setGuideLine(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_GuideLineStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_GuideLineStyle valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_GuideLineStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_GuideLineStyle valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = ArkuiComponentRelativeContainerGuideLineStyleSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = ArkuiComponentRelativeContainerGuideLineStyleSerializerImpl::read(thisDeserializer); } - Opt_Array_GuideLineStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRelativeContainerModifier()->setGuideLine(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_GuideLineStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRelativeContainerModifier()->setGuideLine(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_setGuideLine, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RelativeContainerAttribute_setBarrier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Union_BarrierStyle_LocalizedBarrierStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_Union_BarrierStyle_LocalizedBarrierStyle valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Union_BarrierStyle_LocalizedBarrierStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_Union_BarrierStyle_LocalizedBarrierStyle valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_BarrierStyle_LocalizedBarrierStyle valueValueTempTmpBufOptTempBuf = {}; - valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBuf.selector = 0; - valueValueTempTmpBufOptTempBuf.value0 = ArkuiComponentRelativeContainerBarrierStyleSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBuf.selector = 1; - valueValueTempTmpBufOptTempBuf.value1 = ArkuiComponentRelativeContainerLocalizedBarrierStyleSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_Union_BarrierStyle_LocalizedBarrierStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRelativeContainerModifier()->setBarrier(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_BarrierStyle_LocalizedBarrierStyle valueValueTempTmpBufOptTempBuf = {}; + valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBuf.selector = 0; + valueValueTempTmpBufOptTempBuf.value0 = ArkuiComponentRelativeContainerBarrierStyleSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBuf.selector = 1; + valueValueTempTmpBufOptTempBuf.value1 = ArkuiComponentRelativeContainerLocalizedBarrierStyleSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_Union_BarrierStyle_LocalizedBarrierStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRelativeContainerModifier()->setBarrier(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_setBarrier, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RemoteWindow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRemoteWindowModifier()->construct(id, flags); + return GetNodeModifiers()->getRemoteWindowModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RemoteWindow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RemoteWindowInterface_setRemoteWindowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_WindowAnimationTarget targetValueTemp = ArkuiComponentRemoteWindowWindowAnimationTargetSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getRemoteWindowModifier()->setRemoteWindowOptions(self, static_cast(&targetValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_WindowAnimationTarget targetValueTemp = ArkuiComponentRemoteWindowWindowAnimationTargetSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getRemoteWindowModifier()->setRemoteWindowOptions(self, static_cast(&targetValueTemp)); } KOALA_INTEROP_DIRECT_V3(RemoteWindowInterface_setRemoteWindowOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RichEditor_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRichEditorModifier()->construct(id, flags); + return GetNodeModifiers()->getRichEditorModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RichEditor_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RichEditorInterface_setRichEditorOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 optionsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_RichEditorOptions_RichEditorStyledStringOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.selector = optionsValueTempTmpBufUnionSelector; - if (optionsValueTempTmpBufUnionSelector == 0) { - optionsValueTempTmpBuf.selector = 0; - optionsValueTempTmpBuf.value0 = ArkuiComponentRichEditorRichEditorOptionsSerializerImpl::read(thisDeserializer); - } else if (optionsValueTempTmpBufUnionSelector == 1) { - optionsValueTempTmpBuf.selector = 1; - optionsValueTempTmpBuf.value1 = ArkuiComponentRichEditorRichEditorStyledStringOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for optionsValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_RichEditorOptions_RichEditorStyledStringOptions optionsValueTemp = static_cast(optionsValueTempTmpBuf);; - GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 optionsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_RichEditorOptions_RichEditorStyledStringOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.selector = optionsValueTempTmpBufUnionSelector; + if (optionsValueTempTmpBufUnionSelector == 0) { + optionsValueTempTmpBuf.selector = 0; + optionsValueTempTmpBuf.value0 = ArkuiComponentRichEditorRichEditorOptionsSerializerImpl::read(thisDeserializer); + } else if (optionsValueTempTmpBufUnionSelector == 1) { + optionsValueTempTmpBuf.selector = 1; + optionsValueTempTmpBuf.value1 = ArkuiComponentRichEditorRichEditorStyledStringOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for optionsValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_RichEditorOptions_RichEditorStyledStringOptions optionsValueTemp = static_cast(optionsValueTempTmpBuf);; + GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnReady(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnReady(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnReady, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RichEditorSelection_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORSELECTION_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORSELECTION_VOID))))}; - } - Opt_Callback_RichEditorSelection_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnSelect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RichEditorSelection_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORSELECTION_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORSELECTION_VOID))))}; + } + Opt_Callback_RichEditorSelection_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnSelect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RichEditorRange_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORRANGE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORRANGE_VOID))))}; - } - Opt_Callback_RichEditorRange_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnSelectionChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RichEditorRange_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORRANGE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORRANGE_VOID))))}; + } + Opt_Callback_RichEditorRange_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnSelectionChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnSelectionChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setAboutToIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RichEditorInsertValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORINSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORINSERTVALUE_BOOLEAN))))}; - } - Opt_Callback_RichEditorInsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setAboutToIMEInput(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RichEditorInsertValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORINSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORINSERTVALUE_BOOLEAN))))}; + } + Opt_Callback_RichEditorInsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setAboutToIMEInput(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setAboutToIMEInput, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnIMEInputComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RichEditorTextSpanResult_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORTEXTSPANRESULT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORTEXTSPANRESULT_VOID))))}; - } - Opt_Callback_RichEditorTextSpanResult_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnIMEInputComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RichEditorTextSpanResult_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORTEXTSPANRESULT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORTEXTSPANRESULT_VOID))))}; + } + Opt_Callback_RichEditorTextSpanResult_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnIMEInputComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnIMEInputComplete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnDidIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TextRange_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TEXTRANGE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TEXTRANGE_VOID))))}; - } - Opt_Callback_TextRange_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnDidIMEInput(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TextRange_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TEXTRANGE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TEXTRANGE_VOID))))}; + } + Opt_Callback_TextRange_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnDidIMEInput(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnDidIMEInput, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setAboutToDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RichEditorDeleteValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORDELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORDELETEVALUE_BOOLEAN))))}; - } - Opt_Callback_RichEditorDeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setAboutToDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RichEditorDeleteValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORDELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORDELETEVALUE_BOOLEAN))))}; + } + Opt_Callback_RichEditorDeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setAboutToDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setAboutToDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnDeleteComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnDeleteComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnDeleteComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnDeleteComplete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setCopyOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CopyOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setCopyOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CopyOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setCopyOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setCopyOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PasteEventCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PASTEEVENTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PASTEEVENTCALLBACK))))}; - } - Opt_PasteEventCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnPaste(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PasteEventCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PASTEEVENTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PASTEEVENTCALLBACK))))}; + } + Opt_PasteEventCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnPaste(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnPaste, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setEnableDataDetector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setEnableDataDetector(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setEnableDataDetector(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setEnableDataDetector, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setEnablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setEnablePreviewText, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setDataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextDataDetectorConfig valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonTextDataDetectorConfigSerializerImpl::read(thisDeserializer); - } - Opt_TextDataDetectorConfig valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setDataDetectorConfig(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextDataDetectorConfig valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonTextDataDetectorConfigSerializerImpl::read(thisDeserializer); + } + Opt_TextDataDetectorConfig valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setDataDetectorConfig(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setDataDetectorConfig, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setCaretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setCaretColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setCaretColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setCaretColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setSelectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setSelectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnEditingChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnEditingChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnEditingChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnEditingChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setEnterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EnterKeyType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EnterKeyType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setEnterKeyType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SubmitCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SUBMITCALLBACK))))}; - } - Opt_SubmitCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SubmitCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SUBMITCALLBACK))))}; + } + Opt_SubmitCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnSubmit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_RichEditorChangeValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORCHANGEVALUE_BOOLEAN))))}; - } - Opt_Callback_RichEditorChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_RichEditorChangeValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RICHEDITORCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RICHEDITORCHANGEVALUE_BOOLEAN))))}; + } + Opt_Callback_RichEditorChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnWillChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnDidChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnDidChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONDIDCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONDIDCHANGECALLBACK))))}; - } - Opt_OnDidChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnDidChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnDidChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONDIDCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONDIDCHANGECALLBACK))))}; + } + Opt_OnDidChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnDidChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnDidChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_CutEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CUTEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CUTEVENT_VOID))))}; - } - Opt_Callback_CutEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnCut(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_CutEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CUTEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CUTEVENT_VOID))))}; + } + Opt_Callback_CutEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnCut(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnCut, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setOnCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_CopyEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_COPYEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_COPYEVENT_VOID))))}; - } - Opt_Callback_CopyEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setOnCopy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_CopyEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_COPYEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_COPYEVENT_VOID))))}; + } + Opt_Callback_CopyEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setOnCopy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setOnCopy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setEditMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditMenuOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditMenuOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setEditMenuOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setEnableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setEnableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setBarState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setBarState(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setBarState(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setBarState, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setMaxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setMaxLength(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setMaxLength(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setMaxLength, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setMaxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setMaxLines(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setMaxLines(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setMaxLines, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setKeyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardAppearance valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setKeyboardAppearance, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setStopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setStopBackPress, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setBindSelectionMenu(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto spanTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorSpanType spanTypeValueTempTmpBuf = {}; - spanTypeValueTempTmpBuf.tag = spanTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((spanTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - spanTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_RichEditorSpanType spanTypeValueTemp = spanTypeValueTempTmpBuf;; - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; - const auto responseTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResponseType_RichEditorResponseType responseTypeValueTempTmpBuf = {}; - responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((responseTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 responseTypeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResponseType_RichEditorResponseType responseTypeValueTempTmpBufOpt = {}; - responseTypeValueTempTmpBufOpt.selector = responseTypeValueTempTmpBufOptUnionSelector; - if (responseTypeValueTempTmpBufOptUnionSelector == 0) { - responseTypeValueTempTmpBufOpt.selector = 0; - responseTypeValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (responseTypeValueTempTmpBufOptUnionSelector == 1) { - responseTypeValueTempTmpBufOpt.selector = 1; - responseTypeValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for responseTypeValueTempTmpBufOpt has to be chosen through deserialisation."); - } - responseTypeValueTempTmpBuf.value = static_cast(responseTypeValueTempTmpBufOpt); - } - Opt_Union_ResponseType_RichEditorResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionMenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorSelectionMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setBindSelectionMenu(self, static_cast(&spanTypeValueTemp), static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto spanTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorSpanType spanTypeValueTempTmpBuf = {}; + spanTypeValueTempTmpBuf.tag = spanTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((spanTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + spanTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_RichEditorSpanType spanTypeValueTemp = spanTypeValueTempTmpBuf;; + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto responseTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResponseType_RichEditorResponseType responseTypeValueTempTmpBuf = {}; + responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((responseTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 responseTypeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResponseType_RichEditorResponseType responseTypeValueTempTmpBufOpt = {}; + responseTypeValueTempTmpBufOpt.selector = responseTypeValueTempTmpBufOptUnionSelector; + if (responseTypeValueTempTmpBufOptUnionSelector == 0) { + responseTypeValueTempTmpBufOpt.selector = 0; + responseTypeValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (responseTypeValueTempTmpBufOptUnionSelector == 1) { + responseTypeValueTempTmpBufOpt.selector = 1; + responseTypeValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for responseTypeValueTempTmpBufOpt has to be chosen through deserialisation."); + } + responseTypeValueTempTmpBuf.value = static_cast(responseTypeValueTempTmpBufOpt); + } + Opt_Union_ResponseType_RichEditorResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionMenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorSelectionMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setBindSelectionMenu(self, static_cast(&spanTypeValueTemp), static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setBindSelectionMenu, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setCustomKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); - } - Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); + } + Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setCustomKeyboard, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorAttribute_setPlaceholder(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PlaceholderStyle styleValueTempTmpBuf = {}; - styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styleValueTempTmpBuf.value = ArkuiComponentRichEditorPlaceholderStyleSerializerImpl::read(thisDeserializer); - } - Opt_PlaceholderStyle styleValueTemp = styleValueTempTmpBuf;; - GetNodeModifiers()->getRichEditorModifier()->setPlaceholder(self, static_cast(&valueValueTemp), static_cast(&styleValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PlaceholderStyle styleValueTempTmpBuf = {}; + styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styleValueTempTmpBuf.value = ArkuiComponentRichEditorPlaceholderStyleSerializerImpl::read(thisDeserializer); + } + Opt_PlaceholderStyle styleValueTemp = styleValueTempTmpBuf;; + GetNodeModifiers()->getRichEditorModifier()->setPlaceholder(self, static_cast(&valueValueTemp), static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_setPlaceholder, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RichText_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRichTextModifier()->construct(id, flags); + return GetNodeModifiers()->getRichTextModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RichText_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RichTextInterface_setRichTextOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; - if (contentValueTempTmpBufUnionSelector == 0) { - contentValueTempTmpBuf.selector = 0; - contentValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufUnionSelector == 1) { - contentValueTempTmpBuf.selector = 1; - contentValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_Resource contentValueTemp = static_cast(contentValueTempTmpBuf);; - GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, static_cast(&contentValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; + if (contentValueTempTmpBufUnionSelector == 0) { + contentValueTempTmpBuf.selector = 0; + contentValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufUnionSelector == 1) { + contentValueTempTmpBuf.selector = 1; + contentValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_Resource contentValueTemp = static_cast(contentValueTempTmpBuf);; + GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, static_cast(&contentValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichTextInterface_setRichTextOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichTextAttribute_setOnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichTextModifier()->setOnStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichTextModifier()->setOnStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichTextAttribute_setOnStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichTextAttribute_setOnComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRichTextModifier()->setOnComplete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRichTextModifier()->setOnComplete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichTextAttribute_setOnComplete, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RootScene_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRootSceneModifier()->construct(id, flags); + return GetNodeModifiers()->getRootSceneModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RootScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RootSceneInterface_setRootSceneOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RootSceneSession sessionValueTemp = ArkuiComponentRootSceneRootSceneSessionSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getRootSceneModifier()->setRootSceneOptions(self, static_cast(&sessionValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RootSceneSession sessionValueTemp = ArkuiComponentRootSceneRootSceneSessionSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getRootSceneModifier()->setRootSceneOptions(self, static_cast(&sessionValueTemp)); } KOALA_INTEROP_DIRECT_V3(RootSceneInterface_setRootSceneOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Row_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRowModifier()->construct(id, flags); + return GetNodeModifiers()->getRowModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Row_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RowInterface_setRowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_RowOptions_RowOptionsV2 optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 optionsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_RowOptions_RowOptionsV2 optionsValueTempTmpBufOpt = {}; - optionsValueTempTmpBufOpt.selector = optionsValueTempTmpBufOptUnionSelector; - if (optionsValueTempTmpBufOptUnionSelector == 0) { - optionsValueTempTmpBufOpt.selector = 0; - optionsValueTempTmpBufOpt.value0 = ArkuiComponentRowRowOptionsSerializerImpl::read(thisDeserializer); - } else if (optionsValueTempTmpBufOptUnionSelector == 1) { - optionsValueTempTmpBufOpt.selector = 1; - optionsValueTempTmpBufOpt.value1 = ArkuiComponentRowRowOptionsV2SerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for optionsValueTempTmpBufOpt has to be chosen through deserialisation."); - } - optionsValueTempTmpBuf.value = static_cast(optionsValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_RowOptions_RowOptionsV2 optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 optionsValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_RowOptions_RowOptionsV2 optionsValueTempTmpBufOpt = {}; + optionsValueTempTmpBufOpt.selector = optionsValueTempTmpBufOptUnionSelector; + if (optionsValueTempTmpBufOptUnionSelector == 0) { + optionsValueTempTmpBufOpt.selector = 0; + optionsValueTempTmpBufOpt.value0 = ArkuiComponentRowRowOptionsSerializerImpl::read(thisDeserializer); + } else if (optionsValueTempTmpBufOptUnionSelector == 1) { + optionsValueTempTmpBufOpt.selector = 1; + optionsValueTempTmpBufOpt.value1 = ArkuiComponentRowRowOptionsV2SerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for optionsValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_RowOptions_RowOptionsV2 optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getRowModifier()->setRowOptions(self, static_cast(&optionsValueTemp)); + optionsValueTempTmpBuf.value = static_cast(optionsValueTempTmpBufOpt); + } + Opt_Union_RowOptions_RowOptionsV2 optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getRowModifier()->setRowOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RowAttribute_setAlignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VerticalAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_VerticalAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRowModifier()->setAlignItems(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VerticalAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_VerticalAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRowModifier()->setAlignItems(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowAttribute_setAlignItems, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RowAttribute_setJustifyContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FlexAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FlexAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRowModifier()->setJustifyContent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FlexAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FlexAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRowModifier()->setJustifyContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowAttribute_setJustifyContent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RowAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRowModifier()->setPointLight(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PointLightStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); + } + Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRowModifier()->setPointLight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RowAttribute_setReverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRowModifier()->setReverse(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRowModifier()->setReverse(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowAttribute_setReverse, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RowSplit_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRowSplitModifier()->construct(id, flags); + return GetNodeModifiers()->getRowSplitModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(RowSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_RowSplitInterface_setRowSplitOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRowSplitModifier()->setRowSplitOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRowSplitModifier()->setRowSplitOptions(self); } KOALA_INTEROP_DIRECT_V1(RowSplitInterface_setRowSplitOptions, Ark_NativePointer) void impl_RowSplitAttribute_setResizeable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getRowSplitModifier()->setResizeable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getRowSplitModifier()->setResizeable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RowSplitAttribute_setResizeable, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SaveButton_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSaveButtonModifier()->construct(id, flags); + return GetNodeModifiers()->getSaveButtonModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(SaveButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SaveButtonInterface_setSaveButtonOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions(self); } KOALA_INTEROP_DIRECT_V1(SaveButtonInterface_setSaveButtonOptions, Ark_NativePointer) void impl_SaveButtonAttribute_setOnClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SaveButtonCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SAVEBUTTONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SAVEBUTTONCALLBACK))))}; - } - Opt_SaveButtonCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSaveButtonModifier()->setOnClick(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SaveButtonCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SAVEBUTTONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SAVEBUTTONCALLBACK))))}; + } + Opt_SaveButtonCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSaveButtonModifier()->setOnClick(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_setOnClick, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SaveButtonAttribute_setSetIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } - Opt_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSaveButtonModifier()->setSetIcon(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } + Opt_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSaveButtonModifier()->setSetIcon(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_setSetIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SaveButtonAttribute_setSetText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSaveButtonModifier()->setSetText(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSaveButtonModifier()->setSetText(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_setSetText, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SaveButtonAttribute_setIconSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_SizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_SizeOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_SizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_SizeOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_SizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSaveButtonModifier()->setIconSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Dimension_SizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSaveButtonModifier()->setIconSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_setIconSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SaveButtonAttribute_setIconBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_BorderRadiuses valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_BorderRadiuses valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_BorderRadiuses valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_BorderRadiuses valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_BorderRadiuses valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSaveButtonModifier()->setIconBorderRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Dimension_BorderRadiuses valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSaveButtonModifier()->setIconBorderRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_setIconBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SaveButtonAttribute_setStateEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSaveButtonModifier()->setStateEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSaveButtonModifier()->setStateEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_setStateEffect, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Screen_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScreenModifier()->construct(id, flags); + return GetNodeModifiers()->getScreenModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Screen_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ScreenInterface_setScreenOptions(Ark_NativePointer thisPtr, KLong screenId) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScreenModifier()->setScreenOptions(self, screenId); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScreenModifier()->setScreenOptions(self, screenId); } KOALA_INTEROP_DIRECT_V2(ScreenInterface_setScreenOptions, Ark_NativePointer, KLong) Ark_NativePointer impl_Scroll_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScrollModifier()->construct(id, flags); + return GetNodeModifiers()->getScrollModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Scroll_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ScrollInterface_setScrollOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scrollerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Scroller scrollerValueTempTmpBuf = {}; - scrollerValueTempTmpBuf.tag = scrollerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scrollerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scrollerValueTempTmpBuf.value = static_cast(ArkuiComponentScrollScrollerSerializerImpl::read(thisDeserializer)); - } - Opt_Scroller scrollerValueTemp = scrollerValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setScrollOptions(self, static_cast(&scrollerValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scrollerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Scroller scrollerValueTempTmpBuf = {}; + scrollerValueTempTmpBuf.tag = scrollerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollerValueTempTmpBuf.value = static_cast(ArkuiComponentScrollScrollerSerializerImpl::read(thisDeserializer)); + } + Opt_Scroller scrollerValueTemp = scrollerValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setScrollOptions(self, static_cast(&scrollerValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollInterface_setScrollOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollDirection valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ScrollDirection valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setScrollable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollDirection valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ScrollDirection valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setScrollable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setScrollable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setOnWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollOnWillScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SCROLLONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SCROLLONWILLSCROLLCALLBACK))))}; - } - Opt_ScrollOnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollOnWillScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SCROLLONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SCROLLONWILLSCROLLCALLBACK))))}; + } + Opt_ScrollOnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setOnWillScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setOnDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollOnScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SCROLLONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SCROLLONSCROLLCALLBACK))))}; - } - Opt_ScrollOnScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollOnScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SCROLLONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SCROLLONSCROLLCALLBACK))))}; + } + Opt_ScrollOnScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setOnDidScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setOnScrollEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollEdgeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLEDGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLEDGECALLBACK))))}; - } - Opt_OnScrollEdgeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setOnScrollEdge(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollEdgeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLEDGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLEDGECALLBACK))))}; + } + Opt_OnScrollEdgeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setOnScrollEdge(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setOnScrollEdge, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setOnScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setOnScrollStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setOnScrollStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setOnScrollStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setOnScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setOnScrollStop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setOnScrollStop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setOnScrollStop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setScrollBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setScrollBar(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setScrollBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setScrollBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setScrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_arkui_component_enums_Color_I32_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_arkui_component_enums_Color_I32_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_arkui_component_enums_Color_I32_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setScrollBarColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setScrollBarColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setScrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setScrollBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setScrollBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setOnScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; - } - Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; + } + Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setOnScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NestedScrollOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonNestedScrollOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NestedScrollOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonNestedScrollOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NestedScrollOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setNestedScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setEnableScrollInteraction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setEnableScrollInteraction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setEnableScrollInteraction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setFriction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setFriction(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setFriction(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setFriction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setScrollSnap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollSnapOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentScrollScrollSnapOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ScrollSnapOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setScrollSnap(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollSnapOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentScrollScrollSnapOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ScrollSnapOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setScrollSnap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setScrollSnap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setEnablePaging(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setEnablePaging(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setEnablePaging(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setEnablePaging, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setInitialOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OffsetOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentScrollOffsetOptionsSerializerImpl::read(thisDeserializer); - } - Opt_OffsetOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setInitialOffset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OffsetOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentScrollOffsetOptionsSerializerImpl::read(thisDeserializer); + } + Opt_OffsetOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setInitialOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setInitialOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollAttribute_setEdgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto edgeEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffect edgeEffectValueTempTmpBuf = {}; - edgeEffectValueTempTmpBuf.tag = edgeEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((edgeEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - edgeEffectValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EdgeEffect edgeEffectValueTemp = edgeEffectValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonEdgeEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getScrollModifier()->setEdgeEffect(self, static_cast(&edgeEffectValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto edgeEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect edgeEffectValueTempTmpBuf = {}; + edgeEffectValueTempTmpBuf.tag = edgeEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((edgeEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + edgeEffectValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect edgeEffectValueTemp = edgeEffectValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffectOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonEdgeEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EdgeEffectOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getScrollModifier()->setEdgeEffect(self, static_cast(&edgeEffectValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollAttribute_setEdgeEffect, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ScrollBar_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScrollBarModifier()->construct(id, flags); + return GetNodeModifiers()->getScrollBarModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ScrollBar_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ScrollBarInterface_setScrollBarOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ScrollBarOptions valueValueTemp = ArkuiComponentScrollBarScrollBarOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getScrollBarModifier()->setScrollBarOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ScrollBarOptions valueValueTemp = ArkuiComponentScrollBarScrollBarOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getScrollBarModifier()->setScrollBarOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollBarInterface_setScrollBarOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ScrollBarAttribute_setEnableNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getScrollBarModifier()->setEnableNestedScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getScrollBarModifier()->setEnableNestedScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScrollBarAttribute_setEnableNestedScroll, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Search_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSearchModifier()->construct(id, flags); + return GetNodeModifiers()->getSearchModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Search_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SearchInterface_setSearchOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SearchOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentSearchSearchOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SearchOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setSearchOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SearchOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentSearchSearchOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SearchOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setSearchOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchInterface_setSearchOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setSearchIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_IconOptions_SymbolGlyphModifier valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_IconOptions_SymbolGlyphModifier valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentSearchIconOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_IconOptions_SymbolGlyphModifier valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_IconOptions_SymbolGlyphModifier valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentSearchIconOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_IconOptions_SymbolGlyphModifier valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setSearchIcon(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_IconOptions_SymbolGlyphModifier valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setSearchIcon(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setSearchIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setCancelButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentSearchCancelButtonOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentSearchCancelButtonSymbolOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentSearchCancelButtonOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentSearchCancelButtonSymbolOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setCancelButton(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setCancelButton(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setCancelButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setTextIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setTextIndent(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setTextIndent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setTextIndent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnEditChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnEditChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnEditChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setSelectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setSelectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setCaretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CaretStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonCaretStyleSerializerImpl::read(thisDeserializer); - } - Opt_CaretStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setCaretStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CaretStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonCaretStyleSerializerImpl::read(thisDeserializer); + } + Opt_CaretStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setCaretStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setCaretStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setPlaceholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setPlaceholderColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setPlaceholderColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setPlaceholderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setPlaceholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setPlaceholderFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setPlaceholderFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setPlaceholderFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setTextFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setTextFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setTextFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setTextFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setEnterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EnterKeyType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EnterKeyType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setEnterKeyType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SearchSubmitCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SEARCHSUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SEARCHSUBMITCALLBACK))))}; - } - Opt_SearchSubmitCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SearchSubmitCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SEARCHSUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SEARCHSUBMITCALLBACK))))}; + } + Opt_SearchSubmitCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnSubmit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditableTextOnChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_EDITABLETEXTONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_EDITABLETEXTONCHANGECALLBACK))))}; - } - Opt_EditableTextOnChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditableTextOnChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_EDITABLETEXTONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_EDITABLETEXTONCHANGECALLBACK))))}; + } + Opt_EditableTextOnChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTextSelectionChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTEXTSELECTIONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTEXTSELECTIONCHANGECALLBACK))))}; - } - Opt_OnTextSelectionChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTextSelectionChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTEXTSELECTIONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTEXTSELECTIONCHANGECALLBACK))))}; + } + Opt_OnTextSelectionChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnTextSelectionChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnContentScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCONTENTSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCONTENTSCROLLCALLBACK))))}; - } - Opt_OnContentScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnContentScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnContentScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCONTENTSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCONTENTSCROLLCALLBACK))))}; + } + Opt_OnContentScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnContentScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnContentScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; - } - Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnCopy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; + } + Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnCopy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnCopy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; - } - Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnCut(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; + } + Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnCut(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnCut, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnPasteCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONPASTECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONPASTECALLBACK))))}; - } - Opt_OnPasteCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnPaste(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnPasteCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONPASTECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONPASTECALLBACK))))}; + } + Opt_OnPasteCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnPaste(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnPaste, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setCopyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CopyOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setCopyOption(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CopyOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setCopyOption(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setCopyOption, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setMaxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setMaxLength(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setMaxLength(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setMaxLength, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setTextAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setTextAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setTextAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setTextAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setEnableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setEnableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setSelectionMenuHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setSelectionMenuHidden(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setSelectionMenuHidden(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setSelectionMenuHidden, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setMinFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setMinFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setMaxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setMaxFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setDecoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextDecorationOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonTextDecorationOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextDecorationOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setDecoration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextDecorationOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonTextDecorationOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextDecorationOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setDecoration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setDecoration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setLineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setLineHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setLineHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setLineHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SearchType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SearchType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SearchType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SearchType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setFontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setFontFeature(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setFontFeature(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setFontFeature, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_InsertValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_BOOLEAN))))}; - } - Opt_Callback_InsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnWillInsert(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_InsertValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_BOOLEAN))))}; + } + Opt_Callback_InsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnWillInsert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnWillInsert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_InsertValue_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_VOID))))}; - } - Opt_Callback_InsertValue_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnDidInsert(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_InsertValue_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_VOID))))}; + } + Opt_Callback_InsertValue_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnDidInsert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnDidInsert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DeleteValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_BOOLEAN))))}; - } - Opt_Callback_DeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnWillDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DeleteValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_BOOLEAN))))}; + } + Opt_Callback_DeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnWillDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnWillDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DeleteValue_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_VOID))))}; - } - Opt_Callback_DeleteValue_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnDidDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DeleteValue_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_VOID))))}; + } + Opt_Callback_DeleteValue_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnDidDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnDidDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setEditMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditMenuOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditMenuOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setEditMenuOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setEnablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setEnablePreviewText, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setAutoCapitalizationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AutoCapitalizationMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AutoCapitalizationMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setAutoCapitalizationMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AutoCapitalizationMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AutoCapitalizationMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setAutoCapitalizationMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setAutoCapitalizationMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setHalfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setHalfLeading, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setStopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setStopBackPress, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setOnWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_EditableTextChangeValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN))))}; - } - Opt_Callback_EditableTextChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_EditableTextChangeValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN))))}; + } + Opt_Callback_EditableTextChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setOnWillChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setKeyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardAppearance valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setKeyboardAppearance, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setSearchButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - const auto optionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SearchButtonOptions optionValueTempTmpBuf = {}; - optionValueTempTmpBuf.tag = optionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionValueTempTmpBuf.value = ArkuiComponentSearchSearchButtonOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SearchButtonOptions optionValueTemp = optionValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setSearchButton(self, static_cast(&valueValueTemp), static_cast(&optionValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + const auto optionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SearchButtonOptions optionValueTempTmpBuf = {}; + optionValueTempTmpBuf.tag = optionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionValueTempTmpBuf.value = ArkuiComponentSearchSearchButtonOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SearchButtonOptions optionValueTemp = optionValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setSearchButton(self, static_cast(&valueValueTemp), static_cast(&optionValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setSearchButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setInputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - const auto errorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void errorValueTempTmpBuf = {}; - errorValueTempTmpBuf.tag = errorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((errorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - errorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; - } - Opt_Callback_String_Void errorValueTemp = errorValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setInputFilter(self, static_cast(&valueValueTemp), static_cast(&errorValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + const auto errorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void errorValueTempTmpBuf = {}; + errorValueTempTmpBuf.tag = errorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((errorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + errorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; + } + Opt_Callback_String_Void errorValueTemp = errorValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setInputFilter(self, static_cast(&valueValueTemp), static_cast(&errorValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setInputFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SearchAttribute_setCustomKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); - } - Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getSearchModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); + } + Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getSearchModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(SearchAttribute_setCustomKeyboard, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SecurityComponentMethod_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSecurityComponentMethodModifier()->construct(id, flags); + return GetNodeModifiers()->getSecurityComponentMethodModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(SecurityComponentMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SecurityComponentMethod_setIconSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setIconSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setLayoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SecurityComponentLayoutDirection valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SecurityComponentLayoutDirection valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SecurityComponentLayoutDirection valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SecurityComponentLayoutDirection valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setLayoutDirection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Position valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } - Opt_Position valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Position valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } + Opt_Position valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setMarkAnchor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Position valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } - Opt_Position valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMarkAnchor(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Position valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } + Opt_Position valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMarkAnchor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setMarkAnchor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Position_Edges_LocalizedEdges valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Position_Edges_LocalizedEdges valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgesSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Position_Edges_LocalizedEdges valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Position_Edges_LocalizedEdges valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgesSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Position_Edges_LocalizedEdges valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setOffset(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Position_Edges_LocalizedEdges valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setIconColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setIconColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setBorderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BorderStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BorderStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BorderStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BorderStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setBorderStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setBorderWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setBorderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto radiusValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_BorderRadiuses radiusValueTempTmpBuf = {}; - radiusValueTempTmpBuf.tag = radiusValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((radiusValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 radiusValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_BorderRadiuses radiusValueTempTmpBufOpt = {}; - radiusValueTempTmpBufOpt.selector = radiusValueTempTmpBufOptUnionSelector; - if (radiusValueTempTmpBufOptUnionSelector == 0) { - radiusValueTempTmpBufOpt.selector = 0; - const Ark_Int8 radiusValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension radiusValueTempTmpBufOptBufU = {}; - radiusValueTempTmpBufOptBufU.selector = radiusValueTempTmpBufOptBufUUnionSelector; - if (radiusValueTempTmpBufOptBufUUnionSelector == 0) { - radiusValueTempTmpBufOptBufU.selector = 0; - radiusValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (radiusValueTempTmpBufOptBufUUnionSelector == 1) { - radiusValueTempTmpBufOptBufU.selector = 1; - radiusValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (radiusValueTempTmpBufOptBufUUnionSelector == 2) { - radiusValueTempTmpBufOptBufU.selector = 2; - radiusValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for radiusValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - radiusValueTempTmpBufOpt.value0 = static_cast(radiusValueTempTmpBufOptBufU); - } else if (radiusValueTempTmpBufOptUnionSelector == 1) { - radiusValueTempTmpBufOpt.selector = 1; - radiusValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for radiusValueTempTmpBufOpt has to be chosen through deserialisation."); - } - radiusValueTempTmpBuf.value = static_cast(radiusValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto radiusValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_BorderRadiuses radiusValueTempTmpBuf = {}; + radiusValueTempTmpBuf.tag = radiusValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((radiusValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 radiusValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_BorderRadiuses radiusValueTempTmpBufOpt = {}; + radiusValueTempTmpBufOpt.selector = radiusValueTempTmpBufOptUnionSelector; + if (radiusValueTempTmpBufOptUnionSelector == 0) { + radiusValueTempTmpBufOpt.selector = 0; + const Ark_Int8 radiusValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension radiusValueTempTmpBufOptBufU = {}; + radiusValueTempTmpBufOptBufU.selector = radiusValueTempTmpBufOptBufUUnionSelector; + if (radiusValueTempTmpBufOptBufUUnionSelector == 0) { + radiusValueTempTmpBufOptBufU.selector = 0; + radiusValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (radiusValueTempTmpBufOptBufUUnionSelector == 1) { + radiusValueTempTmpBufOptBufU.selector = 1; + radiusValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (radiusValueTempTmpBufOptBufUUnionSelector == 2) { + radiusValueTempTmpBufOptBufU.selector = 2; + radiusValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for radiusValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + radiusValueTempTmpBufOpt.value0 = static_cast(radiusValueTempTmpBufOptBufU); + } else if (radiusValueTempTmpBufOptUnionSelector == 1) { + radiusValueTempTmpBufOpt.selector = 1; + radiusValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for radiusValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_BorderRadiuses radiusValueTemp = radiusValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius(self, static_cast(&radiusValueTemp)); + radiusValueTempTmpBuf.value = static_cast(radiusValueTempTmpBufOpt); + } + Opt_Union_Dimension_BorderRadiuses radiusValueTemp = radiusValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius(self, static_cast(&radiusValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setPadding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Padding_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Padding_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Padding_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setPadding(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Padding_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setPadding(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setPadding, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setTextIconSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setTextIconSpace(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setTextIconSpace(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setTextIconSpace, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setKey, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setConstraintSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setConstraintSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setConstraintSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto alignTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Alignment alignTypeValueTempTmpBuf = {}; - alignTypeValueTempTmpBuf.tag = alignTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((alignTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - alignTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Alignment alignTypeValueTemp = alignTypeValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlign(self, static_cast(&alignTypeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto alignTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Alignment alignTypeValueTempTmpBuf = {}; + alignTypeValueTempTmpBuf.tag = alignTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((alignTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + alignTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Alignment alignTypeValueTemp = alignTypeValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlign(self, static_cast(&alignTypeValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setAlignRules(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto alignRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions alignRuleValueTempTmpBuf = {}; - alignRuleValueTempTmpBuf.tag = alignRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((alignRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 alignRuleValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_AlignRuleOption_LocalizedAlignRuleOptions alignRuleValueTempTmpBufOpt = {}; - alignRuleValueTempTmpBufOpt.selector = alignRuleValueTempTmpBufOptUnionSelector; - if (alignRuleValueTempTmpBufOptUnionSelector == 0) { - alignRuleValueTempTmpBufOpt.selector = 0; - alignRuleValueTempTmpBufOpt.value0 = ArkuiComponentCommonAlignRuleOptionSerializerImpl::read(thisDeserializer); - } else if (alignRuleValueTempTmpBufOptUnionSelector == 1) { - alignRuleValueTempTmpBufOpt.selector = 1; - alignRuleValueTempTmpBufOpt.value1 = ArkuiComponentCommonLocalizedAlignRuleOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for alignRuleValueTempTmpBufOpt has to be chosen through deserialisation."); - } - alignRuleValueTempTmpBuf.value = static_cast(alignRuleValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto alignRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions alignRuleValueTempTmpBuf = {}; + alignRuleValueTempTmpBuf.tag = alignRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((alignRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 alignRuleValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_AlignRuleOption_LocalizedAlignRuleOptions alignRuleValueTempTmpBufOpt = {}; + alignRuleValueTempTmpBufOpt.selector = alignRuleValueTempTmpBufOptUnionSelector; + if (alignRuleValueTempTmpBufOptUnionSelector == 0) { + alignRuleValueTempTmpBufOpt.selector = 0; + alignRuleValueTempTmpBufOpt.value0 = ArkuiComponentCommonAlignRuleOptionSerializerImpl::read(thisDeserializer); + } else if (alignRuleValueTempTmpBufOptUnionSelector == 1) { + alignRuleValueTempTmpBufOpt.selector = 1; + alignRuleValueTempTmpBufOpt.value1 = ArkuiComponentCommonLocalizedAlignRuleOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for alignRuleValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions alignRuleValueTemp = alignRuleValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlignRules(self, static_cast(&alignRuleValueTemp)); + alignRuleValueTempTmpBuf.value = static_cast(alignRuleValueTempTmpBufOpt); + } + Opt_Union_AlignRuleOption_LocalizedAlignRuleOptions alignRuleValueTemp = alignRuleValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlignRules(self, static_cast(&alignRuleValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setAlignRules, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto descriptionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String descriptionValueTempTmpBuf = {}; - descriptionValueTempTmpBuf.tag = descriptionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((descriptionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - descriptionValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String descriptionValueTemp = descriptionValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setId(self, static_cast(&descriptionValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto descriptionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String descriptionValueTempTmpBuf = {}; + descriptionValueTempTmpBuf.tag = descriptionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((descriptionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + descriptionValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String descriptionValueTemp = descriptionValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setId(self, static_cast(&descriptionValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setChainMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Axis directionValueTempTmpBuf = {}; - directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Axis directionValueTemp = directionValueTempTmpBuf;; - const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ChainStyle styleValueTempTmpBuf = {}; - styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ChainStyle styleValueTemp = styleValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setChainMode(self, static_cast(&directionValueTemp), static_cast(&styleValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Axis directionValueTempTmpBuf = {}; + directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Axis directionValueTemp = directionValueTempTmpBuf;; + const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ChainStyle styleValueTempTmpBuf = {}; + styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ChainStyle styleValueTemp = styleValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setChainMode(self, static_cast(&directionValueTemp), static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setChainMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scaleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource scaleValueTempTmpBuf = {}; - scaleValueTempTmpBuf.tag = scaleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scaleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 scaleValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource scaleValueTempTmpBufOpt = {}; - scaleValueTempTmpBufOpt.selector = scaleValueTempTmpBufOptUnionSelector; - if (scaleValueTempTmpBufOptUnionSelector == 0) { - scaleValueTempTmpBufOpt.selector = 0; - scaleValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (scaleValueTempTmpBufOptUnionSelector == 1) { - scaleValueTempTmpBufOpt.selector = 1; - scaleValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for scaleValueTempTmpBufOpt has to be chosen through deserialisation."); - } - scaleValueTempTmpBuf.value = static_cast(scaleValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scaleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource scaleValueTempTmpBuf = {}; + scaleValueTempTmpBuf.tag = scaleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scaleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 scaleValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource scaleValueTempTmpBufOpt = {}; + scaleValueTempTmpBufOpt.selector = scaleValueTempTmpBufOptUnionSelector; + if (scaleValueTempTmpBufOptUnionSelector == 0) { + scaleValueTempTmpBufOpt.selector = 0; + scaleValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (scaleValueTempTmpBufOptUnionSelector == 1) { + scaleValueTempTmpBufOpt.selector = 1; + scaleValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for scaleValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource scaleValueTemp = scaleValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontScale(self, static_cast(&scaleValueTemp)); + scaleValueTempTmpBuf.value = static_cast(scaleValueTempTmpBufOpt); + } + Opt_Union_F64_Resource scaleValueTemp = scaleValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontScale(self, static_cast(&scaleValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scaleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource scaleValueTempTmpBuf = {}; - scaleValueTempTmpBuf.tag = scaleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scaleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 scaleValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource scaleValueTempTmpBufOpt = {}; - scaleValueTempTmpBufOpt.selector = scaleValueTempTmpBufOptUnionSelector; - if (scaleValueTempTmpBufOptUnionSelector == 0) { - scaleValueTempTmpBufOpt.selector = 0; - scaleValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (scaleValueTempTmpBufOptUnionSelector == 1) { - scaleValueTempTmpBufOpt.selector = 1; - scaleValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for scaleValueTempTmpBufOpt has to be chosen through deserialisation."); - } - scaleValueTempTmpBuf.value = static_cast(scaleValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scaleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource scaleValueTempTmpBuf = {}; + scaleValueTempTmpBuf.tag = scaleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scaleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 scaleValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource scaleValueTempTmpBufOpt = {}; + scaleValueTempTmpBufOpt.selector = scaleValueTempTmpBufOptUnionSelector; + if (scaleValueTempTmpBufOptUnionSelector == 0) { + scaleValueTempTmpBufOpt.selector = 0; + scaleValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (scaleValueTempTmpBufOptUnionSelector == 1) { + scaleValueTempTmpBufOpt.selector = 1; + scaleValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for scaleValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource scaleValueTemp = scaleValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontScale(self, static_cast(&scaleValueTemp)); + scaleValueTempTmpBuf.value = static_cast(scaleValueTempTmpBufOpt); + } + Opt_Union_F64_Resource scaleValueTemp = scaleValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontScale(self, static_cast(&scaleValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setMaxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto lineValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_Resource lineValueTempTmpBuf = {}; - lineValueTempTmpBuf.tag = lineValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((lineValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 lineValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_Resource lineValueTempTmpBufOpt = {}; - lineValueTempTmpBufOpt.selector = lineValueTempTmpBufOptUnionSelector; - if (lineValueTempTmpBufOptUnionSelector == 0) { - lineValueTempTmpBufOpt.selector = 0; - lineValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (lineValueTempTmpBufOptUnionSelector == 1) { - lineValueTempTmpBufOpt.selector = 1; - lineValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for lineValueTempTmpBufOpt has to be chosen through deserialisation."); - } - lineValueTempTmpBuf.value = static_cast(lineValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto lineValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_Resource lineValueTempTmpBuf = {}; + lineValueTempTmpBuf.tag = lineValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((lineValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 lineValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_Resource lineValueTempTmpBufOpt = {}; + lineValueTempTmpBufOpt.selector = lineValueTempTmpBufOptUnionSelector; + if (lineValueTempTmpBufOptUnionSelector == 0) { + lineValueTempTmpBufOpt.selector = 0; + lineValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (lineValueTempTmpBufOptUnionSelector == 1) { + lineValueTempTmpBufOpt.selector = 1; + lineValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for lineValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_Resource lineValueTemp = lineValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxLines(self, static_cast(&lineValueTemp)); + lineValueTempTmpBuf.value = static_cast(lineValueTempTmpBufOpt); + } + Opt_Union_I32_Resource lineValueTemp = lineValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxLines(self, static_cast(&lineValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setMaxLines, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setMinFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto minSizeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource minSizeValueTempTmpBuf = {}; - minSizeValueTempTmpBuf.tag = minSizeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((minSizeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 minSizeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource minSizeValueTempTmpBufOpt = {}; - minSizeValueTempTmpBufOpt.selector = minSizeValueTempTmpBufOptUnionSelector; - if (minSizeValueTempTmpBufOptUnionSelector == 0) { - minSizeValueTempTmpBufOpt.selector = 0; - minSizeValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (minSizeValueTempTmpBufOptUnionSelector == 1) { - minSizeValueTempTmpBufOpt.selector = 1; - minSizeValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (minSizeValueTempTmpBufOptUnionSelector == 2) { - minSizeValueTempTmpBufOpt.selector = 2; - minSizeValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for minSizeValueTempTmpBufOpt has to be chosen through deserialisation."); - } - minSizeValueTempTmpBuf.value = static_cast(minSizeValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto minSizeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource minSizeValueTempTmpBuf = {}; + minSizeValueTempTmpBuf.tag = minSizeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((minSizeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 minSizeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource minSizeValueTempTmpBufOpt = {}; + minSizeValueTempTmpBufOpt.selector = minSizeValueTempTmpBufOptUnionSelector; + if (minSizeValueTempTmpBufOptUnionSelector == 0) { + minSizeValueTempTmpBufOpt.selector = 0; + minSizeValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (minSizeValueTempTmpBufOptUnionSelector == 1) { + minSizeValueTempTmpBufOpt.selector = 1; + minSizeValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (minSizeValueTempTmpBufOptUnionSelector == 2) { + minSizeValueTempTmpBufOpt.selector = 2; + minSizeValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for minSizeValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource minSizeValueTemp = minSizeValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontSize(self, static_cast(&minSizeValueTemp)); + minSizeValueTempTmpBuf.value = static_cast(minSizeValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource minSizeValueTemp = minSizeValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontSize(self, static_cast(&minSizeValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setMinFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setMaxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto maxSizeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource maxSizeValueTempTmpBuf = {}; - maxSizeValueTempTmpBuf.tag = maxSizeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((maxSizeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 maxSizeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource maxSizeValueTempTmpBufOpt = {}; - maxSizeValueTempTmpBufOpt.selector = maxSizeValueTempTmpBufOptUnionSelector; - if (maxSizeValueTempTmpBufOptUnionSelector == 0) { - maxSizeValueTempTmpBufOpt.selector = 0; - maxSizeValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (maxSizeValueTempTmpBufOptUnionSelector == 1) { - maxSizeValueTempTmpBufOpt.selector = 1; - maxSizeValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (maxSizeValueTempTmpBufOptUnionSelector == 2) { - maxSizeValueTempTmpBufOpt.selector = 2; - maxSizeValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for maxSizeValueTempTmpBufOpt has to be chosen through deserialisation."); - } - maxSizeValueTempTmpBuf.value = static_cast(maxSizeValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto maxSizeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource maxSizeValueTempTmpBuf = {}; + maxSizeValueTempTmpBuf.tag = maxSizeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((maxSizeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 maxSizeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource maxSizeValueTempTmpBufOpt = {}; + maxSizeValueTempTmpBufOpt.selector = maxSizeValueTempTmpBufOptUnionSelector; + if (maxSizeValueTempTmpBufOptUnionSelector == 0) { + maxSizeValueTempTmpBufOpt.selector = 0; + maxSizeValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (maxSizeValueTempTmpBufOptUnionSelector == 1) { + maxSizeValueTempTmpBufOpt.selector = 1; + maxSizeValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (maxSizeValueTempTmpBufOptUnionSelector == 2) { + maxSizeValueTempTmpBufOpt.selector = 2; + maxSizeValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for maxSizeValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource maxSizeValueTemp = maxSizeValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontSize(self, static_cast(&maxSizeValueTemp)); + maxSizeValueTempTmpBuf.value = static_cast(maxSizeValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource maxSizeValueTemp = maxSizeValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontSize(self, static_cast(&maxSizeValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setMaxFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setHeightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto policyValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextHeightAdaptivePolicy policyValueTempTmpBuf = {}; - policyValueTempTmpBuf.tag = policyValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((policyValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - policyValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextHeightAdaptivePolicy policyValueTemp = policyValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeightAdaptivePolicy(self, static_cast(&policyValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto policyValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextHeightAdaptivePolicy policyValueTempTmpBuf = {}; + policyValueTempTmpBuf.tag = policyValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((policyValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + policyValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextHeightAdaptivePolicy policyValueTemp = policyValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeightAdaptivePolicy(self, static_cast(&policyValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setHeightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SecurityComponentMethod_setEnabled(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto respondValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean respondValueTempTmpBuf = {}; - respondValueTempTmpBuf.tag = respondValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((respondValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - respondValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean respondValueTemp = respondValueTempTmpBuf;; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setEnabled(self, static_cast(&respondValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto respondValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean respondValueTempTmpBuf = {}; + respondValueTempTmpBuf.tag = respondValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((respondValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + respondValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean respondValueTemp = respondValueTempTmpBuf;; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setEnabled(self, static_cast(&respondValueTemp)); } KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_setEnabled, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Select_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSelectModifier()->construct(id, flags); + return GetNodeModifiers()->getSelectModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Select_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SelectInterface_setSelectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 optionsValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_SelectOption optionsValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 optionsValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_SelectOption optionsValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&optionsValueTempTmpBuf, optionsValueTempTmpBufLength); - for (int optionsValueTempTmpBufBufCounterI = 0; optionsValueTempTmpBufBufCounterI < optionsValueTempTmpBufLength; optionsValueTempTmpBufBufCounterI++) { - optionsValueTempTmpBuf.array[optionsValueTempTmpBufBufCounterI] = ArkuiComponentSelectSelectOptionSerializerImpl::read(thisDeserializer); - } - Array_SelectOption optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSelectOptions(self, static_cast(&optionsValueTemp)); + for (int optionsValueTempTmpBufBufCounterI = 0; optionsValueTempTmpBufBufCounterI < optionsValueTempTmpBufLength; optionsValueTempTmpBufBufCounterI++) { + optionsValueTempTmpBuf.array[optionsValueTempTmpBufBufCounterI] = ArkuiComponentSelectSelectOptionSerializerImpl::read(thisDeserializer); + } + Array_SelectOption optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSelectOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectInterface_setSelectOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_Resource_Bindable_I32_Bindable_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_Resource_Bindable_I32_Bindable_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentCommonBindable_I32SerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = ArkuiComponentCommonBindable_ResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_Resource_Bindable_I32_Bindable_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_Resource_Bindable_I32_Bindable_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentCommonBindable_I32SerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = ArkuiComponentCommonBindable_ResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_Resource_Bindable_I32_Bindable_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSelected(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_Resource_Bindable_I32_Bindable_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setValue(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceStr_Bindable_String_Bindable_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_Bindable_String_Bindable_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_StringSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentCommonBindable_ResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceStr_Bindable_String_Bindable_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_Bindable_String_Bindable_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_StringSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentCommonBindable_ResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceStr_Bindable_String_Bindable_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setValue(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceStr_Bindable_String_Bindable_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setValue(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setValue, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setSelectedOptionBgColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setSelectedOptionBgColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setSelectedOptionFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setSelectedOptionFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setSelectedOptionFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setSelectedOptionFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOptionBgColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOptionBgColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOptionBgColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOptionBgColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOptionFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOptionFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOptionFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOptionFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOptionFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOptionFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOptionFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOptionFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOnSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnSelectCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSELECTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSELECTCALLBACK))))}; - } - Opt_OnSelectCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOnSelect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSelectCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSELECTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSELECTCALLBACK))))}; + } + Opt_OnSelectCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOnSelect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOnSelect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSpace(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSpace(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setSpace, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setArrowPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ArrowPosition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ArrowPosition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setArrowPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ArrowPosition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ArrowPosition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setArrowPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setArrowPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOptionWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Dimension_OptionWidthMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Dimension_OptionWidthMode valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_OptionWidthMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Dimension_OptionWidthMode valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Dimension_OptionWidthMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOptionWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Dimension_OptionWidthMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOptionWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOptionWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOptionHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOptionHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOptionHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOptionHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setMenuBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setMenuBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setMenuBackgroundBlurStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlurStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setMenuBackgroundBlurStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setControlSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ControlSize valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ControlSize valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setControlSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ControlSize valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ControlSize valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setControlSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setControlSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextPickerDividerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DividerOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextPickerDividerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DividerOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextModifier valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiTextModifierTextModifierSerializerImpl::read(thisDeserializer)); - } - Opt_TextModifier valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setTextModifier(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextModifier valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiTextModifierTextModifierSerializerImpl::read(thisDeserializer)); + } + Opt_TextModifier valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setTextModifier(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setTextModifier, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setArrowModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolGlyphModifier valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); - } - Opt_SymbolGlyphModifier valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setArrowModifier(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolGlyphModifier valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); + } + Opt_SymbolGlyphModifier valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setArrowModifier(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setArrowModifier, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setOptionTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextModifier valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiTextModifierTextModifierSerializerImpl::read(thisDeserializer)); - } - Opt_TextModifier valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setOptionTextModifier(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextModifier valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiTextModifierTextModifierSerializerImpl::read(thisDeserializer)); + } + Opt_TextModifier valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setOptionTextModifier(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setOptionTextModifier, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setSelectedOptionTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextModifier valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiTextModifierTextModifierSerializerImpl::read(thisDeserializer)); - } - Opt_TextModifier valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionTextModifier(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextModifier valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiTextModifierTextModifierSerializerImpl::read(thisDeserializer)); + } + Opt_TextModifier valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionTextModifier(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setSelectedOptionTextModifier, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setDividerStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsDividerStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DividerStyleOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setDividerStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsDividerStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DividerStyleOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setDividerStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setDividerStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setAvoidance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AvoidanceMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AvoidanceMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setAvoidance(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AvoidanceMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AvoidanceMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setAvoidance(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setAvoidance, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setMenuOutline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuOutlineOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSelectMenuOutlineOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MenuOutlineOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setMenuOutline(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuOutlineOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSelectMenuOutlineOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MenuOutlineOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setMenuOutline(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setMenuOutline, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SelectAttribute_setMenuAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto alignTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuAlignType alignTypeValueTempTmpBuf = {}; - alignTypeValueTempTmpBuf.tag = alignTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((alignTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - alignTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_MenuAlignType alignTypeValueTemp = alignTypeValueTempTmpBuf;; - const auto offsetValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Offset offsetValueTempTmpBuf = {}; - offsetValueTempTmpBuf.tag = offsetValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((offsetValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - offsetValueTempTmpBuf.value = ArkuiComponentUnitsOffsetSerializerImpl::read(thisDeserializer); - } - Opt_Offset offsetValueTemp = offsetValueTempTmpBuf;; - GetNodeModifiers()->getSelectModifier()->setMenuAlign(self, static_cast(&alignTypeValueTemp), static_cast(&offsetValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto alignTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuAlignType alignTypeValueTempTmpBuf = {}; + alignTypeValueTempTmpBuf.tag = alignTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((alignTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + alignTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_MenuAlignType alignTypeValueTemp = alignTypeValueTempTmpBuf;; + const auto offsetValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Offset offsetValueTempTmpBuf = {}; + offsetValueTempTmpBuf.tag = offsetValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((offsetValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + offsetValueTempTmpBuf.value = ArkuiComponentUnitsOffsetSerializerImpl::read(thisDeserializer); + } + Opt_Offset offsetValueTemp = offsetValueTempTmpBuf;; + GetNodeModifiers()->getSelectModifier()->setMenuAlign(self, static_cast(&alignTypeValueTemp), static_cast(&offsetValueTemp)); } KOALA_INTEROP_DIRECT_V3(SelectAttribute_setMenuAlign, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Shape_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getShapeModifier()->construct(id, flags); + return GetNodeModifiers()->getShapeModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Shape_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ShapeInterface_setShapeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_image_PixelMap valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } - Opt_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setShapeOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_image_PixelMap valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } + Opt_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setShapeOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeInterface_setShapeOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setViewPort(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ViewportRect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentShapeViewportRectSerializerImpl::read(thisDeserializer); - } - Opt_ViewportRect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setViewPort(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ViewportRect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentShapeViewportRectSerializerImpl::read(thisDeserializer); + } + Opt_ViewportRect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setViewPort(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setViewPort, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStroke(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStroke(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStroke, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setFill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setFill(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setFill(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setFill, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeDashOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeDashOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_Length valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_Length valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptTempBuf = {}; - valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBuf.selector = 0; - valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBuf.selector = 1; - valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBuf.selector = 2; - valueValueTempTmpBufOptTempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptTempBuf = {}; + valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBuf.selector = 0; + valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBuf.selector = 1; + valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBuf.selector = 2; + valueValueTempTmpBufOptTempBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeDashArray, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeLineCap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineCapStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineCapStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeLineCap(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineCapStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineCapStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeLineCap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeLineCap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeLineJoin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineJoinStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineJoinStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeLineJoin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineJoinStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineJoinStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeLineJoin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeLineJoin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeMiterLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeMiterLimit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeOpacity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setFillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setFillOpacity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setStrokeWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setAntiAlias(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setAntiAlias(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setAntiAlias(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setAntiAlias, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ShapeAttribute_setMesh(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_F64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_F64 valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_F64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_F64 valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_F64 valueValueTemp = valueValueTempTmpBuf;; - const auto columnValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 columnValueTempTmpBuf = {}; - columnValueTempTmpBuf.tag = columnValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((columnValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - columnValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 columnValueTemp = columnValueTempTmpBuf;; - const auto rowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 rowValueTempTmpBuf = {}; - rowValueTempTmpBuf.tag = rowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rowValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 rowValueTemp = rowValueTempTmpBuf;; - GetNodeModifiers()->getShapeModifier()->setMesh(self, static_cast(&valueValueTemp), static_cast(&columnValueTemp), static_cast(&rowValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_F64 valueValueTemp = valueValueTempTmpBuf;; + const auto columnValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 columnValueTempTmpBuf = {}; + columnValueTempTmpBuf.tag = columnValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((columnValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + columnValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 columnValueTemp = columnValueTempTmpBuf;; + const auto rowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 rowValueTempTmpBuf = {}; + rowValueTempTmpBuf.tag = rowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rowValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 rowValueTemp = rowValueTempTmpBuf;; + GetNodeModifiers()->getShapeModifier()->setMesh(self, static_cast(&valueValueTemp), static_cast(&columnValueTemp), static_cast(&rowValueTemp)); } KOALA_INTEROP_DIRECT_V3(ShapeAttribute_setMesh, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SideBarContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSideBarContainerModifier()->construct(id, flags); + return GetNodeModifiers()->getSideBarContainerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(SideBarContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SideBarContainerInterface_setSideBarContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SideBarContainerType typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SideBarContainerType typeValueTemp = typeValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarContainerOptions(self, static_cast(&typeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SideBarContainerType typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SideBarContainerType typeValueTemp = typeValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarContainerOptions(self, static_cast(&typeValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerInterface_setSideBarContainerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setShowSideBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Boolean_Bindable_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Boolean_Bindable_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readBoolean(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_BooleanSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setShowSideBar(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Boolean_Bindable_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setShowSideBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setShowSideBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setControlButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ButtonStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSidebarButtonStyleSerializerImpl::read(thisDeserializer); - } - Opt_ButtonStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setControlButton(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ButtonStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSidebarButtonStyleSerializerImpl::read(thisDeserializer); + } + Opt_ButtonStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setControlButton(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setControlButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setShowControlButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setShowControlButton(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setShowControlButton(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setShowControlButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setSideBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_Bindable_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_Bindable_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_LengthSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_Bindable_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_Bindable_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_LengthSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_Bindable_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_Bindable_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setSideBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setMinSideBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setMinSideBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setMaxSideBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setMaxSideBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setAutoHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setAutoHide(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setAutoHide(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setAutoHide, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setSideBarPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SideBarPosition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SideBarPosition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SideBarPosition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SideBarPosition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setSideBarPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonDividerStyleSerializerImpl::read(thisDeserializer); - } - Opt_DividerStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonDividerStyleSerializerImpl::read(thisDeserializer); + } + Opt_DividerStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SideBarContainerAttribute_setMinContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSideBarContainerModifier()->setMinContentWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSideBarContainerModifier()->setMinContentWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_setMinContentWidth, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Slider_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSliderModifier()->construct(id, flags); + return GetNodeModifiers()->getSliderModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Slider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SliderInterface_setSliderOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SliderOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentSliderSliderOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SliderOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setSliderOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SliderOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentSliderSliderOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SliderOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setSliderOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderInterface_setSliderOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setBlockColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setBlockColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setBlockColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setBlockColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setTrackColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setTrackColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setTrackColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setTrackColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_LinearGradient valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentDataPanelLinearGradientSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_LinearGradient valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setShowSteps(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setShowSteps(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setShowSteps(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setShowSteps, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setTrackThickness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setTrackThickness(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setTrackThickness(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setTrackThickness, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_F64_SliderChangeMode_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_F64_SLIDERCHANGEMODE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_F64_SLIDERCHANGEMODE_VOID))))}; - } - Opt_Callback_F64_SliderChangeMode_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_F64_SliderChangeMode_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_F64_SLIDERCHANGEMODE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_F64_SLIDERCHANGEMODE_VOID))))}; + } + Opt_Callback_F64_SliderChangeMode_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setBlockBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setBlockBorderColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setBlockBorderColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setBlockBorderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setBlockBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setBlockBorderWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setBlockBorderWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setBlockBorderWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setStepColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setStepColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setStepColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setStepColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setTrackBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setTrackBorderRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setTrackBorderRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setTrackBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setSelectedBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setSelectedBorderRadius(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setSelectedBorderRadius(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setSelectedBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setBlockSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setBlockSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setBlockSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setBlockSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setBlockStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SliderBlockStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSliderSliderBlockStyleSerializerImpl::read(thisDeserializer); - } - Opt_SliderBlockStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setBlockStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SliderBlockStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSliderSliderBlockStyleSerializerImpl::read(thisDeserializer); + } + Opt_SliderBlockStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setBlockStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setBlockStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setStepSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setStepSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setStepSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setStepSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setSliderInteractionMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SliderInteraction valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SliderInteraction valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setSliderInteractionMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SliderInteraction valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SliderInteraction valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setSliderInteractionMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setSliderInteractionMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setMinResponsiveDistance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setMinResponsiveDistance, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setSlideRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SlideRange valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSliderSlideRangeSerializerImpl::read(thisDeserializer); - } - Opt_SlideRange valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setSlideRange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SlideRange valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSliderSlideRangeSerializerImpl::read(thisDeserializer); + } + Opt_SlideRange valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setSlideRange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setSlideRange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setDigitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CrownSensitivity valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setDigitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SliderAttribute_setShowTips(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr contentValueTempTmpBufOpt = {}; - contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; - if (contentValueTempTmpBufOptUnionSelector == 0) { - contentValueTempTmpBufOpt.selector = 0; - contentValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufOptUnionSelector == 1) { - contentValueTempTmpBufOpt.selector = 1; - contentValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); - } - contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr contentValueTempTmpBufOpt = {}; + contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; + if (contentValueTempTmpBufOptUnionSelector == 0) { + contentValueTempTmpBufOpt.selector = 0; + contentValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufOptUnionSelector == 1) { + contentValueTempTmpBufOpt.selector = 1; + contentValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr contentValueTemp = contentValueTempTmpBuf;; - GetNodeModifiers()->getSliderModifier()->setShowTips(self, static_cast(&valueValueTemp), static_cast(&contentValueTemp)); + contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + } + Opt_ResourceStr contentValueTemp = contentValueTempTmpBuf;; + GetNodeModifiers()->getSliderModifier()->setShowTips(self, static_cast(&valueValueTemp), static_cast(&contentValueTemp)); } KOALA_INTEROP_DIRECT_V3(SliderAttribute_setShowTips, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BaseSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getBaseSpanModifier()->construct(id, flags); + return GetNodeModifiers()->getBaseSpanModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(BaseSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_BaseSpan_setTextBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextBackgroundStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer); - } - Opt_TextBackgroundStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getBaseSpanModifier()->setTextBackgroundStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextBackgroundStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer); + } + Opt_TextBackgroundStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getBaseSpanModifier()->setTextBackgroundStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseSpan_setTextBackgroundStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_BaseSpan_setBaselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getBaseSpanModifier()->setBaselineOffset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getBaseSpanModifier()->setBaselineOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseSpan_setBaselineOffset, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Span_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSpanModifier()->construct(id, flags); + return GetNodeModifiers()->getSpanModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Span_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SpanInterface_setSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_Resource valueValueTemp = static_cast(valueValueTempTmpBuf);; - GetNodeModifiers()->getSpanModifier()->setSpanOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_Resource valueValueTemp = static_cast(valueValueTempTmpBuf);; + GetNodeModifiers()->getSpanModifier()->setSpanOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanInterface_setSpanOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setDecoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DecorationStyleInterface valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentStyledStringDecorationStyleInterfaceSerializerImpl::read(thisDeserializer); - } - Opt_DecorationStyleInterface valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setDecoration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DecorationStyleInterface valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentStyledStringDecorationStyleInterfaceSerializerImpl::read(thisDeserializer); + } + Opt_DecorationStyleInterface valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setDecoration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setDecoration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setTextCase(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextCase valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextCase valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setTextCase(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextCase valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextCase valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setTextCase(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setTextCase, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setLineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setLineHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setLineHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setLineHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setTextShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setTextShadow(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setTextShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setTextShadow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setTextBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextBackgroundStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer); - } - Opt_TextBackgroundStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setTextBackgroundStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextBackgroundStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer); + } + Opt_TextBackgroundStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setTextBackgroundStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setTextBackgroundStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setBaselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setBaselineOffset(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setBaselineOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setBaselineOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setKey(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setKey(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setKey, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setId(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setId(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setOnClick0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; - } - Opt_Callback_ClickEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setOnClick0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; + } + Opt_Callback_ClickEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setOnClick0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setOnClick0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setOnHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_HoverCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_HOVERCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_HOVERCALLBACK))))}; - } - Opt_HoverCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setOnHover(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_HoverCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_HOVERCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_HOVERCALLBACK))))}; + } + Opt_HoverCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setOnHover(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setOnHover, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SpanAttribute_setOnClick1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void eventValueTempTmpBuf = {}; - eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; - } - Opt_Callback_ClickEvent_Void eventValueTemp = eventValueTempTmpBuf;; - const auto distanceThresholdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 distanceThresholdValueTempTmpBuf = {}; - distanceThresholdValueTempTmpBuf.tag = distanceThresholdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((distanceThresholdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - distanceThresholdValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 distanceThresholdValueTemp = distanceThresholdValueTempTmpBuf;; - GetNodeModifiers()->getSpanModifier()->setOnClick1(self, static_cast(&eventValueTemp), static_cast(&distanceThresholdValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void eventValueTempTmpBuf = {}; + eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; + } + Opt_Callback_ClickEvent_Void eventValueTemp = eventValueTempTmpBuf;; + const auto distanceThresholdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 distanceThresholdValueTempTmpBuf = {}; + distanceThresholdValueTempTmpBuf.tag = distanceThresholdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((distanceThresholdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + distanceThresholdValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 distanceThresholdValueTemp = distanceThresholdValueTempTmpBuf;; + GetNodeModifiers()->getSpanModifier()->setOnClick1(self, static_cast(&eventValueTemp), static_cast(&distanceThresholdValueTemp)); } KOALA_INTEROP_DIRECT_V3(SpanAttribute_setOnClick1, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Stack_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getStackModifier()->construct(id, flags); + return GetNodeModifiers()->getStackModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Stack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_StackInterface_setStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_StackOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentStackStackOptionsSerializerImpl::read(thisDeserializer); - } - Opt_StackOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getStackModifier()->setStackOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_StackOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentStackStackOptionsSerializerImpl::read(thisDeserializer); + } + Opt_StackOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getStackModifier()->setStackOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(StackInterface_setStackOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StackAttribute_setAlignContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Alignment valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_Alignment valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStackModifier()->setAlignContent(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Alignment valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_Alignment valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStackModifier()->setAlignContent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StackAttribute_setAlignContent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StackAttribute_setPointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PointLightStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); - } - Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStackModifier()->setPointLight(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PointLightStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPointLightStyleSerializerImpl::read(thisDeserializer); + } + Opt_PointLightStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStackModifier()->setPointLight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StackAttribute_setPointLight, Ark_NativePointer, KSerializerBuffer, KInt) +Ark_NativePointer impl_ComponentRoot_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getComponentRootModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ComponentRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +Ark_NativePointer impl_ConditionScope_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getConditionScopeModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ConditionScope_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +Ark_NativePointer impl_CustomBuilderRoot_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCustomBuilderRootModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(CustomBuilderRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +Ark_NativePointer impl_CustomLayoutRoot_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCustomLayoutRootModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(CustomLayoutRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CustomLayoutRoot_setSubscribeOnMeasureSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_onMeasureSize_SizeResult valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONMEASURESIZE_SIZERESULT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONMEASURESIZE_SIZERESULT))))};; + GetNodeModifiers()->getCustomLayoutRootModifier()->setSubscribeOnMeasureSize(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(CustomLayoutRoot_setSubscribeOnMeasureSize, Ark_NativePointer, KSerializerBuffer, KInt) +void impl_CustomLayoutRoot_setSubscribeOnPlaceChildren(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_onPlaceChildren_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONPLACECHILDREN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONPLACECHILDREN_VOID))))};; + GetNodeModifiers()->getCustomLayoutRootModifier()->setSubscribeOnPlaceChildren(self, static_cast(&valueValueTemp)); +} +KOALA_INTEROP_DIRECT_V3(CustomLayoutRoot_setSubscribeOnPlaceChildren, Ark_NativePointer, KSerializerBuffer, KInt) +Ark_NativePointer impl_Root_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRootModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Root_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +Ark_NativePointer impl_RoutedPage_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRoutedPageModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(RoutedPage_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) Ark_NativePointer impl_Stepper_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getStepperModifier()->construct(id, flags); + return GetNodeModifiers()->getStepperModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Stepper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_StepperInterface_setStepperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_StepperOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentStepperStepperOptionsSerializerImpl::read(thisDeserializer); - } - Opt_StepperOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperModifier()->setStepperOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_StepperOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentStepperStepperOptionsSerializerImpl::read(thisDeserializer); + } + Opt_StepperOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperModifier()->setStepperOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperInterface_setStepperOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperModifier()->setOnFinish(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperModifier()->setOnFinish(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperAttribute_setOnSkip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; - } - Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperModifier()->setOnSkip(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))}; + } + Opt_synthetic_Callback_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperModifier()->setOnSkip(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperAttribute_setOnSkip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperAttribute_setOnNext(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperModifier()->setOnNext(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperModifier()->setOnNext(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperAttribute_setOnNext, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperAttribute_setOnPrevious(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperModifier()->setOnPrevious(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperModifier()->setOnPrevious(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperAttribute_setOnPrevious, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_StepperItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getStepperItemModifier()->construct(id, flags); + return GetNodeModifiers()->getStepperItemModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(StepperItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_StepperItemInterface_setStepperItemOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getStepperItemModifier()->setStepperItemOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getStepperItemModifier()->setStepperItemOptions(self); } KOALA_INTEROP_DIRECT_V1(StepperItemInterface_setStepperItemOptions, Ark_NativePointer) void impl_StepperItemAttribute_setPrevLabel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_setPrevLabel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperItemAttribute_setNextLabel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperItemModifier()->setNextLabel(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperItemModifier()->setNextLabel(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_setNextLabel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StepperItemAttribute_setStatus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ItemState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ItemState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getStepperItemModifier()->setStatus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ItemState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ItemState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getStepperItemModifier()->setStatus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_setStatus, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Swiper_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSwiperModifier()->construct(id, flags); + return GetNodeModifiers()->getSwiperModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Swiper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SwiperInterface_setSwiperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto controllerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwiperController controllerValueTempTmpBuf = {}; - controllerValueTempTmpBuf.tag = controllerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((controllerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - controllerValueTempTmpBuf.value = static_cast(ArkuiComponentSwiperSwiperControllerSerializerImpl::read(thisDeserializer)); - } - Opt_SwiperController controllerValueTemp = controllerValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setSwiperOptions(self, static_cast(&controllerValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto controllerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwiperController controllerValueTempTmpBuf = {}; + controllerValueTempTmpBuf.tag = controllerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((controllerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + controllerValueTempTmpBuf.value = static_cast(ArkuiComponentSwiperSwiperControllerSerializerImpl::read(thisDeserializer)); + } + Opt_SwiperController controllerValueTemp = controllerValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setSwiperOptions(self, static_cast(&controllerValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperInterface_setSwiperOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_Bindable_I32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_Bindable_I32 valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_I32SerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_Bindable_I32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_Bindable_I32 valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentCommonBindable_I32SerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_Bindable_I32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setIndex(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_Bindable_I32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setAutoPlay0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setAutoPlay0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setAutoPlay0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setAutoPlay0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setInterval(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setInterval(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setInterval(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setInterval, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setIndicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_IndicatorComponentController_DotIndicator_DigitIndicator_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_IndicatorComponentController_DotIndicator_DigitIndicator_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentIndicatorcomponentIndicatorComponentControllerSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentSwiperDotIndicatorSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(ArkuiComponentSwiperDigitIndicatorSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = thisDeserializer.readBoolean(); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_IndicatorComponentController_DotIndicator_DigitIndicator_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_IndicatorComponentController_DotIndicator_DigitIndicator_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(ArkuiComponentIndicatorcomponentIndicatorComponentControllerSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentSwiperDotIndicatorSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(ArkuiComponentSwiperDigitIndicatorSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = thisDeserializer.readBoolean(); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_IndicatorComponentController_DotIndicator_DigitIndicator_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setIndicator(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_IndicatorComponentController_DotIndicator_DigitIndicator_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setIndicator(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setIndicator, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setLoop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setLoop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setLoop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setDuration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setDuration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setDuration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setDuration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setVertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setVertical(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setVertical(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setVertical, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setItemSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setItemSpace(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setItemSpace(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setItemSpace, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setDisplayMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwiperDisplayMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SwiperDisplayMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setDisplayMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwiperDisplayMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SwiperDisplayMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setDisplayMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setDisplayMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setCachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setCachedCount0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setEffectMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setEffectMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setEffectMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setEffectMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setDisableSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setDisableSwipe(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setDisableSwipe(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setDisableSwipe, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setCurve(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_curves_Curve_String_curves_ICurve valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_curves_Curve_String_curves_ICurve valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(OhosCurvesCurvesICurveSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_curves_Curve_String_curves_ICurve valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_curves_Curve_String_curves_ICurve valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(OhosCurvesCurvesICurveSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_curves_Curve_String_curves_ICurve valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setCurve(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_curves_Curve_String_curves_ICurve valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setCurve(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setCurve, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnSelected(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnUnselected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnUnselected(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnUnselected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnUnselected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnSwiperAnimationStartCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSWIPERANIMATIONSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSWIPERANIMATIONSTARTCALLBACK))))}; - } - Opt_OnSwiperAnimationStartCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnAnimationStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSwiperAnimationStartCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSWIPERANIMATIONSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSWIPERANIMATIONSTARTCALLBACK))))}; + } + Opt_OnSwiperAnimationStartCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnAnimationStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnAnimationStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnSwiperAnimationEndCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSWIPERANIMATIONENDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSWIPERANIMATIONENDCALLBACK))))}; - } - Opt_OnSwiperAnimationEndCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnAnimationEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSwiperAnimationEndCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSWIPERANIMATIONENDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSWIPERANIMATIONENDCALLBACK))))}; + } + Opt_OnSwiperAnimationEndCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnAnimationEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnAnimationEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnSwiperGestureSwipeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSWIPERGESTURESWIPECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSWIPERGESTURESWIPECALLBACK))))}; - } - Opt_OnSwiperGestureSwipeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnGestureSwipe(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSwiperGestureSwipeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSWIPERGESTURESWIPECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSWIPERGESTURESWIPECALLBACK))))}; + } + Opt_OnSwiperGestureSwipeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnGestureSwipe(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnGestureSwipe, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwiperNestedScrollMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SwiperNestedScrollMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwiperNestedScrollMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SwiperNestedScrollMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setNestedScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setNestedScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setCustomContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwiperContentAnimatedTransition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSwiperSwiperContentAnimatedTransitionSerializerImpl::read(thisDeserializer); - } - Opt_SwiperContentAnimatedTransition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setCustomContentTransition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwiperContentAnimatedTransition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSwiperSwiperContentAnimatedTransitionSerializerImpl::read(thisDeserializer); + } + Opt_SwiperContentAnimatedTransition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setCustomContentTransition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setCustomContentTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnContentDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContentDidScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CONTENTDIDSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CONTENTDIDSCROLLCALLBACK))))}; - } - Opt_ContentDidScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnContentDidScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentDidScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CONTENTDIDSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CONTENTDIDSCROLLCALLBACK))))}; + } + Opt_ContentDidScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnContentDidScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnContentDidScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setIndicatorInteractive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setIndicatorInteractive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setIndicatorInteractive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setIndicatorInteractive, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setPageFlipMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PageFlipMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_PageFlipMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setPageFlipMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PageFlipMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_PageFlipMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setPageFlipMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setPageFlipMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setOnContentWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContentWillScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CONTENTWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CONTENTWILLSCROLLCALLBACK))))}; - } - Opt_ContentWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setOnContentWillScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentWillScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CONTENTWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CONTENTWILLSCROLLCALLBACK))))}; + } + Opt_ContentWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setOnContentWillScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setOnContentWillScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setAutoPlay1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto autoPlayValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean autoPlayValueTempTmpBuf = {}; - autoPlayValueTempTmpBuf.tag = autoPlayValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((autoPlayValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - autoPlayValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean autoPlayValueTemp = autoPlayValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AutoPlayOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentSwiperAutoPlayOptionsSerializerImpl::read(thisDeserializer); - } - Opt_AutoPlayOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setAutoPlay1(self, static_cast(&autoPlayValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto autoPlayValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean autoPlayValueTempTmpBuf = {}; + autoPlayValueTempTmpBuf.tag = autoPlayValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((autoPlayValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + autoPlayValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean autoPlayValueTemp = autoPlayValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AutoPlayOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentSwiperAutoPlayOptionsSerializerImpl::read(thisDeserializer); + } + Opt_AutoPlayOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setAutoPlay1(self, static_cast(&autoPlayValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setAutoPlay1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setDisplayArrow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ArrowStyle_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ArrowStyle_Boolean valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentSwiperArrowStyleSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readBoolean(); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_ArrowStyle_Boolean valueValueTemp = valueValueTempTmpBuf;; - const auto isHoverShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isHoverShowValueTempTmpBuf = {}; - isHoverShowValueTempTmpBuf.tag = isHoverShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isHoverShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isHoverShowValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isHoverShowValueTemp = isHoverShowValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setDisplayArrow(self, static_cast(&valueValueTemp), static_cast(&isHoverShowValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ArrowStyle_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ArrowStyle_Boolean valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentSwiperArrowStyleSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readBoolean(); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ArrowStyle_Boolean valueValueTemp = valueValueTempTmpBuf;; + const auto isHoverShowValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isHoverShowValueTempTmpBuf = {}; + isHoverShowValueTempTmpBuf.tag = isHoverShowValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isHoverShowValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isHoverShowValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isHoverShowValueTemp = isHoverShowValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setDisplayArrow(self, static_cast(&valueValueTemp), static_cast(&isHoverShowValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setDisplayArrow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 countValueTempTmpBuf = {}; - countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - countValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 countValueTemp = countValueTempTmpBuf;; - const auto isShownValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isShownValueTempTmpBuf = {}; - isShownValueTempTmpBuf.tag = isShownValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isShownValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isShownValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isShownValueTemp = isShownValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&isShownValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 countValueTempTmpBuf = {}; + countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + countValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 countValueTemp = countValueTempTmpBuf;; + const auto isShownValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isShownValueTempTmpBuf = {}; + isShownValueTempTmpBuf.tag = isShownValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isShownValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isShownValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isShownValueTemp = isShownValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&isShownValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setDisplayCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_String_SwiperAutoFill valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_String_SwiperAutoFill valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentSwiperSwiperAutoFillSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Union_I32_String_SwiperAutoFill valueValueTemp = valueValueTempTmpBuf;; - const auto swipeByGroupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean swipeByGroupValueTempTmpBuf = {}; - swipeByGroupValueTempTmpBuf.tag = swipeByGroupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((swipeByGroupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - swipeByGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean swipeByGroupValueTemp = swipeByGroupValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setDisplayCount(self, static_cast(&valueValueTemp), static_cast(&swipeByGroupValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_String_SwiperAutoFill valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_String_SwiperAutoFill valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentSwiperSwiperAutoFillSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_String_SwiperAutoFill valueValueTemp = valueValueTempTmpBuf;; + const auto swipeByGroupValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean swipeByGroupValueTempTmpBuf = {}; + swipeByGroupValueTempTmpBuf.tag = swipeByGroupValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((swipeByGroupValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + swipeByGroupValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean swipeByGroupValueTemp = swipeByGroupValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setDisplayCount(self, static_cast(&valueValueTemp), static_cast(&swipeByGroupValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setDisplayCount, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setPrevMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - const auto ignoreBlankValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean ignoreBlankValueTempTmpBuf = {}; - ignoreBlankValueTempTmpBuf.tag = ignoreBlankValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((ignoreBlankValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - ignoreBlankValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean ignoreBlankValueTemp = ignoreBlankValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setPrevMargin(self, static_cast(&valueValueTemp), static_cast(&ignoreBlankValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + const auto ignoreBlankValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean ignoreBlankValueTempTmpBuf = {}; + ignoreBlankValueTempTmpBuf.tag = ignoreBlankValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((ignoreBlankValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + ignoreBlankValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean ignoreBlankValueTemp = ignoreBlankValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setPrevMargin(self, static_cast(&valueValueTemp), static_cast(&ignoreBlankValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setPrevMargin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperAttribute_setNextMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - const auto ignoreBlankValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean ignoreBlankValueTempTmpBuf = {}; - ignoreBlankValueTempTmpBuf.tag = ignoreBlankValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((ignoreBlankValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - ignoreBlankValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean ignoreBlankValueTemp = ignoreBlankValueTempTmpBuf;; - GetNodeModifiers()->getSwiperModifier()->setNextMargin(self, static_cast(&valueValueTemp), static_cast(&ignoreBlankValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + const auto ignoreBlankValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean ignoreBlankValueTempTmpBuf = {}; + ignoreBlankValueTempTmpBuf.tag = ignoreBlankValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((ignoreBlankValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + ignoreBlankValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean ignoreBlankValueTemp = ignoreBlankValueTempTmpBuf;; + GetNodeModifiers()->getSwiperModifier()->setNextMargin(self, static_cast(&valueValueTemp), static_cast(&ignoreBlankValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperAttribute_setNextMargin, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SymbolGlyph_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSymbolGlyphModifier()->construct(id, flags); + return GetNodeModifiers()->getSymbolGlyphModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(SymbolGlyph_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SymbolGlyphInterface_setSymbolGlyphOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } - Opt_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolGlyphOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } + Opt_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolGlyphOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphInterface_setSymbolGlyphOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ResourceColor valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ResourceColor valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptTempBuf = {}; - valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBuf.selector = 0; - valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBuf.selector = 1; - valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBuf.selector = 2; - valueValueTempTmpBufOptTempBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 3) { - valueValueTempTmpBufOptTempBuf.selector = 3; - valueValueTempTmpBufOptTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setFontColor(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptTempBuf = {}; + valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBuf.selector = 0; + valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBuf.selector = 1; + valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBuf.selector = 2; + valueValueTempTmpBufOptTempBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 3) { + valueValueTempTmpBufOptTempBuf.selector = 3; + valueValueTempTmpBufOptTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setEffectStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolEffectStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SymbolEffectStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setEffectStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolEffectStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SymbolEffectStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setEffectStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setEffectStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setRenderingStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolRenderingStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SymbolRenderingStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setRenderingStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolRenderingStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SymbolRenderingStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setRenderingStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setRenderingStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setSymbolEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiComponentSymbolglyphSymbolEffectSerializerImpl::read(thisDeserializer)); - } - Opt_SymbolEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiComponentSymbolglyphSymbolEffectSerializerImpl::read(thisDeserializer)); + } + Opt_SymbolEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setSymbolEffect0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setSymbolEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto symbolEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolEffect symbolEffectValueTempTmpBuf = {}; - symbolEffectValueTempTmpBuf.tag = symbolEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((symbolEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - symbolEffectValueTempTmpBuf.value = static_cast(ArkuiComponentSymbolglyphSymbolEffectSerializerImpl::read(thisDeserializer)); - } - Opt_SymbolEffect symbolEffectValueTemp = symbolEffectValueTempTmpBuf;; - const auto isActiveValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isActiveValueTempTmpBuf = {}; - isActiveValueTempTmpBuf.tag = isActiveValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isActiveValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isActiveValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isActiveValueTemp = isActiveValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, static_cast(&symbolEffectValueTemp), static_cast(&isActiveValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto symbolEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolEffect symbolEffectValueTempTmpBuf = {}; + symbolEffectValueTempTmpBuf.tag = symbolEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((symbolEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + symbolEffectValueTempTmpBuf.value = static_cast(ArkuiComponentSymbolglyphSymbolEffectSerializerImpl::read(thisDeserializer)); + } + Opt_SymbolEffect symbolEffectValueTemp = symbolEffectValueTempTmpBuf;; + const auto isActiveValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isActiveValueTempTmpBuf = {}; + isActiveValueTempTmpBuf.tag = isActiveValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isActiveValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isActiveValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isActiveValueTemp = isActiveValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, static_cast(&symbolEffectValueTemp), static_cast(&isActiveValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setSymbolEffect1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolGlyphAttribute_setSymbolEffect2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto symbolEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolEffect symbolEffectValueTempTmpBuf = {}; - symbolEffectValueTempTmpBuf.tag = symbolEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((symbolEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - symbolEffectValueTempTmpBuf.value = static_cast(ArkuiComponentSymbolglyphSymbolEffectSerializerImpl::read(thisDeserializer)); - } - Opt_SymbolEffect symbolEffectValueTemp = symbolEffectValueTempTmpBuf;; - const auto triggerValueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 triggerValueValueTempTmpBuf = {}; - triggerValueValueTempTmpBuf.tag = triggerValueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((triggerValueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - triggerValueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 triggerValueValueTemp = triggerValueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect2(self, static_cast(&symbolEffectValueTemp), static_cast(&triggerValueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto symbolEffectValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolEffect symbolEffectValueTempTmpBuf = {}; + symbolEffectValueTempTmpBuf.tag = symbolEffectValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((symbolEffectValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + symbolEffectValueTempTmpBuf.value = static_cast(ArkuiComponentSymbolglyphSymbolEffectSerializerImpl::read(thisDeserializer)); + } + Opt_SymbolEffect symbolEffectValueTemp = symbolEffectValueTempTmpBuf;; + const auto triggerValueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 triggerValueValueTempTmpBuf = {}; + triggerValueValueTempTmpBuf.tag = triggerValueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((triggerValueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + triggerValueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 triggerValueValueTemp = triggerValueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect2(self, static_cast(&symbolEffectValueTemp), static_cast(&triggerValueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_setSymbolEffect2, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SymbolSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSymbolSpanModifier()->construct(id, flags); + return GetNodeModifiers()->getSymbolSpanModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(SymbolSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_SymbolSpanInterface_setSymbolSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Resource valueValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getSymbolSpanModifier()->setSymbolSpanOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Resource valueValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getSymbolSpanModifier()->setSymbolSpanOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanInterface_setSymbolSpanOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_ResourceColor valueValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 valueValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_ResourceColor valueValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOpt, valueValueTempTmpBufOptLength); - for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { - const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptTempBuf = {}; - valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; - if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { - valueValueTempTmpBufOptTempBuf.selector = 0; - valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { - valueValueTempTmpBufOptTempBuf.selector = 1; - valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { - valueValueTempTmpBufOptTempBuf.selector = 2; - valueValueTempTmpBufOptTempBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptTempBufUnionSelector == 3) { - valueValueTempTmpBufOptTempBuf.selector = 3; - valueValueTempTmpBufOptTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); - } - valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; - } - Opt_Array_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setFontColor(self, static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufOptBufCounterI = 0; valueValueTempTmpBufOptBufCounterI < valueValueTempTmpBufOptLength; valueValueTempTmpBufOptBufCounterI++) { + const Ark_Int8 valueValueTempTmpBufOptTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptTempBuf = {}; + valueValueTempTmpBufOptTempBuf.selector = valueValueTempTmpBufOptTempBufUnionSelector; + if (valueValueTempTmpBufOptTempBufUnionSelector == 0) { + valueValueTempTmpBufOptTempBuf.selector = 0; + valueValueTempTmpBufOptTempBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 1) { + valueValueTempTmpBufOptTempBuf.selector = 1; + valueValueTempTmpBufOptTempBuf.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 2) { + valueValueTempTmpBufOptTempBuf.selector = 2; + valueValueTempTmpBufOptTempBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptTempBufUnionSelector == 3) { + valueValueTempTmpBufOptTempBuf.selector = 3; + valueValueTempTmpBufOptTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptTempBuf has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.array[valueValueTempTmpBufOptBufCounterI] = static_cast(valueValueTempTmpBufOptTempBuf); + } + valueValueTempTmpBuf.value = valueValueTempTmpBufOpt; + } + Opt_Array_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setEffectStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolEffectStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SymbolEffectStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setEffectStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolEffectStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SymbolEffectStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setEffectStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setEffectStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setRenderingStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolRenderingStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SymbolRenderingStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setRenderingStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolRenderingStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SymbolRenderingStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setRenderingStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setRenderingStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setKey(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setKey(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setKey, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SymbolSpanAttribute_setId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getSymbolSpanModifier()->setId(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getSymbolSpanModifier()->setId(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_setId, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TabContent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTabContentModifier()->construct(id, flags); + return GetNodeModifiers()->getTabContentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TabContent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TabContentInterface_setTabContentOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabContentModifier()->setTabContentOptions(self); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabContentModifier()->setTabContentOptions(self); } KOALA_INTEROP_DIRECT_V1(TabContentInterface_setTabContentOptions, Ark_NativePointer) void impl_TabContentAttribute_setTabBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ComponentContent_SubTabBarStyle_BottomTabBarStyle_String_Resource_CustomNodeBuilder_TabBarOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ComponentContent_SubTabBarStyle_BottomTabBarStyle_String_Resource_CustomNodeBuilder_TabBarOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readObject()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentTabContentSubTabBarStyleSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(ArkuiComponentTabContentBottomTabBarStyleSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 4) { - valueValueTempTmpBufOpt.selector = 4; - valueValueTempTmpBufOpt.value4 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 5) { - valueValueTempTmpBufOpt.selector = 5; - valueValueTempTmpBufOpt.value5 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } else if (valueValueTempTmpBufOptUnionSelector == 6) { - valueValueTempTmpBufOpt.selector = 6; - valueValueTempTmpBufOpt.value6 = ArkuiComponentTabContentTabBarOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ComponentContent_SubTabBarStyle_BottomTabBarStyle_String_Resource_CustomNodeBuilder_TabBarOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ComponentContent_SubTabBarStyle_BottomTabBarStyle_String_Resource_CustomNodeBuilder_TabBarOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readObject()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentTabContentSubTabBarStyleSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(ArkuiComponentTabContentBottomTabBarStyleSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 4) { + valueValueTempTmpBufOpt.selector = 4; + valueValueTempTmpBufOpt.value4 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 5) { + valueValueTempTmpBufOpt.selector = 5; + valueValueTempTmpBufOpt.value5 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } else if (valueValueTempTmpBufOptUnionSelector == 6) { + valueValueTempTmpBufOpt.selector = 6; + valueValueTempTmpBufOpt.value6 = ArkuiComponentTabContentTabBarOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ComponentContent_SubTabBarStyle_BottomTabBarStyle_String_Resource_CustomNodeBuilder_TabBarOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabContentModifier()->setTabBar(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ComponentContent_SubTabBarStyle_BottomTabBarStyle_String_Resource_CustomNodeBuilder_TabBarOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabContentModifier()->setTabBar(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabContentAttribute_setTabBar, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabContentAttribute_setOnWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabContentModifier()->setOnWillShow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabContentModifier()->setOnWillShow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabContentAttribute_setOnWillShow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabContentAttribute_setOnWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabContentModifier()->setOnWillHide(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabContentModifier()->setOnWillHide(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabContentAttribute_setOnWillHide, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Tabs_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTabsModifier()->construct(id, flags); + return GetNodeModifiers()->getTabsModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Tabs_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TabsInterface_setTabsOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TabsOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTabsTabsOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TabsOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setTabsOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TabsOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTabsTabsOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TabsOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setTabsOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsInterface_setTabsOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setVertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setVertical(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setVertical(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setVertical, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarPosition valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarPosition valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarPosition valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarPosition valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setScrollable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setScrollable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setScrollable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setAnimationDuration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setAnimationDuration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setAnimationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AnimationMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AnimationMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setAnimationMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AnimationMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AnimationMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setAnimationMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setAnimationMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setEdgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffect valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setEdgeEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setEdgeEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setEdgeEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnSelected(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnSelected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnSelected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnTabBarClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnTabBarClick(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnTabBarClick(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnTabBarClick, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnUnselected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; - } - Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnUnselected(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_VOID))))}; + } + Opt_arkui_component_common_Callback_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnUnselected(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnUnselected, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTabsAnimationStartCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSANIMATIONSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSANIMATIONSTARTCALLBACK))))}; - } - Opt_OnTabsAnimationStartCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnAnimationStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTabsAnimationStartCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSANIMATIONSTARTCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSANIMATIONSTARTCALLBACK))))}; + } + Opt_OnTabsAnimationStartCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnAnimationStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnAnimationStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTabsAnimationEndCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSANIMATIONENDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSANIMATIONENDCALLBACK))))}; - } - Opt_OnTabsAnimationEndCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnAnimationEnd(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTabsAnimationEndCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSANIMATIONENDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSANIMATIONENDCALLBACK))))}; + } + Opt_OnTabsAnimationEndCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnAnimationEnd(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnAnimationEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTabsGestureSwipeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSGESTURESWIPECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSGESTURESWIPECALLBACK))))}; - } - Opt_OnTabsGestureSwipeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnGestureSwipe(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTabsGestureSwipeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSGESTURESWIPECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSGESTURESWIPECALLBACK))))}; + } + Opt_OnTabsGestureSwipeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnGestureSwipe(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnGestureSwipe, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setFadingEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setFadingEdge(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setFadingEdge(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setFadingEdge, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonDividerStyleSerializerImpl::read(thisDeserializer); - } - Opt_DividerStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonDividerStyleSerializerImpl::read(thisDeserializer); + } + Opt_DividerStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarOverlap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarOverlap(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarOverlap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarOverlap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarGridAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarGridColumnOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTabsBarGridColumnOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BarGridColumnOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarGridAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarGridColumnOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTabsBarGridColumnOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BarGridColumnOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarGridAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarGridAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setCustomContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TabsCustomContentTransitionCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TABSCUSTOMCONTENTTRANSITIONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TABSCUSTOMCONTENTTRANSITIONCALLBACK))))}; - } - Opt_TabsCustomContentTransitionCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setCustomContentTransition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TabsCustomContentTransitionCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TABSCUSTOMCONTENTTRANSITIONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TABSCUSTOMCONTENTTRANSITIONCALLBACK))))}; + } + Opt_TabsCustomContentTransitionCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setCustomContentTransition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setCustomContentTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarBackgroundBlurStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlurStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarBackgroundBlurStyle0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setPageFlipMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PageFlipMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_PageFlipMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setPageFlipMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PageFlipMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_PageFlipMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setPageFlipMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setPageFlipMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarBackgroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BackgroundEffectOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonBackgroundEffectOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BackgroundEffectOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundEffect(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundEffectOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonBackgroundEffectOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BackgroundEffectOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarBackgroundEffect(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarBackgroundEffect, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setOnContentWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTabsContentWillChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSCONTENTWILLCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSCONTENTWILLCHANGECALLBACK))))}; - } - Opt_OnTabsContentWillChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setOnContentWillChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTabsContentWillChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTABSCONTENTWILLCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTABSCONTENTWILLCHANGECALLBACK))))}; + } + Opt_OnTabsContentWillChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setOnContentWillChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setOnContentWillChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarMode valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollableBarModeOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTabsScrollableBarModeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ScrollableBarModeOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarMode(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarMode valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollableBarModeOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTabsScrollableBarModeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ScrollableBarModeOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarMode(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setBarBackgroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BlurStyle styleValueTempTmpBuf = {}; - styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BlurStyle styleValueTemp = styleValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BackgroundBlurStyleOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundBlurStyleOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BackgroundBlurStyleOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle1(self, static_cast(&styleValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto styleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle styleValueTempTmpBuf = {}; + styleValueTempTmpBuf.tag = styleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle styleValueTemp = styleValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonBackgroundBlurStyleOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BackgroundBlurStyleOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle1(self, static_cast(&styleValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setBarBackgroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsAttribute_setCachedMaxCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 countValueTempTmpBuf = {}; - countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - countValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 countValueTemp = countValueTempTmpBuf;; - const auto modeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TabsCacheMode modeValueTempTmpBuf = {}; - modeValueTempTmpBuf.tag = modeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((modeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - modeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TabsCacheMode modeValueTemp = modeValueTempTmpBuf;; - GetNodeModifiers()->getTabsModifier()->setCachedMaxCount(self, static_cast(&countValueTemp), static_cast(&modeValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 countValueTempTmpBuf = {}; + countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + countValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 countValueTemp = countValueTempTmpBuf;; + const auto modeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TabsCacheMode modeValueTempTmpBuf = {}; + modeValueTempTmpBuf.tag = modeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((modeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + modeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TabsCacheMode modeValueTemp = modeValueTempTmpBuf;; + GetNodeModifiers()->getTabsModifier()->setCachedMaxCount(self, static_cast(&countValueTemp), static_cast(&modeValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsAttribute_setCachedMaxCount, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Text_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextModifier()->construct(id, flags); + return GetNodeModifiers()->getTextModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Text_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TextInterface_setTextOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource contentValueTempTmpBufOpt = {}; - contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; - if (contentValueTempTmpBufOptUnionSelector == 0) { - contentValueTempTmpBufOpt.selector = 0; - contentValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufOptUnionSelector == 1) { - contentValueTempTmpBufOpt.selector = 1; - contentValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); - } - contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); - } - Opt_Union_String_Resource contentValueTemp = contentValueTempTmpBuf;; - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextTextOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextOptions(self, static_cast(&contentValueTemp), static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 contentValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource contentValueTempTmpBufOpt = {}; + contentValueTempTmpBufOpt.selector = contentValueTempTmpBufOptUnionSelector; + if (contentValueTempTmpBufOptUnionSelector == 0) { + contentValueTempTmpBufOpt.selector = 0; + contentValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufOptUnionSelector == 1) { + contentValueTempTmpBufOpt.selector = 1; + contentValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBufOpt has to be chosen through deserialisation."); + } + contentValueTempTmpBuf.value = static_cast(contentValueTempTmpBufOpt); + } + Opt_Union_String_Resource contentValueTemp = contentValueTempTmpBuf;; + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextTextOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextOptions(self, static_cast(&contentValueTemp), static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInterface_setTextOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setMinFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setMinFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setMaxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setMaxFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setLineSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setLineSpacing(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setLineSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setLineSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setTextAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setTextAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setLineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setLineHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setLineHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setLineHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setTextOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextOverflowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextTextOverflowOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextOverflowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextOverflow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextOverflowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextTextOverflowOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextOverflowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextOverflow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setTextOverflow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setMaxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setMaxLines(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setMaxLines(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setMaxLines, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setDecoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DecorationStyleInterface valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentStyledStringDecorationStyleInterfaceSerializerImpl::read(thisDeserializer); - } - Opt_DecorationStyleInterface valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setDecoration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DecorationStyleInterface valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentStyledStringDecorationStyleInterfaceSerializerImpl::read(thisDeserializer); + } + Opt_DecorationStyleInterface valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setDecoration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setDecoration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setTextCase(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextCase valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextCase valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextCase(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextCase valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextCase valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextCase(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setTextCase, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setBaselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setBaselineOffset(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setBaselineOffset(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setBaselineOffset, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setCopyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CopyOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setCopyOption(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CopyOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setCopyOption(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setCopyOption, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setDraggable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setDraggable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setDraggable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setDraggable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setTextShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextShadow(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setTextShadow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setHeightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextHeightAdaptivePolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextHeightAdaptivePolicy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setHeightAdaptivePolicy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextHeightAdaptivePolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextHeightAdaptivePolicy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setHeightAdaptivePolicy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setHeightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setTextIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextIndent(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextIndent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setTextIndent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setWordBreak(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WordBreak valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_WordBreak valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setWordBreak(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WordBreak valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_WordBreak valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setWordBreak(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setWordBreak, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setLineBreakStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineBreakStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineBreakStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setLineBreakStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineBreakStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineBreakStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setLineBreakStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setLineBreakStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setOnCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; - } - Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setOnCopy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; + } + Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setOnCopy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setOnCopy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setCaretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setCaretColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setCaretColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setCaretColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setSelectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setSelectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setEllipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EllipsisMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EllipsisMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setEllipsisMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipsisMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EllipsisMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setEllipsisMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setEllipsisMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setEnableDataDetector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setEnableDataDetector(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setEnableDataDetector(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setEnableDataDetector, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setDataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextDataDetectorConfig valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonTextDataDetectorConfigSerializerImpl::read(thisDeserializer); - } - Opt_TextDataDetectorConfig valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setDataDetectorConfig(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextDataDetectorConfig valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonTextDataDetectorConfigSerializerImpl::read(thisDeserializer); + } + Opt_TextDataDetectorConfig valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setDataDetectorConfig(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setDataDetectorConfig, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setOnTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setOnTextSelectionChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFontFeature(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFontFeature(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFontFeature, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setMarqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextMarqueeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextTextMarqueeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextMarqueeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setMarqueeOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextMarqueeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextTextMarqueeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextMarqueeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setMarqueeOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setMarqueeOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setOnMarqueeStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_MarqueeState_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MARQUEESTATE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MARQUEESTATE_VOID))))}; - } - Opt_Callback_MarqueeState_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setOnMarqueeStateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_MarqueeState_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MARQUEESTATE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MARQUEESTATE_VOID))))}; + } + Opt_Callback_MarqueeState_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setOnMarqueeStateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setOnMarqueeStateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setPrivacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setPrivacySensitive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setPrivacySensitive, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setTextSelectable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextSelectableMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextSelectableMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setTextSelectable(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextSelectableMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextSelectableMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setTextSelectable(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setTextSelectable, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setEditMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditMenuOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditMenuOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setEditMenuOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setHalfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setHalfLeading, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fontValueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font fontValueValueTempTmpBuf = {}; - fontValueValueTempTmpBuf.tag = fontValueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fontValueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fontValueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font fontValueValueTemp = fontValueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontSettingOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTextCommonFontSettingOptionsSerializerImpl::read(thisDeserializer); - } - Opt_FontSettingOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFont(self, static_cast(&fontValueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fontValueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font fontValueValueTempTmpBuf = {}; + fontValueValueTempTmpBuf.tag = fontValueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fontValueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fontValueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font fontValueValueTemp = fontValueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontSettingOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTextCommonFontSettingOptionsSerializerImpl::read(thisDeserializer); + } + Opt_FontSettingOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFont(self, static_cast(&fontValueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto weightValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String weightValueTempTmpBuf = {}; - weightValueTempTmpBuf.tag = weightValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((weightValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 weightValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String weightValueTempTmpBufOpt = {}; - weightValueTempTmpBufOpt.selector = weightValueTempTmpBufOptUnionSelector; - if (weightValueTempTmpBufOptUnionSelector == 0) { - weightValueTempTmpBufOpt.selector = 0; - weightValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (weightValueTempTmpBufOptUnionSelector == 1) { - weightValueTempTmpBufOpt.selector = 1; - weightValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (weightValueTempTmpBufOptUnionSelector == 2) { - weightValueTempTmpBufOpt.selector = 2; - weightValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for weightValueTempTmpBufOpt has to be chosen through deserialisation."); - } - weightValueTempTmpBuf.value = static_cast(weightValueTempTmpBufOpt); - } - Opt_Union_I32_FontWeight_String weightValueTemp = weightValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontSettingOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTextCommonFontSettingOptionsSerializerImpl::read(thisDeserializer); - } - Opt_FontSettingOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setFontWeight(self, static_cast(&weightValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto weightValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String weightValueTempTmpBuf = {}; + weightValueTempTmpBuf.tag = weightValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((weightValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 weightValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String weightValueTempTmpBufOpt = {}; + weightValueTempTmpBufOpt.selector = weightValueTempTmpBufOptUnionSelector; + if (weightValueTempTmpBufOptUnionSelector == 0) { + weightValueTempTmpBufOpt.selector = 0; + weightValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (weightValueTempTmpBufOptUnionSelector == 1) { + weightValueTempTmpBufOpt.selector = 1; + weightValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (weightValueTempTmpBufOptUnionSelector == 2) { + weightValueTempTmpBufOpt.selector = 2; + weightValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for weightValueTempTmpBufOpt has to be chosen through deserialisation."); + } + weightValueTempTmpBuf.value = static_cast(weightValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String weightValueTemp = weightValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontSettingOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTextCommonFontSettingOptionsSerializerImpl::read(thisDeserializer); + } + Opt_FontSettingOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setFontWeight(self, static_cast(&weightValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setSelection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto selectionStartValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 selectionStartValueTempTmpBuf = {}; - selectionStartValueTempTmpBuf.tag = selectionStartValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((selectionStartValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - selectionStartValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 selectionStartValueTemp = selectionStartValueTempTmpBuf;; - const auto selectionEndValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 selectionEndValueTempTmpBuf = {}; - selectionEndValueTempTmpBuf.tag = selectionEndValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((selectionEndValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - selectionEndValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 selectionEndValueTemp = selectionEndValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setSelection(self, static_cast(&selectionStartValueTemp), static_cast(&selectionEndValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto selectionStartValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 selectionStartValueTempTmpBuf = {}; + selectionStartValueTempTmpBuf.tag = selectionStartValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((selectionStartValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + selectionStartValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 selectionStartValueTemp = selectionStartValueTempTmpBuf;; + const auto selectionEndValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 selectionEndValueTempTmpBuf = {}; + selectionEndValueTempTmpBuf.tag = selectionEndValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((selectionEndValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + selectionEndValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 selectionEndValueTemp = selectionEndValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setSelection(self, static_cast(&selectionStartValueTemp), static_cast(&selectionEndValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setSelection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAttribute_setBindSelectionMenu(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto spanTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextSpanType spanTypeValueTempTmpBuf = {}; - spanTypeValueTempTmpBuf.tag = spanTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((spanTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - spanTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextSpanType spanTypeValueTemp = spanTypeValueTempTmpBuf;; - const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; - const auto responseTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextResponseType responseTypeValueTempTmpBuf = {}; - responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((responseTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - responseTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionMenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorSelectionMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextModifier()->setBindSelectionMenu(self, static_cast(&spanTypeValueTemp), static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto spanTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextSpanType spanTypeValueTempTmpBuf = {}; + spanTypeValueTempTmpBuf.tag = spanTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((spanTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + spanTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextSpanType spanTypeValueTemp = spanTypeValueTempTmpBuf;; + const auto contentValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.tag = contentValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((contentValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + contentValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder contentValueTemp = contentValueTempTmpBuf;; + const auto responseTypeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextResponseType responseTypeValueTempTmpBuf = {}; + responseTypeValueTempTmpBuf.tag = responseTypeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((responseTypeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + responseTypeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextResponseType responseTypeValueTemp = responseTypeValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionMenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorSelectionMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionMenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextModifier()->setBindSelectionMenu(self, static_cast(&spanTypeValueTemp), static_cast(&contentValueTemp), static_cast(&responseTypeValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAttribute_setBindSelectionMenu, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextArea_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextAreaModifier()->construct(id, flags); + return GetNodeModifiers()->getTextAreaModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TextArea_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TextAreaInterface_setTextAreaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAreaOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextAreaTextAreaOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextAreaOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setTextAreaOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAreaOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextAreaTextAreaOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextAreaOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setTextAreaOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaInterface_setTextAreaOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setPlaceholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setPlaceholderColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setPlaceholderColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setPlaceholderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setPlaceholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setPlaceholderFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setPlaceholderFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setPlaceholderFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEnterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EnterKeyType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EnterKeyType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEnterKeyType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setTextAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setTextAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setTextAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setTextAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setCaretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setCaretColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setCaretColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setCaretColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setTextOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextOverflow valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextOverflow valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setTextOverflow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextOverflow valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextOverflow valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setTextOverflow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setTextOverflow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setTextIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setTextIndent(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setTextIndent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setTextIndent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setCaretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CaretStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonCaretStyleSerializerImpl::read(thisDeserializer); - } - Opt_CaretStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setCaretStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CaretStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonCaretStyleSerializerImpl::read(thisDeserializer); + } + Opt_CaretStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setCaretStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setCaretStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setSelectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setSelectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAreaSubmitCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTAREASUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTAREASUBMITCALLBACK))))}; - } - Opt_TextAreaSubmitCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAreaSubmitCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTAREASUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTAREASUBMITCALLBACK))))}; + } + Opt_TextAreaSubmitCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnSubmit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditableTextOnChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_EDITABLETEXTONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_EDITABLETEXTONCHANGECALLBACK))))}; - } - Opt_EditableTextOnChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditableTextOnChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_EDITABLETEXTONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_EDITABLETEXTONCHANGECALLBACK))))}; + } + Opt_EditableTextOnChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnTextSelectionChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_F64_F64_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_F64_F64_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_F64_F64_VOID))))}; - } - Opt_Callback_F64_F64_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnContentScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_F64_F64_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_F64_F64_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_F64_F64_VOID))))}; + } + Opt_Callback_F64_F64_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnContentScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnContentScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnEditChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnEditChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnEditChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; - } - Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnCopy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; + } + Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnCopy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnCopy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; - } - Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnCut(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; + } + Opt_synthetic_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnCut(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnCut, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_PasteEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_PASTEEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_PASTEEVENT_VOID))))}; - } - Opt_Callback_String_PasteEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnPaste(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_PasteEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_PASTEEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_PASTEEVENT_VOID))))}; + } + Opt_Callback_String_PasteEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnPaste(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnPaste, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setCopyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CopyOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setCopyOption(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CopyOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setCopyOption(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setCopyOption, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEnableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEnableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setMaxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setMaxLength, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextContentStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextContentStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextContentStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextContentStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setBarState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setBarState(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setBarState(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setBarState, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setSelectionMenuHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setSelectionMenuHidden(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setSelectionMenuHidden(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setSelectionMenuHidden, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setMinFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setMinFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setMaxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setMaxFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setHeightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextHeightAdaptivePolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextHeightAdaptivePolicy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setHeightAdaptivePolicy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextHeightAdaptivePolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextHeightAdaptivePolicy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setHeightAdaptivePolicy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setHeightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setMaxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setMaxLines, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setWordBreak(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WordBreak valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_WordBreak valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setWordBreak(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WordBreak valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_WordBreak valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setWordBreak(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setWordBreak, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setLineBreakStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineBreakStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineBreakStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setLineBreakStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineBreakStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineBreakStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setLineBreakStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setLineBreakStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setDecoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextDecorationOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonTextDecorationOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextDecorationOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setDecoration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextDecorationOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonTextDecorationOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextDecorationOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setDecoration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setDecoration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setLineSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setLineSpacing(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setLineSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setLineSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setLineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setLineHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setLineHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setLineHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAreaType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextAreaType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAreaType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextAreaType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEnableAutoFill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEnableAutoFill(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEnableAutoFill(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEnableAutoFill, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setContentType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContentType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ContentType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setContentType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ContentType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setContentType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setContentType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setFontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setFontFeature, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_InsertValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_BOOLEAN))))}; - } - Opt_Callback_InsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnWillInsert(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_InsertValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_BOOLEAN))))}; + } + Opt_Callback_InsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnWillInsert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnWillInsert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_InsertValue_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_VOID))))}; - } - Opt_Callback_InsertValue_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnDidInsert(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_InsertValue_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_VOID))))}; + } + Opt_Callback_InsertValue_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnDidInsert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnDidInsert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DeleteValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_BOOLEAN))))}; - } - Opt_Callback_DeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnWillDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DeleteValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_BOOLEAN))))}; + } + Opt_Callback_DeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnWillDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnWillDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DeleteValue_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_VOID))))}; - } - Opt_Callback_DeleteValue_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnDidDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DeleteValue_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_VOID))))}; + } + Opt_Callback_DeleteValue_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnDidDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnDidDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEditMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditMenuOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditMenuOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEditMenuOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEnablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEnablePreviewText, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setAutoCapitalizationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AutoCapitalizationMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AutoCapitalizationMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setAutoCapitalizationMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AutoCapitalizationMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AutoCapitalizationMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setAutoCapitalizationMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setAutoCapitalizationMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setHalfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setHalfLeading, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setEllipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EllipsisMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EllipsisMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setEllipsisMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipsisMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EllipsisMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setEllipsisMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setEllipsisMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setStopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setStopBackPress, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setOnWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_EditableTextChangeValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN))))}; - } - Opt_Callback_EditableTextChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_EditableTextChangeValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN))))}; + } + Opt_Callback_EditableTextChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setOnWillChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setKeyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardAppearance valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setKeyboardAppearance, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setInputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - const auto errorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_String_Void errorValueTempTmpBuf = {}; - errorValueTempTmpBuf.tag = errorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((errorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - errorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; - } - Opt_synthetic_Callback_String_Void errorValueTemp = errorValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setInputFilter(self, static_cast(&valueValueTemp), static_cast(&errorValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + const auto errorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_String_Void errorValueTempTmpBuf = {}; + errorValueTempTmpBuf.tag = errorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((errorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + errorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))}; + } + Opt_synthetic_Callback_String_Void errorValueTemp = errorValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setInputFilter(self, static_cast(&valueValueTemp), static_cast(&errorValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setInputFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setShowCounter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_InputCounterOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonInputCounterOptionsSerializerImpl::read(thisDeserializer); - } - Opt_InputCounterOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setShowCounter(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_InputCounterOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonInputCounterOptionsSerializerImpl::read(thisDeserializer); + } + Opt_InputCounterOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setShowCounter(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setShowCounter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextAreaAttribute_setCustomKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); - } - Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextAreaModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); + } + Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextAreaModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_setCustomKeyboard, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextClock_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextClockModifier()->construct(id, flags); + return GetNodeModifiers()->getTextClockModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TextClock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TextClockInterface_setTextClockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextClockOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTextClockTextClockOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextClockOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setTextClockOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextClockOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTextClockTextClockOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextClockOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setTextClockOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockInterface_setTextClockOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFormat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFormat(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFormat(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFormat, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setOnDateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_I64_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I64_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I64_VOID))))}; - } - Opt_arkui_component_common_Callback_I64_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setOnDateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_I64_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I64_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I64_VOID))))}; + } + Opt_arkui_component_common_Callback_I64_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setOnDateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setOnDateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setTextShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setTextShadow(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setTextShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setTextShadow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setFontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setFontFeature, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextClockAttribute_setDateTimeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_intl_DateTimeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = OhosIntlIntlDateTimeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_intl_DateTimeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextClockModifier()->setDateTimeOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_intl_DateTimeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = OhosIntlIntlDateTimeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_intl_DateTimeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextClockModifier()->setDateTimeOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextClockAttribute_setDateTimeOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextInput_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextInputModifier()->construct(id, flags); + return GetNodeModifiers()->getTextInputModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TextInput_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TextInputInterface_setTextInputOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextInputOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextInputTextInputOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextInputOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setTextInputOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextInputOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextInputTextInputOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextInputOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setTextInputOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputInterface_setTextInputOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_InputType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_InputType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_InputType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_InputType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setContentType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ContentType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ContentType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setContentType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ContentType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setContentType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setContentType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setPlaceholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setPlaceholderColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setPlaceholderColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setPlaceholderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setTextOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextOverflow valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextOverflow valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setTextOverflow(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextOverflow valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextOverflow valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setTextOverflow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setTextOverflow, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setTextIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setTextIndent(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setTextIndent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setTextIndent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setPlaceholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setPlaceholderFont(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setPlaceholderFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setPlaceholderFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEnterKeyType(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EnterKeyType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EnterKeyType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EnterKeyType valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEnterKeyType(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEnterKeyType, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCaretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCaretColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCaretColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCaretColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnEditChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnEditChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnEditChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnSubmitCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSUBMITCALLBACK))))}; - } - Opt_OnSubmitCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSubmitCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSUBMITCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSUBMITCALLBACK))))}; + } + Opt_OnSubmitCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnSubmit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnSubmit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditableTextOnChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_EDITABLETEXTONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_EDITABLETEXTONCHANGECALLBACK))))}; - } - Opt_EditableTextOnChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditableTextOnChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_EDITABLETEXTONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_EDITABLETEXTONCHANGECALLBACK))))}; + } + Opt_EditableTextOnChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTextSelectionChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTEXTSELECTIONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTEXTSELECTIONCHANGECALLBACK))))}; - } - Opt_OnTextSelectionChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTextSelectionChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTEXTSELECTIONCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTEXTSELECTIONCHANGECALLBACK))))}; + } + Opt_OnTextSelectionChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnTextSelectionChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnTextSelectionChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnContentScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCONTENTSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCONTENTSCROLLCALLBACK))))}; - } - Opt_OnContentScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnContentScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnContentScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONCONTENTSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONCONTENTSCROLLCALLBACK))))}; + } + Opt_OnContentScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnContentScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnContentScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setMaxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setMaxLength, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; - } - Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnCopy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; + } + Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnCopy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnCopy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; - } - Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnCut(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; + } + Opt_Callback_String_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnCut(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnCut, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnPasteCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONPASTECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONPASTECALLBACK))))}; - } - Opt_OnPasteCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnPaste(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnPasteCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONPASTECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONPASTECALLBACK))))}; + } + Opt_OnPasteCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnPaste(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnPaste, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCopyOption(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CopyOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCopyOption(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CopyOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CopyOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCopyOption(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCopyOption, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setShowPasswordIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setShowPasswordIcon(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setShowPasswordIcon(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setShowPasswordIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setTextAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAlign valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setTextAlign(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAlign valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextAlign valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setTextAlign(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setTextAlign, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_TextInputStyle_TextContentStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_TextInputStyle_TextContentStyle valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_TextInputStyle_TextContentStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_TextInputStyle_TextContentStyle valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_TextInputStyle_TextContentStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setStyle(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_TextInputStyle_TextContentStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCaretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CaretStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonCaretStyleSerializerImpl::read(thisDeserializer); - } - Opt_CaretStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCaretStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CaretStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonCaretStyleSerializerImpl::read(thisDeserializer); + } + Opt_CaretStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCaretStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCaretStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setSelectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setSelectedBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setSelectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCaretPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCaretPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEnableKeyboardOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEnableKeyboardOnFocus(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEnableKeyboardOnFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setPasswordIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PasswordIcon valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextInputPasswordIconSerializerImpl::read(thisDeserializer); - } - Opt_PasswordIcon valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setPasswordIcon(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PasswordIcon valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextInputPasswordIconSerializerImpl::read(thisDeserializer); + } + Opt_PasswordIcon valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setPasswordIcon(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setPasswordIcon, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setShowError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setShowError(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setShowError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setShowError, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setShowUnit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setShowUnit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setShowUnit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setShowUnit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setShowUnderline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setShowUnderline(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setShowUnderline(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setShowUnderline, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setUnderlineColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_UnderlineColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_UnderlineColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentTextInputUnderlineColorSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_UnderlineColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_UnderlineColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentTextInputUnderlineColorSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_UnderlineColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setUnderlineColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_UnderlineColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setUnderlineColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setUnderlineColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setSelectionMenuHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setSelectionMenuHidden(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setSelectionMenuHidden(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setSelectionMenuHidden, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setBarState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BarState valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_BarState valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setBarState(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BarState valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BarState valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setBarState(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setBarState, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setMaxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setMaxLines, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setWordBreak(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WordBreak valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_WordBreak valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setWordBreak(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WordBreak valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_WordBreak valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setWordBreak(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setWordBreak, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setLineBreakStrategy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineBreakStrategy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LineBreakStrategy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setLineBreakStrategy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LineBreakStrategy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LineBreakStrategy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setLineBreakStrategy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setLineBreakStrategy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCancelButton0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CancelButtonOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSearchCancelButtonOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CancelButtonOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCancelButton0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CancelButtonOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSearchCancelButtonOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CancelButtonOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCancelButton0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCancelButton0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCancelButton1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CancelButtonSymbolOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentSearchCancelButtonSymbolOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CancelButtonSymbolOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCancelButton1(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CancelButtonSymbolOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentSearchCancelButtonSymbolOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CancelButtonSymbolOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCancelButton1(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCancelButton1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setSelectAll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setSelectAll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setSelectAll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setSelectAll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setMinFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setMinFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setMinFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setMaxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setMaxFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setMaxFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setMinFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setMinFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setMinFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setMaxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setMaxFontScale(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setMaxFontScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setHeightAdaptivePolicy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextHeightAdaptivePolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_TextHeightAdaptivePolicy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setHeightAdaptivePolicy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextHeightAdaptivePolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_TextHeightAdaptivePolicy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setHeightAdaptivePolicy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setHeightAdaptivePolicy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEnableAutoFill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEnableAutoFill(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEnableAutoFill(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEnableAutoFill, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setDecoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextDecorationOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonTextDecorationOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextDecorationOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setDecoration(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextDecorationOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonTextDecorationOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextDecorationOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setDecoration(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setDecoration, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setLetterSpacing(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setLineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String_Resource valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String_Resource valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setLineHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String_Resource valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setLineHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setLineHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setPasswordRules(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setPasswordRules(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setPasswordRules(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setPasswordRules, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setFontFeature(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setFontFeature(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setFontFeature(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setFontFeature, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setShowPassword(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setShowPassword(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setShowPassword(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setShowPassword, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnSecurityStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnSecurityStateChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_common_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_arkui_component_common_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnSecurityStateChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnSecurityStateChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_InsertValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_BOOLEAN))))}; - } - Opt_Callback_InsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnWillInsert(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_InsertValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_BOOLEAN))))}; + } + Opt_Callback_InsertValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnWillInsert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnWillInsert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_InsertValue_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_VOID))))}; - } - Opt_Callback_InsertValue_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnDidInsert(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_InsertValue_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_INSERTVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_INSERTVALUE_VOID))))}; + } + Opt_Callback_InsertValue_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnDidInsert(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnDidInsert, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DeleteValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_BOOLEAN))))}; - } - Opt_Callback_DeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnWillDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DeleteValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_BOOLEAN))))}; + } + Opt_Callback_DeleteValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnWillDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnWillDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_DeleteValue_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_VOID))))}; - } - Opt_Callback_DeleteValue_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnDidDelete(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_DeleteValue_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DELETEVALUE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DELETEVALUE_VOID))))}; + } + Opt_Callback_DeleteValue_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnDidDelete(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnDidDelete, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEditMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EditMenuOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EditMenuOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextCommonEditMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_EditMenuOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEditMenuOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEditMenuOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEnablePreviewText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEnablePreviewText(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEnablePreviewText, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setAutoCapitalizationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AutoCapitalizationMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_AutoCapitalizationMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setAutoCapitalizationMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AutoCapitalizationMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AutoCapitalizationMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setAutoCapitalizationMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setAutoCapitalizationMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setHalfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setHalfLeading(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setHalfLeading, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setEllipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EllipsisMode valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EllipsisMode valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setEllipsisMode(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipsisMode valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EllipsisMode valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setEllipsisMode(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setEllipsisMode, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setStopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setStopBackPress(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setStopBackPress, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setOnWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_EditableTextChangeValue_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN))))}; - } - Opt_Callback_EditableTextChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_EditableTextChangeValue_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_EDITABLETEXTCHANGEVALUE_BOOLEAN))))}; + } + Opt_Callback_EditableTextChangeValue_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setOnWillChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setOnWillChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setKeyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardAppearance valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setKeyboardAppearance(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setKeyboardAppearance, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setInputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); - } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - const auto errorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void errorValueTempTmpBuf = {}; - errorValueTempTmpBuf.tag = errorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((errorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - errorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; - } - Opt_Callback_String_Void errorValueTemp = errorValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setInputFilter(self, static_cast(&valueValueTemp), static_cast(&errorValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + const auto errorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void errorValueTempTmpBuf = {}; + errorValueTempTmpBuf.tag = errorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((errorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + errorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_VOID))))}; + } + Opt_Callback_String_Void errorValueTemp = errorValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setInputFilter(self, static_cast(&valueValueTemp), static_cast(&errorValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setInputFilter, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setCustomKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; - } - Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); - } - Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomNodeBuilder valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))}; + } + Opt_CustomNodeBuilder valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorKeyboardOptionsSerializerImpl::read(thisDeserializer); + } + Opt_KeyboardOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setCustomKeyboard(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setCustomKeyboard, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextInputAttribute_setShowCounter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_InputCounterOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonInputCounterOptionsSerializerImpl::read(thisDeserializer); - } - Opt_InputCounterOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextInputModifier()->setShowCounter(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_InputCounterOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonInputCounterOptionsSerializerImpl::read(thisDeserializer); + } + Opt_InputCounterOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextInputModifier()->setShowCounter(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextInputAttribute_setShowCounter, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextPicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextPickerModifier()->construct(id, flags); + return GetNodeModifiers()->getTextPickerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TextPicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TextPickerInterface_setTextPickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextPickerOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTextPickerTextPickerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextPickerOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setTextPickerOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextPickerOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTextPickerTextPickerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextPickerOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setTextPickerOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerInterface_setTextPickerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setDefaultPickerItemHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_F64_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_F64_String valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_F64_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_F64_String valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_F64_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setDefaultPickerItemHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setCanLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setCanLoop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setCanLoop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setCanLoop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setDisappearTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setDisappearTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setSelectedTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setSelectedTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setDisableTextStyleAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setDisableTextStyleAnimation(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setDisableTextStyleAnimation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setDisableTextStyleAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setDefaultTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextPickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextPickerTextPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_TextPickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setDefaultTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextPickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextPickerTextPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_TextPickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setDefaultTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setDefaultTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTextPickerChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTEXTPICKERCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTEXTPICKERCHANGECALLBACK))))}; - } - Opt_OnTextPickerChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTextPickerChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTEXTPICKERCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTEXTPICKERCHANGECALLBACK))))}; + } + Opt_OnTextPickerChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setOnScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextPickerScrollStopCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTPICKERSCROLLSTOPCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTPICKERSCROLLSTOPCALLBACK))))}; - } - Opt_TextPickerScrollStopCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setOnScrollStop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextPickerScrollStopCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTPICKERSCROLLSTOPCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTPICKERSCROLLSTOPCALLBACK))))}; + } + Opt_TextPickerScrollStopCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setOnScrollStop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setOnScrollStop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setOnEnterSelectedArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextPickerEnterSelectedAreaCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTPICKERENTERSELECTEDAREACALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTPICKERENTERSELECTEDAREACALLBACK))))}; - } - Opt_TextPickerEnterSelectedAreaCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setOnEnterSelectedArea(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextPickerEnterSelectedAreaCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTPICKERENTERSELECTEDAREACALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTPICKERENTERSELECTEDAREACALLBACK))))}; + } + Opt_TextPickerEnterSelectedAreaCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setOnEnterSelectedArea(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setOnEnterSelectedArea, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setSelectedIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_Array_I32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_Array_I32 valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_I32 valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_Array_I32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_Array_I32 valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_I32 valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = thisDeserializer.readInt32(); - } - valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = thisDeserializer.readInt32(); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_Array_I32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_Array_I32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setSelectedIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentTextPickerDividerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_DividerOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setDivider(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentTextPickerDividerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_DividerOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setDivider(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setDivider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setGradientHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setGradientHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Dimension valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setGradientHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setGradientHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextPickerAttribute_setDigitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CrownSensitivity valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextPickerModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextPickerModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_setDigitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextTimer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextTimerModifier()->construct(id, flags); + return GetNodeModifiers()->getTextTimerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TextTimer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TextTimerInterface_setTextTimerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextTimerOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTextTimerTextTimerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextTimerOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setTextTimerOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextTimerOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTextTimerTextTimerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextTimerOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setTextTimerOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerInterface_setTextTimerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setFormat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setFormat(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setFormat(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setFormat, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setFontSize(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setFontSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setFontSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setFontStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setFontStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FontStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setFontStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setFontStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setFontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_I32_FontWeight_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_I32_FontWeight_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value2 = static_cast(valueValueTempTmpBufOptBufU); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_I32_FontWeight_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_I32_FontWeight_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value2 = static_cast(valueValueTempTmpBufOptBufU); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_I32_FontWeight_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setFontWeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_I32_FontWeight_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setFontWeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setFontWeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setFontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setFontFamily(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceStr valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setFontFamily(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setFontFamily, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setOnTimer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TimerCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TIMERCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TIMERCALLBACK))))}; - } - Opt_TimerCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setOnTimer(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TimerCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TIMERCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TIMERCALLBACK))))}; + } + Opt_TimerCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setOnTimer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setOnTimer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TextTimerAttribute_setTextShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); - Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; - thisDeserializer.resizeArray::type, + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int32 valueValueTempTmpBufOptBufULength = thisDeserializer.readInt32(); + Array_ShadowOptions valueValueTempTmpBufOptBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufOptBufU, valueValueTempTmpBufOptBufULength); - for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { - valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); + for (int valueValueTempTmpBufOptBufUBufCounterI = 0; valueValueTempTmpBufOptBufUBufCounterI < valueValueTempTmpBufOptBufULength; valueValueTempTmpBufOptBufUBufCounterI++) { + valueValueTempTmpBufOptBufU.array[valueValueTempTmpBufOptBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + valueValueTempTmpBufOpt.value1 = valueValueTempTmpBufOptBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTextTimerModifier()->setTextShadow(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTextTimerModifier()->setTextShadow(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_setTextShadow, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TimePicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTimePickerModifier()->construct(id, flags); + return GetNodeModifiers()->getTimePickerModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(TimePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_TimePickerInterface_setTimePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TimePickerOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentTimePickerTimePickerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TimePickerOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setTimePickerOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TimePickerOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentTimePickerTimePickerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TimePickerOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setTimePickerOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerInterface_setTimePickerOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setUseMilitaryTime(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setUseMilitaryTime, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setLoop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setLoop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setLoop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setDisappearTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setDisappearTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setSelectedTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PickerTextStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); - } - Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentCommonPickerTextStyleSerializerImpl::read(thisDeserializer); + } + Opt_PickerTextStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setSelectedTextStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setDateTimeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_intl_DateTimeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = OhosIntlIntlDateTimeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_intl_DateTimeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_intl_DateTimeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = OhosIntlIntlDateTimeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_intl_DateTimeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setDateTimeOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnTimePickerChangeCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTIMEPICKERCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTIMEPICKERCHANGECALLBACK))))}; - } - Opt_OnTimePickerChangeCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTimePickerChangeCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONTIMEPICKERCHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONTIMEPICKERCHANGECALLBACK))))}; + } + Opt_OnTimePickerChangeCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setOnEnterSelectedArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TimePickerResult_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TIMEPICKERRESULT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TIMEPICKERRESULT_VOID))))}; - } - Opt_Callback_TimePickerResult_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setOnEnterSelectedArea(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TimePickerResult_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TIMEPICKERRESULT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TIMEPICKERRESULT_VOID))))}; + } + Opt_Callback_TimePickerResult_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setOnEnterSelectedArea(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setOnEnterSelectedArea, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setEnableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setEnableHapticFeedback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setDigitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CrownSensitivity valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setDigitalCrownSensitivity(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setDigitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TimePickerAttribute_setEnableCascade(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getTimePickerModifier()->setEnableCascade(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getTimePickerModifier()->setEnableCascade(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_setEnableCascade, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Toggle_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getToggleModifier()->construct(id, flags); + return GetNodeModifiers()->getToggleModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Toggle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ToggleInterface_setToggleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ToggleOptions optionsValueTemp = ArkuiComponentToggleToggleOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getToggleModifier()->setToggleOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ToggleOptions optionsValueTemp = ArkuiComponentToggleToggleOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getToggleModifier()->setToggleOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToggleInterface_setToggleOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ToggleAttribute_setOnChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; - } - Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getToggleModifier()->setOnChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_synthetic_Callback_Boolean_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_BOOLEAN_VOID))))}; + } + Opt_synthetic_Callback_Boolean_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getToggleModifier()->setOnChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToggleAttribute_setOnChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ToggleAttribute_setSelectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getToggleModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getToggleModifier()->setSelectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToggleAttribute_setSelectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ToggleAttribute_setSwitchPointColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getToggleModifier()->setSwitchPointColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getToggleModifier()->setSwitchPointColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToggleAttribute_setSwitchPointColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ToggleAttribute_setSwitchStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwitchStyle valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentToggleSwitchStyleSerializerImpl::read(thisDeserializer); - } - Opt_SwitchStyle valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getToggleModifier()->setSwitchStyle(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwitchStyle valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentToggleSwitchStyleSerializerImpl::read(thisDeserializer); + } + Opt_SwitchStyle valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getToggleModifier()->setSwitchStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToggleAttribute_setSwitchStyle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ToolBarItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getToolBarItemModifier()->construct(id, flags); + return GetNodeModifiers()->getToolBarItemModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ToolBarItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ToolBarItemInterface_setToolBarItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ToolBarItemOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentToolbarToolBarItemOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ToolBarItemOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getToolBarItemModifier()->setToolBarItemOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ToolBarItemOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentToolbarToolBarItemOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ToolBarItemOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getToolBarItemModifier()->setToolBarItemOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ToolBarItemInterface_setToolBarItemOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_UIExtensionComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(UIExtensionComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_UIExtensionComponentInterface_setUIExtensionComponentOptions(Ark_NativePointer thisPtr, Ark_NativePointer want, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_UIExtensionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentUiExtensionComponentUIExtensionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_UIExtensionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setUIExtensionComponentOptions(self, static_cast(want), static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_UIExtensionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentUiExtensionComponentUIExtensionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_UIExtensionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setUIExtensionComponentOptions(self, static_cast(want), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V4(UIExtensionComponentInterface_setUIExtensionComponentOptions, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UIExtensionComponentAttribute_setOnRemoteReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_UIExtensionProxy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))}; - } - Opt_Callback_UIExtensionProxy valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRemoteReady(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_UIExtensionProxy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))}; + } + Opt_Callback_UIExtensionProxy valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRemoteReady(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_setOnRemoteReady, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UIExtensionComponentAttribute_setOnReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Map_String_Opt_Object valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MAP_STRING_OPT_OBJECT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MAP_STRING_OPT_OBJECT))))}; - } - Opt_Callback_Map_String_Opt_Object valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Map_String_Opt_Object valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MAP_STRING_OPT_OBJECT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MAP_STRING_OPT_OBJECT))))}; + } + Opt_Callback_Map_String_Opt_Object valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_setOnReceive, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UIExtensionComponentAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID))))}; - } - Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID))))}; + } + Opt_ErrorCallback_BusinessErrorInterface_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UIExtensionComponentAttribute_setOnTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TerminationInfo valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TERMINATIONINFO)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TERMINATIONINFO))))}; - } - Opt_Callback_TerminationInfo valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnTerminated(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TerminationInfo valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TERMINATIONINFO)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TERMINATIONINFO))))}; + } + Opt_Callback_TerminationInfo valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnTerminated(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_setOnTerminated, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UIExtensionComponentAttribute_setOnDrawReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnDrawReady(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnDrawReady(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_setOnDrawReady, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Video_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getVideoModifier()->construct(id, flags); + return GetNodeModifiers()->getVideoModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(Video_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_VideoInterface_setVideoOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_VideoOptions valueValueTemp = ArkuiComponentVideoVideoOptionsSerializerImpl::read(thisDeserializer);; - GetNodeModifiers()->getVideoModifier()->setVideoOptions(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_VideoOptions valueValueTemp = ArkuiComponentVideoVideoOptionsSerializerImpl::read(thisDeserializer);; + GetNodeModifiers()->getVideoModifier()->setVideoOptions(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoInterface_setVideoOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setMuted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setMuted(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setMuted(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setMuted, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setAutoPlay(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setAutoPlay(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setAutoPlay(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setAutoPlay, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setControls(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setControls(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setControls(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setControls, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setLoop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setLoop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setLoop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setObjectFit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageFit valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setObjectFit(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageFit valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ImageFit valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setObjectFit(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setObjectFit, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnStart(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnStart(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnPause(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnPause(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnPause, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnFinish(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnFinish(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnFinish, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnFullscreenChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_FullscreenInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FULLSCREENINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FULLSCREENINFO_VOID))))}; - } - Opt_Callback_FullscreenInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_FullscreenInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_FULLSCREENINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_FULLSCREENINFO_VOID))))}; + } + Opt_Callback_FullscreenInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnFullscreenChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnPrepared(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PreparedInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PREPAREDINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PREPAREDINFO_VOID))))}; - } - Opt_Callback_PreparedInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PreparedInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PREPAREDINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PREPAREDINFO_VOID))))}; + } + Opt_Callback_PreparedInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnPrepared, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnSeeking(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PLAYBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PLAYBACKINFO_VOID))))}; - } - Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PLAYBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PLAYBACKINFO_VOID))))}; + } + Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnSeeking, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnSeeked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PLAYBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PLAYBACKINFO_VOID))))}; - } - Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PLAYBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PLAYBACKINFO_VOID))))}; + } + Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnSeeked, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PLAYBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PLAYBACKINFO_VOID))))}; - } - Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PlaybackInfo_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_PLAYBACKINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_PLAYBACKINFO_VOID))))}; + } + Opt_Callback_PlaybackInfo_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnUpdate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_VoidCallback_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_VoidCallback_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID))))}; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_VoidCallback_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_VoidCallback_ErrorCallback_BusinessErrorInterface_Void valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ERRORCALLBACK_BUSINESSERRORINTERFACE_VOID))))}; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_VoidCallback_ErrorCallback_BusinessErrorInterface_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnError(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_VoidCallback_ErrorCallback_BusinessErrorInterface_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnError(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnError, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setOnStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setOnStop(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setOnStop(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setOnStop, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setEnableAnalyzer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setAnalyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ImageAnalyzerConfig valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer); - } - Opt_ImageAnalyzerConfig valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ImageAnalyzerConfig valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer); + } + Opt_ImageAnalyzerConfig valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setAnalyzerConfig, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setEnableShortcutKey(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setEnableShortcutKey(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setEnableShortcutKey(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setEnableShortcutKey, Ark_NativePointer, KSerializerBuffer, KInt) void impl_VideoAttribute_setSurfaceBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ColorMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getVideoModifier()->setSurfaceBackgroundColor(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ColorMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_ColorMetrics valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getVideoModifier()->setSurfaceBackgroundColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(VideoAttribute_setSurfaceBackgroundColor, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_WaterFlow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags); + return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(WaterFlow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WaterFlowOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentWaterFlowWaterFlowOptionsSerializerImpl::read(thisDeserializer); - } - Opt_WaterFlowOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WaterFlowOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentWaterFlowWaterFlowOptionsSerializerImpl::read(thisDeserializer); + } + Opt_WaterFlowOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setColumnsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setColumnsTemplate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setItemConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ConstraintSizeOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ConstraintSizeOptions valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setItemConstraintSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setRowsTemplate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setRowsTemplate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setColumnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setColumnsGap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setRowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setRowsGap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setLayoutDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_FlexDirection valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_FlexDirection valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_FlexDirection valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_FlexDirection valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setLayoutDirection, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setCachedCount0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setCachedCount0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setOnScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; - } - Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollFrameBeginCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLFRAMEBEGINCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLFRAMEBEGINCALLBACK))))}; + } + Opt_OnScrollFrameBeginCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setOnScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; - } - Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_I32_I32_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_I32_I32_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_I32_I32_VOID))))}; + } + Opt_Callback_I32_I32_Void valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnScrollIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setOnWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONWILLSCROLLCALLBACK))))}; - } - Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnWillScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONWILLSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONWILLSCROLLCALLBACK))))}; + } + Opt_OnWillScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnWillScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnWillScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setOnDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnScrollCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLCALLBACK))))}; - } - Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnScrollCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONSCROLLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONSCROLLCALLBACK))))}; + } + Opt_OnScrollCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setOnDidScroll(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setOnDidScroll, Ark_NativePointer, KSerializerBuffer, KInt) void impl_WaterFlowAttribute_setCachedCount1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 countValueTempTmpBuf = {}; - countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - countValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 countValueTemp = countValueTempTmpBuf;; - const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean showValueTempTmpBuf = {}; - showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - showValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean showValueTemp = showValueTempTmpBuf;; - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto countValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 countValueTempTmpBuf = {}; + countValueTempTmpBuf.tag = countValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((countValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + countValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 countValueTemp = countValueTempTmpBuf;; + const auto showValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean showValueTempTmpBuf = {}; + showValueTempTmpBuf.tag = showValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((showValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + showValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean showValueTemp = showValueTempTmpBuf;; + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, static_cast(&countValueTemp), static_cast(&showValueTemp)); } KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_setCachedCount1, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_WindowScene_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWindowSceneModifier()->construct(id, flags); + return GetNodeModifiers()->getWindowSceneModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(WindowScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_WindowSceneInterface_setWindowSceneOptions(Ark_NativePointer thisPtr, Ark_Int32 persistentId) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWindowSceneModifier()->setWindowSceneOptions(self, persistentId); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWindowSceneModifier()->setWindowSceneOptions(self, persistentId); } KOALA_INTEROP_DIRECT_V2(WindowSceneInterface_setWindowSceneOptions, Ark_NativePointer, Ark_Int32) void impl_WindowSceneAttribute_setAttractionEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto destinationValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Position destinationValueTempTmpBuf = {}; - destinationValueTempTmpBuf.tag = destinationValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((destinationValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - destinationValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); - } - Opt_Position destinationValueTemp = destinationValueTempTmpBuf;; - const auto fractionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 fractionValueTempTmpBuf = {}; - fractionValueTempTmpBuf.tag = fractionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fractionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fractionValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 fractionValueTemp = fractionValueTempTmpBuf;; - GetNodeModifiers()->getWindowSceneModifier()->setAttractionEffect(self, static_cast(&destinationValueTemp), static_cast(&fractionValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto destinationValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Position destinationValueTempTmpBuf = {}; + destinationValueTempTmpBuf.tag = destinationValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((destinationValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + destinationValueTempTmpBuf.value = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer); + } + Opt_Position destinationValueTemp = destinationValueTempTmpBuf;; + const auto fractionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 fractionValueTempTmpBuf = {}; + fractionValueTempTmpBuf.tag = fractionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fractionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fractionValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 fractionValueTemp = fractionValueTempTmpBuf;; + GetNodeModifiers()->getWindowSceneModifier()->setAttractionEffect(self, static_cast(&destinationValueTemp), static_cast(&fractionValueTemp)); } KOALA_INTEROP_DIRECT_V3(WindowSceneAttribute_setAttractionEffect, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_WithTheme_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWithThemeModifier()->construct(id, flags); + return GetNodeModifiers()->getWithThemeModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(WithTheme_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_WithThemeInterface_setWithThemeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WithThemeOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentWithThemeWithThemeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_WithThemeOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetNodeModifiers()->getWithThemeModifier()->setWithThemeOptions(self, static_cast(&optionsValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WithThemeOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentWithThemeWithThemeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_WithThemeOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetNodeModifiers()->getWithThemeModifier()->setWithThemeOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(WithThemeInterface_setWithThemeOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_XComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getXComponentModifier()->construct(id, flags); + return GetNodeModifiers()->getXComponentModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(XComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_XComponentInterface_setXComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 paramsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters paramsValueTempTmpBuf = {}; - paramsValueTempTmpBuf.selector = paramsValueTempTmpBufUnionSelector; - if (paramsValueTempTmpBufUnionSelector == 0) { - paramsValueTempTmpBuf.selector = 0; - paramsValueTempTmpBuf.value0 = ArkuiComponentXcomponentXComponentParametersSerializerImpl::read(thisDeserializer); - } else if (paramsValueTempTmpBufUnionSelector == 1) { - paramsValueTempTmpBuf.selector = 1; - paramsValueTempTmpBuf.value1 = ArkuiComponentXcomponentXComponentOptionsSerializerImpl::read(thisDeserializer); - } else if (paramsValueTempTmpBufUnionSelector == 2) { - paramsValueTempTmpBuf.selector = 2; - paramsValueTempTmpBuf.value2 = ArkuiComponentXcomponentNativeXComponentParametersSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for paramsValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters paramsValueTemp = static_cast(paramsValueTempTmpBuf);; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions(self, static_cast(¶msValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 paramsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters paramsValueTempTmpBuf = {}; + paramsValueTempTmpBuf.selector = paramsValueTempTmpBufUnionSelector; + if (paramsValueTempTmpBufUnionSelector == 0) { + paramsValueTempTmpBuf.selector = 0; + paramsValueTempTmpBuf.value0 = ArkuiComponentXcomponentXComponentParametersSerializerImpl::read(thisDeserializer); + } else if (paramsValueTempTmpBufUnionSelector == 1) { + paramsValueTempTmpBuf.selector = 1; + paramsValueTempTmpBuf.value1 = ArkuiComponentXcomponentXComponentOptionsSerializerImpl::read(thisDeserializer); + } else if (paramsValueTempTmpBufUnionSelector == 2) { + paramsValueTempTmpBuf.selector = 2; + paramsValueTempTmpBuf.value2 = ArkuiComponentXcomponentNativeXComponentParametersSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for paramsValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_XComponentParameters_XComponentOptions_NativeXComponentParameters paramsValueTemp = static_cast(paramsValueTempTmpBuf);; + GetNodeModifiers()->getXComponentModifier()->setXComponentOptions(self, static_cast(¶msValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentAttribute_setOnLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setOnLoad, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentAttribute_setOnDestroy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setOnDestroy(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setOnDestroy(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setOnDestroy, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentAttribute_setEnableAnalyzer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setEnableAnalyzer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setEnableAnalyzer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentAttribute_setEnableSecure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setEnableSecure(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setEnableSecure(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setEnableSecure, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentAttribute_setEnableTransparentLayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setEnableTransparentLayer(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setEnableTransparentLayer(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setEnableTransparentLayer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentAttribute_setHdrBrightness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; - GetNodeModifiers()->getXComponentModifier()->setHdrBrightness(self, static_cast(&valueValueTemp)); + Ark_NodeHandle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 valueValueTemp = valueValueTempTmpBuf;; + GetNodeModifiers()->getXComponentModifier()->setHdrBrightness(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentAttribute_setHdrBrightness, Ark_NativePointer, KSerializerBuffer, KInt) -Ark_NativePointer impl_ComponentRoot_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getComponentRootModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(ComponentRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -Ark_NativePointer impl_ConditionScope_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getConditionScopeModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(ConditionScope_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -Ark_NativePointer impl_CustomBuilderRoot_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCustomBuilderRootModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(CustomBuilderRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -Ark_NativePointer impl_CustomLayoutRoot_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCustomLayoutRootModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(CustomLayoutRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CustomLayoutRoot_setSubscribeOnMeasureSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_onMeasureSize_SizeResult valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONMEASURESIZE_SIZERESULT)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONMEASURESIZE_SIZERESULT))))};; - GetNodeModifiers()->getCustomLayoutRootModifier()->setSubscribeOnMeasureSize(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(CustomLayoutRoot_setSubscribeOnMeasureSize, Ark_NativePointer, KSerializerBuffer, KInt) -void impl_CustomLayoutRoot_setSubscribeOnPlaceChildren(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_onPlaceChildren_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONPLACECHILDREN_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONPLACECHILDREN_VOID))))};; - GetNodeModifiers()->getCustomLayoutRootModifier()->setSubscribeOnPlaceChildren(self, static_cast(&valueValueTemp)); -} -KOALA_INTEROP_DIRECT_V3(CustomLayoutRoot_setSubscribeOnPlaceChildren, Ark_NativePointer, KSerializerBuffer, KInt) -Ark_NativePointer impl_Root_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRootModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Root_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -Ark_NativePointer impl_RoutedPage_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRoutedPageModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(RoutedPage_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) // Accessors Ark_NativePointer impl_AccessibilityHoverEvent_construct() { - return GetAccessors()->getAccessibilityHoverEventAccessor()->construct(); + return GetAccessors()->getAccessibilityHoverEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_construct, Ark_NativePointer) Ark_NativePointer impl_AccessibilityHoverEvent_getFinalizer() { - return GetAccessors()->getAccessibilityHoverEventAccessor()->getFinalizer(); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_getFinalizer, Ark_NativePointer) +void impl_AccessibilityHoverEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(AccessibilityHoverEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_AccessibilityHoverEvent_getType(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getType(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getType(self); } KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getType, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setType(self, static_cast(type)); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setType(self, static_cast(type)); } KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setType, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_AccessibilityHoverEvent_getX(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getX(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getX(self); } KOALA_INTEROP_1(AccessibilityHoverEvent_getX, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setX(Ark_NativePointer thisPtr, KDouble x) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setX(self, x); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setX(self, x); } KOALA_INTEROP_V2(AccessibilityHoverEvent_setX, Ark_NativePointer, KDouble) Ark_Int32 impl_AccessibilityHoverEvent_getY(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getY(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getY(self); } KOALA_INTEROP_1(AccessibilityHoverEvent_getY, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setY(Ark_NativePointer thisPtr, KDouble y) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setY(self, y); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setY(self, y); } KOALA_INTEROP_V2(AccessibilityHoverEvent_setY, Ark_NativePointer, KDouble) Ark_Int32 impl_AccessibilityHoverEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayX(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayX(self); } KOALA_INTEROP_1(AccessibilityHoverEvent_getDisplayX, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setDisplayX(Ark_NativePointer thisPtr, KDouble displayX) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayX(self, displayX); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayX(self, displayX); } KOALA_INTEROP_V2(AccessibilityHoverEvent_setDisplayX, Ark_NativePointer, KDouble) Ark_Int32 impl_AccessibilityHoverEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayY(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayY(self); } KOALA_INTEROP_1(AccessibilityHoverEvent_getDisplayY, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setDisplayY(Ark_NativePointer thisPtr, KDouble displayY) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayY(self, displayY); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayY(self, displayY); } KOALA_INTEROP_V2(AccessibilityHoverEvent_setDisplayY, Ark_NativePointer, KDouble) Ark_Int32 impl_AccessibilityHoverEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowX(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowX(self); } KOALA_INTEROP_1(AccessibilityHoverEvent_getWindowX, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setWindowX(Ark_NativePointer thisPtr, KDouble windowX) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowX(self, windowX); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowX(self, windowX); } KOALA_INTEROP_V2(AccessibilityHoverEvent_setWindowX, Ark_NativePointer, KDouble) Ark_Int32 impl_AccessibilityHoverEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowY(self); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowY(self); } KOALA_INTEROP_1(AccessibilityHoverEvent_getWindowY, Ark_Int32, Ark_NativePointer) void impl_AccessibilityHoverEvent_setWindowY(Ark_NativePointer thisPtr, KDouble windowY) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowY(self, windowY); + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowY(self, windowY); } KOALA_INTEROP_V2(AccessibilityHoverEvent_setWindowY, Ark_NativePointer, KDouble) void impl_ActionSheet_show(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ActionSheetOptions optionsValueTemp = ArkuiComponentActionSheetActionSheetOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getActionSheetAccessor()->show(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ActionSheetOptions optionsValueTemp = ArkuiComponentActionSheetActionSheetOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getActionSheetAccessor()->show(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(ActionSheet_show, KSerializerBuffer, KInt) void impl_AlertDialog_show(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 optionsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_AlertDialogParamWithConfirm_AlertDialogParamWithButtons_AlertDialogParamWithOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.selector = optionsValueTempTmpBufUnionSelector; - if (optionsValueTempTmpBufUnionSelector == 0) { - optionsValueTempTmpBuf.selector = 0; - optionsValueTempTmpBuf.value0 = ArkuiComponentAlertDialogAlertDialogParamWithConfirmSerializerImpl::read(thisDeserializer); - } else if (optionsValueTempTmpBufUnionSelector == 1) { - optionsValueTempTmpBuf.selector = 1; - optionsValueTempTmpBuf.value1 = ArkuiComponentAlertDialogAlertDialogParamWithButtonsSerializerImpl::read(thisDeserializer); - } else if (optionsValueTempTmpBufUnionSelector == 2) { - optionsValueTempTmpBuf.selector = 2; - optionsValueTempTmpBuf.value2 = ArkuiComponentAlertDialogAlertDialogParamWithOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for optionsValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_AlertDialogParamWithConfirm_AlertDialogParamWithButtons_AlertDialogParamWithOptions optionsValueTemp = static_cast(optionsValueTempTmpBuf);; - GetAccessors()->getAlertDialogAccessor()->show(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 optionsValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_AlertDialogParamWithConfirm_AlertDialogParamWithButtons_AlertDialogParamWithOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.selector = optionsValueTempTmpBufUnionSelector; + if (optionsValueTempTmpBufUnionSelector == 0) { + optionsValueTempTmpBuf.selector = 0; + optionsValueTempTmpBuf.value0 = ArkuiComponentAlertDialogAlertDialogParamWithConfirmSerializerImpl::read(thisDeserializer); + } else if (optionsValueTempTmpBufUnionSelector == 1) { + optionsValueTempTmpBuf.selector = 1; + optionsValueTempTmpBuf.value1 = ArkuiComponentAlertDialogAlertDialogParamWithButtonsSerializerImpl::read(thisDeserializer); + } else if (optionsValueTempTmpBufUnionSelector == 2) { + optionsValueTempTmpBuf.selector = 2; + optionsValueTempTmpBuf.value2 = ArkuiComponentAlertDialogAlertDialogParamWithOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for optionsValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_AlertDialogParamWithConfirm_AlertDialogParamWithButtons_AlertDialogParamWithOptions optionsValueTemp = static_cast(optionsValueTempTmpBuf);; + GetAccessors()->getAlertDialogAccessor()->show(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(AlertDialog_show, KSerializerBuffer, KInt) void impl_AnimationExtender_SetClipRect(Ark_NativePointer node, KFloat x, KFloat y, KFloat width, KFloat height) { - GetAccessors()->getAnimationExtenderAccessor()->SetClipRect(node, x, y, width, height); + GetAccessors()->getAnimationExtenderAccessor()->SetClipRect(node, x, y, width, height); } KOALA_INTEROP_DIRECT_V5(AnimationExtender_SetClipRect, Ark_NativePointer, KFloat, KFloat, KFloat, KFloat) void impl_AnimationExtender_OpenImplicitAnimation(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AnimateParam paramValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; - GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimation(static_cast(¶mValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AnimateParam paramValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; + GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimation(static_cast(¶mValueTemp)); } KOALA_INTEROP_DIRECT_V2(AnimationExtender_OpenImplicitAnimation, KSerializerBuffer, KInt) void impl_AnimationExtender_CloseImplicitAnimation() { - GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimation(); + GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimation(); } KOALA_INTEROP_DIRECT_V0(AnimationExtender_CloseImplicitAnimation) void impl_AnimationExtender_OpenImplicitAnimationForAnimation(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto paramValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AnimateParam paramValueTempTmpBuf = {}; - paramValueTempTmpBuf.tag = paramValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((paramValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - paramValueTempTmpBuf.value = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer); - } - Opt_AnimateParam paramValueTemp = paramValueTempTmpBuf;; - GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimationForAnimation(node, static_cast(¶mValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto paramValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AnimateParam paramValueTempTmpBuf = {}; + paramValueTempTmpBuf.tag = paramValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((paramValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + paramValueTempTmpBuf.value = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer); + } + Opt_AnimateParam paramValueTemp = paramValueTempTmpBuf;; + GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimationForAnimation(node, static_cast(¶mValueTemp)); } KOALA_INTEROP_DIRECT_V3(AnimationExtender_OpenImplicitAnimationForAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AnimationExtender_CloseImplicitAnimationForAnimation(Ark_NativePointer node) { - GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimationForAnimation(node); + GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimationForAnimation(node); } KOALA_INTEROP_DIRECT_V1(AnimationExtender_CloseImplicitAnimationForAnimation, Ark_NativePointer) void impl_AnimationExtender_StartDoubleAnimation(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_DoubleAnimationParam paramValueTemp = ArkuiComponentIdlizeDoubleAnimationParamSerializerImpl::read(thisDeserializer);; - GetAccessors()->getAnimationExtenderAccessor()->StartDoubleAnimation(node, static_cast(¶mValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_DoubleAnimationParam paramValueTemp = ArkuiComponentIdlizeDoubleAnimationParamSerializerImpl::read(thisDeserializer);; + GetAccessors()->getAnimationExtenderAccessor()->StartDoubleAnimation(node, static_cast(¶mValueTemp)); } KOALA_INTEROP_DIRECT_V3(AnimationExtender_StartDoubleAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AnimationExtender_AnimationTranslate(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions optionsValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getAnimationExtenderAccessor()->AnimationTranslate(node, static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TranslateOptions optionsValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getAnimationExtenderAccessor()->AnimationTranslate(node, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(AnimationExtender_AnimationTranslate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_AnimationExtender_AnimateToImmediatelyImpl(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AnimateParam paramValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; - synthetic_Callback_Void eventValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; - GetAccessors()->getAnimationExtenderAccessor()->AnimateToImmediatelyImpl(static_cast(¶mValueTemp), static_cast(&eventValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AnimateParam paramValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; + synthetic_Callback_Void eventValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; + GetAccessors()->getAnimationExtenderAccessor()->AnimateToImmediatelyImpl(static_cast(¶mValueTemp), static_cast(&eventValueTemp)); } KOALA_INTEROP_DIRECT_V2(AnimationExtender_AnimateToImmediatelyImpl, KSerializerBuffer, KInt) void impl_AnimationExtender_KeyframeAnimationImpl(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_KeyframeAnimateParam paramValueTemp = ArkuiComponentCommonKeyframeAnimateParamSerializerImpl::read(thisDeserializer);; - const Ark_Int32 keyfamesValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_KeyframeState keyfamesValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_KeyframeAnimateParam paramValueTemp = ArkuiComponentCommonKeyframeAnimateParamSerializerImpl::read(thisDeserializer);; + const Ark_Int32 keyfamesValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_KeyframeState keyfamesValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&keyfamesValueTempTmpBuf, keyfamesValueTempTmpBufLength); - for (int keyfamesValueTempTmpBufBufCounterI = 0; keyfamesValueTempTmpBufBufCounterI < keyfamesValueTempTmpBufLength; keyfamesValueTempTmpBufBufCounterI++) { - keyfamesValueTempTmpBuf.array[keyfamesValueTempTmpBufBufCounterI] = ArkuiComponentCommonKeyframeStateSerializerImpl::read(thisDeserializer); - } - Array_KeyframeState keyfamesValueTemp = keyfamesValueTempTmpBuf;; - GetAccessors()->getAnimationExtenderAccessor()->KeyframeAnimationImpl(static_cast(¶mValueTemp), static_cast(&keyfamesValueTemp)); + for (int keyfamesValueTempTmpBufBufCounterI = 0; keyfamesValueTempTmpBufBufCounterI < keyfamesValueTempTmpBufLength; keyfamesValueTempTmpBufBufCounterI++) { + keyfamesValueTempTmpBuf.array[keyfamesValueTempTmpBufBufCounterI] = ArkuiComponentCommonKeyframeStateSerializerImpl::read(thisDeserializer); + } + Array_KeyframeState keyfamesValueTemp = keyfamesValueTempTmpBuf;; + GetAccessors()->getAnimationExtenderAccessor()->KeyframeAnimationImpl(static_cast(¶mValueTemp), static_cast(&keyfamesValueTemp)); } KOALA_INTEROP_DIRECT_V2(AnimationExtender_KeyframeAnimationImpl, KSerializerBuffer, KInt) Ark_NativePointer impl_AppearSymbolEffect_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - return GetAccessors()->getAppearSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + return GetAccessors()->getAppearSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_2(AppearSymbolEffect_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_AppearSymbolEffect_getFinalizer() { - return GetAccessors()->getAppearSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getAppearSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(AppearSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_AppearSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_AppearSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getAppearSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(AppearSymbolEffect_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_AppearSymbolEffect_getScope(Ark_NativePointer thisPtr) { - Ark_AppearSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getAppearSymbolEffectAccessor()->getScope(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_AppearSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getAppearSymbolEffectAccessor()->getScope(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(AppearSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer) void impl_AppearSymbolEffect_setScope(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_AppearSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - GetAccessors()->getAppearSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); + Ark_AppearSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + GetAccessors()->getAppearSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_V3(AppearSymbolEffect_setScope, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_AxisEvent_construct() { - return GetAccessors()->getAxisEventAccessor()->construct(); + return GetAccessors()->getAxisEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(AxisEvent_construct, Ark_NativePointer) Ark_NativePointer impl_AxisEvent_getFinalizer() { - return GetAccessors()->getAxisEventAccessor()->getFinalizer(); + return GetAccessors()->getAxisEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(AxisEvent_getFinalizer, Ark_NativePointer) +void impl_AxisEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(AxisEvent_callHolder, Ark_NativePointer) void impl_AxisEvent_propagation(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->propagation(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->propagation(self); } KOALA_INTEROP_DIRECT_V1(AxisEvent_propagation, Ark_NativePointer) Ark_Int32 impl_AxisEvent_getHorizontalAxisValue(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getHorizontalAxisValue(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getHorizontalAxisValue(self); } KOALA_INTEROP_1(AxisEvent_getHorizontalAxisValue, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_AxisEvent_getVerticalAxisValue(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getVerticalAxisValue(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getVerticalAxisValue(self); } KOALA_INTEROP_1(AxisEvent_getVerticalAxisValue, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_AxisEvent_getPinchAxisScaleValue(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getPinchAxisScaleValue(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getPinchAxisScaleValue(self); } KOALA_INTEROP_1(AxisEvent_getPinchAxisScaleValue, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_AxisEvent_getAction(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getAction(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getAction(self); } KOALA_INTEROP_DIRECT_1(AxisEvent_getAction, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setAction(self, static_cast(action)); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setAction(self, static_cast(action)); } KOALA_INTEROP_DIRECT_V2(AxisEvent_setAction, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_AxisEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getDisplayX(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getDisplayX(self); } KOALA_INTEROP_1(AxisEvent_getDisplayX, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setDisplayX(Ark_NativePointer thisPtr, KDouble displayX) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setDisplayX(self, displayX); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setDisplayX(self, displayX); } KOALA_INTEROP_V2(AxisEvent_setDisplayX, Ark_NativePointer, KDouble) Ark_Int32 impl_AxisEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getDisplayY(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getDisplayY(self); } KOALA_INTEROP_1(AxisEvent_getDisplayY, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setDisplayY(Ark_NativePointer thisPtr, KDouble displayY) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setDisplayY(self, displayY); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setDisplayY(self, displayY); } KOALA_INTEROP_V2(AxisEvent_setDisplayY, Ark_NativePointer, KDouble) Ark_Int32 impl_AxisEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getWindowX(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getWindowX(self); } KOALA_INTEROP_1(AxisEvent_getWindowX, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setWindowX(Ark_NativePointer thisPtr, KDouble windowX) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setWindowX(self, windowX); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setWindowX(self, windowX); } KOALA_INTEROP_V2(AxisEvent_setWindowX, Ark_NativePointer, KDouble) Ark_Int32 impl_AxisEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getWindowY(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getWindowY(self); } KOALA_INTEROP_1(AxisEvent_getWindowY, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setWindowY(Ark_NativePointer thisPtr, KDouble windowY) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setWindowY(self, windowY); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setWindowY(self, windowY); } KOALA_INTEROP_V2(AxisEvent_setWindowY, Ark_NativePointer, KDouble) Ark_Int32 impl_AxisEvent_getX(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getX(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getX(self); } KOALA_INTEROP_1(AxisEvent_getX, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setX(Ark_NativePointer thisPtr, KDouble x) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setX(self, x); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setX(self, x); } KOALA_INTEROP_V2(AxisEvent_setX, Ark_NativePointer, KDouble) Ark_Int32 impl_AxisEvent_getY(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAxisEventAccessor()->getY(self); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getY(self); } KOALA_INTEROP_1(AxisEvent_getY, Ark_Int32, Ark_NativePointer) void impl_AxisEvent_setY(Ark_NativePointer thisPtr, KDouble y) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAxisEventAccessor()->setY(self, y); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setY(self, y); } KOALA_INTEROP_V2(AxisEvent_setY, Ark_NativePointer, KDouble) KInteropReturnBuffer impl_AxisEvent_getScrollStep(Ark_NativePointer thisPtr) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getAxisEventAccessor()->getScrollStep(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getAxisEventAccessor()->getScrollStep(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(AxisEvent_getScrollStep, KInteropReturnBuffer, Ark_NativePointer) void impl_AxisEvent_setScrollStep(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_AxisEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scrollStepValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 scrollStepValueTempTmpBuf = {}; - scrollStepValueTempTmpBuf.tag = scrollStepValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scrollStepValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scrollStepValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 scrollStepValueTemp = scrollStepValueTempTmpBuf;; - GetAccessors()->getAxisEventAccessor()->setScrollStep(self, static_cast(&scrollStepValueTemp)); + Ark_AxisEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scrollStepValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 scrollStepValueTempTmpBuf = {}; + scrollStepValueTempTmpBuf.tag = scrollStepValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scrollStepValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scrollStepValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 scrollStepValueTemp = scrollStepValueTempTmpBuf;; + GetAccessors()->getAxisEventAccessor()->setScrollStep(self, static_cast(&scrollStepValueTemp)); } KOALA_INTEROP_DIRECT_V3(AxisEvent_setScrollStep, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BackgroundColorStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TextBackgroundStyle textBackgroundStyleValueTemp = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getBackgroundColorStyleAccessor()->construct(static_cast(&textBackgroundStyleValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TextBackgroundStyle textBackgroundStyleValueTemp = ArkuiComponentSpanTextBackgroundStyleSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getBackgroundColorStyleAccessor()->construct(static_cast(&textBackgroundStyleValueTemp)); } KOALA_INTEROP_DIRECT_2(BackgroundColorStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BackgroundColorStyle_getFinalizer() { - return GetAccessors()->getBackgroundColorStyleAccessor()->getFinalizer(); + return GetAccessors()->getBackgroundColorStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BackgroundColorStyle_getFinalizer, Ark_NativePointer) +void impl_BackgroundColorStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_BackgroundColorStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getBackgroundColorStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BackgroundColorStyle_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_BackgroundColorStyle_getTextBackgroundStyle(Ark_NativePointer thisPtr) { - Ark_BackgroundColorStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBackgroundColorStyleAccessor()->getTextBackgroundStyle(self); - SerializerBase _retSerializer {}; - ArkuiComponentSpanTextBackgroundStyleSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_BackgroundColorStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBackgroundColorStyleAccessor()->getTextBackgroundStyle(self); + SerializerBase _retSerializer {}; + ArkuiComponentSpanTextBackgroundStyleSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BackgroundColorStyle_getTextBackgroundStyle, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_BaseEvent_construct() { - return GetAccessors()->getBaseEventAccessor()->construct(); + return GetAccessors()->getBaseEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(BaseEvent_construct, Ark_NativePointer) Ark_NativePointer impl_BaseEvent_getFinalizer() { - return GetAccessors()->getBaseEventAccessor()->getFinalizer(); + return GetAccessors()->getBaseEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BaseEvent_getFinalizer, Ark_NativePointer) +void impl_BaseEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BaseEvent_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_BaseEvent_getTarget(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTarget(self); - SerializerBase _retSerializer {}; - ArkuiComponentCommonEventTargetSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTarget(self); + SerializerBase _retSerializer {}; + ArkuiComponentCommonEventTargetSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getTarget, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setTarget(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_EventTarget targetValueTemp = ArkuiComponentCommonEventTargetSerializerImpl::read(thisDeserializer);; - GetAccessors()->getBaseEventAccessor()->setTarget(self, static_cast(&targetValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_EventTarget targetValueTemp = ArkuiComponentCommonEventTargetSerializerImpl::read(thisDeserializer);; + GetAccessors()->getBaseEventAccessor()->setTarget(self, static_cast(&targetValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setTarget, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_BaseEvent_getTimestamp(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getTimestamp(self); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTimestamp(self); } KOALA_INTEROP_DIRECT_1(BaseEvent_getTimestamp, Ark_Int32, Ark_NativePointer) void impl_BaseEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setTimestamp(self, timestamp); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTimestamp(self, timestamp); } KOALA_INTEROP_DIRECT_V2(BaseEvent_setTimestamp, Ark_NativePointer, KLong) Ark_Int32 impl_BaseEvent_getSource(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getSource(self); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getSource(self); } KOALA_INTEROP_DIRECT_1(BaseEvent_getSource, Ark_Int32, Ark_NativePointer) void impl_BaseEvent_setSource(Ark_NativePointer thisPtr, Ark_Int32 source) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setSource(self, static_cast(source)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setSource(self, static_cast(source)); } KOALA_INTEROP_DIRECT_V2(BaseEvent_setSource, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_BaseEvent_getAxisHorizontal(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisHorizontal(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisHorizontal(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getAxisHorizontal, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setAxisHorizontal(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto axisHorizontalValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 axisHorizontalValueTempTmpBuf = {}; - axisHorizontalValueTempTmpBuf.tag = axisHorizontalValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((axisHorizontalValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - axisHorizontalValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 axisHorizontalValueTemp = axisHorizontalValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setAxisHorizontal(self, static_cast(&axisHorizontalValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto axisHorizontalValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 axisHorizontalValueTempTmpBuf = {}; + axisHorizontalValueTempTmpBuf.tag = axisHorizontalValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((axisHorizontalValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + axisHorizontalValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 axisHorizontalValueTemp = axisHorizontalValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setAxisHorizontal(self, static_cast(&axisHorizontalValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setAxisHorizontal, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_BaseEvent_getAxisVertical(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisVertical(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisVertical(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getAxisVertical, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setAxisVertical(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto axisVerticalValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 axisVerticalValueTempTmpBuf = {}; - axisVerticalValueTempTmpBuf.tag = axisVerticalValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((axisVerticalValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - axisVerticalValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 axisVerticalValueTemp = axisVerticalValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setAxisVertical(self, static_cast(&axisVerticalValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto axisVerticalValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 axisVerticalValueTempTmpBuf = {}; + axisVerticalValueTempTmpBuf.tag = axisVerticalValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((axisVerticalValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + axisVerticalValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 axisVerticalValueTemp = axisVerticalValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setAxisVertical(self, static_cast(&axisVerticalValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setAxisVertical, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_BaseEvent_getPressure(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getPressure(self); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getPressure(self); } KOALA_INTEROP_1(BaseEvent_getPressure, Ark_Int32, Ark_NativePointer) void impl_BaseEvent_setPressure(Ark_NativePointer thisPtr, KDouble pressure) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setPressure(self, pressure); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setPressure(self, pressure); } KOALA_INTEROP_V2(BaseEvent_setPressure, Ark_NativePointer, KDouble) Ark_Int32 impl_BaseEvent_getTiltX(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getTiltX(self); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTiltX(self); } KOALA_INTEROP_1(BaseEvent_getTiltX, Ark_Int32, Ark_NativePointer) void impl_BaseEvent_setTiltX(Ark_NativePointer thisPtr, KDouble tiltX) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setTiltX(self, tiltX); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTiltX(self, tiltX); } KOALA_INTEROP_V2(BaseEvent_setTiltX, Ark_NativePointer, KDouble) Ark_Int32 impl_BaseEvent_getTiltY(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getTiltY(self); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTiltY(self); } KOALA_INTEROP_1(BaseEvent_getTiltY, Ark_Int32, Ark_NativePointer) void impl_BaseEvent_setTiltY(Ark_NativePointer thisPtr, KDouble tiltY) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setTiltY(self, tiltY); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTiltY(self, tiltY); } KOALA_INTEROP_V2(BaseEvent_setTiltY, Ark_NativePointer, KDouble) KInteropReturnBuffer impl_BaseEvent_getRollAngle(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getRollAngle(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getRollAngle(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getRollAngle, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setRollAngle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rollAngleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 rollAngleValueTempTmpBuf = {}; - rollAngleValueTempTmpBuf.tag = rollAngleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rollAngleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rollAngleValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 rollAngleValueTemp = rollAngleValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setRollAngle(self, static_cast(&rollAngleValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rollAngleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 rollAngleValueTempTmpBuf = {}; + rollAngleValueTempTmpBuf.tag = rollAngleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rollAngleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rollAngleValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 rollAngleValueTemp = rollAngleValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setRollAngle(self, static_cast(&rollAngleValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setRollAngle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_BaseEvent_getSourceTool(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getSourceTool(self); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getSourceTool(self); } KOALA_INTEROP_DIRECT_1(BaseEvent_getSourceTool, Ark_Int32, Ark_NativePointer) void impl_BaseEvent_setSourceTool(Ark_NativePointer thisPtr, Ark_Int32 sourceTool) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setSourceTool(self, static_cast(sourceTool)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setSourceTool(self, static_cast(sourceTool)); } KOALA_INTEROP_DIRECT_V2(BaseEvent_setSourceTool, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_BaseEvent_getGetModifierKeyState(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getGetModifierKeyState(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getGetModifierKeyState(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getGetModifierKeyState, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setGetModifierKeyState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto getModifierKeyStateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ModifierKeyStateGetter getModifierKeyStateValueTempTmpBuf = {}; - getModifierKeyStateValueTempTmpBuf.tag = getModifierKeyStateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((getModifierKeyStateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - getModifierKeyStateValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MODIFIERKEYSTATEGETTER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MODIFIERKEYSTATEGETTER))))}; - } - Opt_ModifierKeyStateGetter getModifierKeyStateValueTemp = getModifierKeyStateValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setGetModifierKeyState(self, static_cast(&getModifierKeyStateValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto getModifierKeyStateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ModifierKeyStateGetter getModifierKeyStateValueTempTmpBuf = {}; + getModifierKeyStateValueTempTmpBuf.tag = getModifierKeyStateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((getModifierKeyStateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + getModifierKeyStateValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MODIFIERKEYSTATEGETTER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MODIFIERKEYSTATEGETTER))))}; + } + Opt_ModifierKeyStateGetter getModifierKeyStateValueTemp = getModifierKeyStateValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setGetModifierKeyState(self, static_cast(&getModifierKeyStateValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setGetModifierKeyState, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_BaseEvent_getDeviceId(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getDeviceId(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getDeviceId(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getDeviceId, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setDeviceId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto deviceIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 deviceIdValueTempTmpBuf = {}; - deviceIdValueTempTmpBuf.tag = deviceIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((deviceIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - deviceIdValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 deviceIdValueTemp = deviceIdValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setDeviceId(self, static_cast(&deviceIdValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto deviceIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 deviceIdValueTempTmpBuf = {}; + deviceIdValueTempTmpBuf.tag = deviceIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((deviceIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + deviceIdValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 deviceIdValueTemp = deviceIdValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setDeviceId(self, static_cast(&deviceIdValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setDeviceId, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_BaseEvent_getTargetDisplayId(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTargetDisplayId(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTargetDisplayId(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getTargetDisplayId, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setTargetDisplayId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto targetDisplayIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 targetDisplayIdValueTempTmpBuf = {}; - targetDisplayIdValueTempTmpBuf.tag = targetDisplayIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((targetDisplayIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - targetDisplayIdValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 targetDisplayIdValueTemp = targetDisplayIdValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setTargetDisplayId(self, static_cast(&targetDisplayIdValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto targetDisplayIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 targetDisplayIdValueTempTmpBuf = {}; + targetDisplayIdValueTempTmpBuf.tag = targetDisplayIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((targetDisplayIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + targetDisplayIdValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 targetDisplayIdValueTemp = targetDisplayIdValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setTargetDisplayId(self, static_cast(&targetDisplayIdValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setTargetDisplayId, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_BaseEvent_getAxisPinch(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisPinch(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisPinch(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseEvent_getAxisPinch, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseEvent_setAxisPinch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto axisPinchValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 axisPinchValueTempTmpBuf = {}; - axisPinchValueTempTmpBuf.tag = axisPinchValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((axisPinchValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - axisPinchValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 axisPinchValueTemp = axisPinchValueTempTmpBuf;; - GetAccessors()->getBaseEventAccessor()->setAxisPinch(self, static_cast(&axisPinchValueTemp)); + Ark_BaseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto axisPinchValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 axisPinchValueTempTmpBuf = {}; + axisPinchValueTempTmpBuf.tag = axisPinchValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((axisPinchValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + axisPinchValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 axisPinchValueTemp = axisPinchValueTempTmpBuf;; + GetAccessors()->getBaseEventAccessor()->setAxisPinch(self, static_cast(&axisPinchValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseEvent_setAxisPinch, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BaseGestureEvent_construct() { - return GetAccessors()->getBaseGestureEventAccessor()->construct(); + return GetAccessors()->getBaseGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(BaseGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_BaseGestureEvent_getFinalizer() { - return GetAccessors()->getBaseGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getBaseGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BaseGestureEvent_getFinalizer, Ark_NativePointer) +void impl_BaseGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BaseGestureEvent_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_BaseGestureEvent_getFingerList(Ark_NativePointer thisPtr) { - Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseGestureEventAccessor()->getFingerList(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_FingerInfo retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseGestureEventAccessor()->getFingerList(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_FingerInfo retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseGestureEvent_getFingerList, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseGestureEvent_setFingerList(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 fingerListValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_FingerInfo fingerListValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 fingerListValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_FingerInfo fingerListValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&fingerListValueTempTmpBuf, fingerListValueTempTmpBufLength); - for (int fingerListValueTempTmpBufBufCounterI = 0; fingerListValueTempTmpBufBufCounterI < fingerListValueTempTmpBufLength; fingerListValueTempTmpBufBufCounterI++) { - fingerListValueTempTmpBuf.array[fingerListValueTempTmpBufBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); - } - Array_FingerInfo fingerListValueTemp = fingerListValueTempTmpBuf;; - GetAccessors()->getBaseGestureEventAccessor()->setFingerList(self, static_cast(&fingerListValueTemp)); + for (int fingerListValueTempTmpBufBufCounterI = 0; fingerListValueTempTmpBufBufCounterI < fingerListValueTempTmpBufLength; fingerListValueTempTmpBufBufCounterI++) { + fingerListValueTempTmpBuf.array[fingerListValueTempTmpBufBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); + } + Array_FingerInfo fingerListValueTemp = fingerListValueTempTmpBuf;; + GetAccessors()->getBaseGestureEventAccessor()->setFingerList(self, static_cast(&fingerListValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseGestureEvent_setFingerList, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_BaseGestureEvent_getFingerInfos(Ark_NativePointer thisPtr) { - Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseGestureEventAccessor()->getFingerInfos(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_FingerInfo retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseGestureEventAccessor()->getFingerInfos(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_FingerInfo retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BaseGestureEvent_getFingerInfos, KInteropReturnBuffer, Ark_NativePointer) void impl_BaseGestureEvent_setFingerInfos(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fingerInfosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_FingerInfo fingerInfosValueTempTmpBuf = {}; - fingerInfosValueTempTmpBuf.tag = fingerInfosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fingerInfosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 fingerInfosValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_FingerInfo fingerInfosValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_BaseGestureEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fingerInfosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_FingerInfo fingerInfosValueTempTmpBuf = {}; + fingerInfosValueTempTmpBuf.tag = fingerInfosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fingerInfosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 fingerInfosValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_FingerInfo fingerInfosValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&fingerInfosValueTempTmpBufOpt, fingerInfosValueTempTmpBufOptLength); - for (int fingerInfosValueTempTmpBufOptBufCounterI = 0; fingerInfosValueTempTmpBufOptBufCounterI < fingerInfosValueTempTmpBufOptLength; fingerInfosValueTempTmpBufOptBufCounterI++) { - fingerInfosValueTempTmpBufOpt.array[fingerInfosValueTempTmpBufOptBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); - } - fingerInfosValueTempTmpBuf.value = fingerInfosValueTempTmpBufOpt; + for (int fingerInfosValueTempTmpBufOptBufCounterI = 0; fingerInfosValueTempTmpBufOptBufCounterI < fingerInfosValueTempTmpBufOptLength; fingerInfosValueTempTmpBufOptBufCounterI++) { + fingerInfosValueTempTmpBufOpt.array[fingerInfosValueTempTmpBufOptBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); } - Opt_Array_FingerInfo fingerInfosValueTemp = fingerInfosValueTempTmpBuf;; - GetAccessors()->getBaseGestureEventAccessor()->setFingerInfos(self, static_cast(&fingerInfosValueTemp)); + fingerInfosValueTempTmpBuf.value = fingerInfosValueTempTmpBufOpt; + } + Opt_Array_FingerInfo fingerInfosValueTemp = fingerInfosValueTempTmpBuf;; + GetAccessors()->getBaseGestureEventAccessor()->setFingerInfos(self, static_cast(&fingerInfosValueTemp)); } KOALA_INTEROP_DIRECT_V3(BaseGestureEvent_setFingerInfos, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BaselineOffsetStyle_construct(Ark_NativePointer value) { - return GetAccessors()->getBaselineOffsetStyleAccessor()->construct(static_cast(value)); + return GetAccessors()->getBaselineOffsetStyleAccessor()->construct(static_cast(value)); } KOALA_INTEROP_DIRECT_1(BaselineOffsetStyle_construct, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_BaselineOffsetStyle_getFinalizer() { - return GetAccessors()->getBaselineOffsetStyleAccessor()->getFinalizer(); + return GetAccessors()->getBaselineOffsetStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BaselineOffsetStyle_getFinalizer, Ark_NativePointer) +void impl_BaselineOffsetStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_BaselineOffsetStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getBaselineOffsetStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BaselineOffsetStyle_callHolder, Ark_NativePointer) Ark_Int32 impl_BaselineOffsetStyle_getBaselineOffset(Ark_NativePointer thisPtr) { - Ark_BaselineOffsetStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaselineOffsetStyleAccessor()->getBaselineOffset(self); + Ark_BaselineOffsetStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaselineOffsetStyleAccessor()->getBaselineOffset(self); } KOALA_INTEROP_1(BaselineOffsetStyle_getBaselineOffset, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_BaseShape_construct() { - return GetAccessors()->getBaseShapeAccessor()->construct(); + return GetAccessors()->getBaseShapeAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(BaseShape_construct, Ark_NativePointer) Ark_NativePointer impl_BaseShape_getFinalizer() { - return GetAccessors()->getBaseShapeAccessor()->getFinalizer(); + return GetAccessors()->getBaseShapeAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BaseShape_getFinalizer, Ark_NativePointer) +void impl_BaseShape_callHolder(Ark_NativePointer thisPtr) { + Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseShapeAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BaseShape_callHolder, Ark_NativePointer) Ark_NativePointer impl_BaseShape_width(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 widthValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length widthValueTempTmpBuf = {}; - widthValueTempTmpBuf.selector = widthValueTempTmpBufUnionSelector; - if (widthValueTempTmpBufUnionSelector == 0) { - widthValueTempTmpBuf.selector = 0; - widthValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (widthValueTempTmpBufUnionSelector == 1) { - widthValueTempTmpBuf.selector = 1; - widthValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); - } else if (widthValueTempTmpBufUnionSelector == 2) { - widthValueTempTmpBuf.selector = 2; - widthValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for widthValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Length widthValueTemp = static_cast(widthValueTempTmpBuf);; - return GetAccessors()->getBaseShapeAccessor()->width(self, static_cast(&widthValueTemp)); + Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 widthValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length widthValueTempTmpBuf = {}; + widthValueTempTmpBuf.selector = widthValueTempTmpBufUnionSelector; + if (widthValueTempTmpBufUnionSelector == 0) { + widthValueTempTmpBuf.selector = 0; + widthValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (widthValueTempTmpBufUnionSelector == 1) { + widthValueTempTmpBuf.selector = 1; + widthValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); + } else if (widthValueTempTmpBufUnionSelector == 2) { + widthValueTempTmpBuf.selector = 2; + widthValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for widthValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Length widthValueTemp = static_cast(widthValueTempTmpBuf);; + return GetAccessors()->getBaseShapeAccessor()->width(self, static_cast(&widthValueTemp)); } KOALA_INTEROP_DIRECT_3(BaseShape_width, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BaseShape_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 heightValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length heightValueTempTmpBuf = {}; - heightValueTempTmpBuf.selector = heightValueTempTmpBufUnionSelector; - if (heightValueTempTmpBufUnionSelector == 0) { - heightValueTempTmpBuf.selector = 0; - heightValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (heightValueTempTmpBufUnionSelector == 1) { - heightValueTempTmpBuf.selector = 1; - heightValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); - } else if (heightValueTempTmpBufUnionSelector == 2) { - heightValueTempTmpBuf.selector = 2; - heightValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for heightValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Length heightValueTemp = static_cast(heightValueTempTmpBuf);; - return GetAccessors()->getBaseShapeAccessor()->height(self, static_cast(&heightValueTemp)); + Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 heightValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length heightValueTempTmpBuf = {}; + heightValueTempTmpBuf.selector = heightValueTempTmpBufUnionSelector; + if (heightValueTempTmpBufUnionSelector == 0) { + heightValueTempTmpBuf.selector = 0; + heightValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (heightValueTempTmpBufUnionSelector == 1) { + heightValueTempTmpBuf.selector = 1; + heightValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); + } else if (heightValueTempTmpBufUnionSelector == 2) { + heightValueTempTmpBuf.selector = 2; + heightValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for heightValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Length heightValueTemp = static_cast(heightValueTempTmpBuf);; + return GetAccessors()->getBaseShapeAccessor()->height(self, static_cast(&heightValueTemp)); } KOALA_INTEROP_DIRECT_3(BaseShape_height, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BaseShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SizeOptions sizeValueTemp = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getBaseShapeAccessor()->size(self, static_cast(&sizeValueTemp)); + Ark_arkui_component_idlize_BaseShape self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SizeOptions sizeValueTemp = ArkuiComponentUnitsSizeOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getBaseShapeAccessor()->size(self, static_cast(&sizeValueTemp)); } KOALA_INTEROP_DIRECT_3(BaseShape_size, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BottomTabBarStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 iconValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_TabBarSymbol iconValueTempTmpBuf = {}; - iconValueTempTmpBuf.selector = iconValueTempTmpBufUnionSelector; - if (iconValueTempTmpBufUnionSelector == 0) { - iconValueTempTmpBuf.selector = 0; - const Ark_Int8 iconValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr iconValueTempTmpBufBufU = {}; - iconValueTempTmpBufBufU.selector = iconValueTempTmpBufBufUUnionSelector; - if (iconValueTempTmpBufBufUUnionSelector == 0) { - iconValueTempTmpBufBufU.selector = 0; - iconValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (iconValueTempTmpBufBufUUnionSelector == 1) { - iconValueTempTmpBufBufU.selector = 1; - iconValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBufBufU has to be chosen through deserialisation."); - } - iconValueTempTmpBuf.value0 = static_cast(iconValueTempTmpBufBufU); - } else if (iconValueTempTmpBufUnionSelector == 1) { - iconValueTempTmpBuf.selector = 1; - iconValueTempTmpBuf.value1 = static_cast(ArkuiComponentTabContentTabBarSymbolSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ResourceStr_TabBarSymbol iconValueTemp = static_cast(iconValueTempTmpBuf);; - const Ark_Int8 textValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr textValueTempTmpBuf = {}; - textValueTempTmpBuf.selector = textValueTempTmpBufUnionSelector; - if (textValueTempTmpBufUnionSelector == 0) { - textValueTempTmpBuf.selector = 0; - textValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (textValueTempTmpBufUnionSelector == 1) { - textValueTempTmpBuf.selector = 1; - textValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 iconValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_TabBarSymbol iconValueTempTmpBuf = {}; + iconValueTempTmpBuf.selector = iconValueTempTmpBufUnionSelector; + if (iconValueTempTmpBufUnionSelector == 0) { + iconValueTempTmpBuf.selector = 0; + const Ark_Int8 iconValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr iconValueTempTmpBufBufU = {}; + iconValueTempTmpBufBufU.selector = iconValueTempTmpBufBufUUnionSelector; + if (iconValueTempTmpBufBufUUnionSelector == 0) { + iconValueTempTmpBufBufU.selector = 0; + iconValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (iconValueTempTmpBufBufUUnionSelector == 1) { + iconValueTempTmpBufBufU.selector = 1; + iconValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for textValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr textValueTemp = static_cast(textValueTempTmpBuf);; - return GetAccessors()->getBottomTabBarStyleAccessor()->construct(static_cast(&iconValueTemp), static_cast(&textValueTemp)); + INTEROP_FATAL("One of the branches for iconValueTempTmpBufBufU has to be chosen through deserialisation."); + } + iconValueTempTmpBuf.value0 = static_cast(iconValueTempTmpBufBufU); + } else if (iconValueTempTmpBufUnionSelector == 1) { + iconValueTempTmpBuf.selector = 1; + iconValueTempTmpBuf.value1 = static_cast(ArkuiComponentTabContentTabBarSymbolSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for iconValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_TabBarSymbol iconValueTemp = static_cast(iconValueTempTmpBuf);; + const Ark_Int8 textValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr textValueTempTmpBuf = {}; + textValueTempTmpBuf.selector = textValueTempTmpBufUnionSelector; + if (textValueTempTmpBufUnionSelector == 0) { + textValueTempTmpBuf.selector = 0; + textValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (textValueTempTmpBufUnionSelector == 1) { + textValueTempTmpBuf.selector = 1; + textValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for textValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr textValueTemp = static_cast(textValueTempTmpBuf);; + return GetAccessors()->getBottomTabBarStyleAccessor()->construct(static_cast(&iconValueTemp), static_cast(&textValueTemp)); } KOALA_INTEROP_DIRECT_2(BottomTabBarStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BottomTabBarStyle_getFinalizer() { - return GetAccessors()->getBottomTabBarStyleAccessor()->getFinalizer(); + return GetAccessors()->getBottomTabBarStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BottomTabBarStyle_getFinalizer, Ark_NativePointer) +void impl_BottomTabBarStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getBottomTabBarStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BottomTabBarStyle_callHolder, Ark_NativePointer) Ark_NativePointer impl_BottomTabBarStyle_of(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 iconValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_TabBarSymbol iconValueTempTmpBuf = {}; - iconValueTempTmpBuf.selector = iconValueTempTmpBufUnionSelector; - if (iconValueTempTmpBufUnionSelector == 0) { - iconValueTempTmpBuf.selector = 0; - const Ark_Int8 iconValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr iconValueTempTmpBufBufU = {}; - iconValueTempTmpBufBufU.selector = iconValueTempTmpBufBufUUnionSelector; - if (iconValueTempTmpBufBufUUnionSelector == 0) { - iconValueTempTmpBufBufU.selector = 0; - iconValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (iconValueTempTmpBufBufUUnionSelector == 1) { - iconValueTempTmpBufBufU.selector = 1; - iconValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBufBufU has to be chosen through deserialisation."); - } - iconValueTempTmpBuf.value0 = static_cast(iconValueTempTmpBufBufU); - } else if (iconValueTempTmpBufUnionSelector == 1) { - iconValueTempTmpBuf.selector = 1; - iconValueTempTmpBuf.value1 = static_cast(ArkuiComponentTabContentTabBarSymbolSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for iconValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ResourceStr_TabBarSymbol iconValueTemp = static_cast(iconValueTempTmpBuf);; - const Ark_Int8 textValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr textValueTempTmpBuf = {}; - textValueTempTmpBuf.selector = textValueTempTmpBufUnionSelector; - if (textValueTempTmpBufUnionSelector == 0) { - textValueTempTmpBuf.selector = 0; - textValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (textValueTempTmpBufUnionSelector == 1) { - textValueTempTmpBuf.selector = 1; - textValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 iconValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_TabBarSymbol iconValueTempTmpBuf = {}; + iconValueTempTmpBuf.selector = iconValueTempTmpBufUnionSelector; + if (iconValueTempTmpBufUnionSelector == 0) { + iconValueTempTmpBuf.selector = 0; + const Ark_Int8 iconValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr iconValueTempTmpBufBufU = {}; + iconValueTempTmpBufBufU.selector = iconValueTempTmpBufBufUUnionSelector; + if (iconValueTempTmpBufBufUUnionSelector == 0) { + iconValueTempTmpBufBufU.selector = 0; + iconValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (iconValueTempTmpBufBufUUnionSelector == 1) { + iconValueTempTmpBufBufU.selector = 1; + iconValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for textValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr textValueTemp = static_cast(textValueTempTmpBuf);; - return GetAccessors()->getBottomTabBarStyleAccessor()->of(static_cast(&iconValueTemp), static_cast(&textValueTemp)); + INTEROP_FATAL("One of the branches for iconValueTempTmpBufBufU has to be chosen through deserialisation."); + } + iconValueTempTmpBuf.value0 = static_cast(iconValueTempTmpBufBufU); + } else if (iconValueTempTmpBufUnionSelector == 1) { + iconValueTempTmpBuf.selector = 1; + iconValueTempTmpBuf.value1 = static_cast(ArkuiComponentTabContentTabBarSymbolSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for iconValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_TabBarSymbol iconValueTemp = static_cast(iconValueTempTmpBuf);; + const Ark_Int8 textValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr textValueTempTmpBuf = {}; + textValueTempTmpBuf.selector = textValueTempTmpBufUnionSelector; + if (textValueTempTmpBufUnionSelector == 0) { + textValueTempTmpBuf.selector = 0; + textValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (textValueTempTmpBufUnionSelector == 1) { + textValueTempTmpBuf.selector = 1; + textValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for textValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr textValueTemp = static_cast(textValueTempTmpBuf);; + return GetAccessors()->getBottomTabBarStyleAccessor()->of(static_cast(&iconValueTemp), static_cast(&textValueTemp)); } KOALA_INTEROP_DIRECT_2(BottomTabBarStyle_of, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BottomTabBarStyle_labelStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TabBarLabelStyle styleValueTemp = ArkuiComponentTabContentTabBarLabelStyleSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getBottomTabBarStyleAccessor()->labelStyle(self, static_cast(&styleValueTemp)); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TabBarLabelStyle styleValueTemp = ArkuiComponentTabContentTabBarLabelStyleSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getBottomTabBarStyleAccessor()->labelStyle(self, static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_3(BottomTabBarStyle_labelStyle, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BottomTabBarStyle_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Dimension_LocalizedPadding valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufBufU = {}; - valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; - if (valueValueTempTmpBufBufUUnionSelector == 0) { - valueValueTempTmpBufBufU.selector = 0; - valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufBufUUnionSelector == 1) { - valueValueTempTmpBufBufU.selector = 1; - valueValueTempTmpBufBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufBufUUnionSelector == 2) { - valueValueTempTmpBufBufU.selector = 2; - valueValueTempTmpBufBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value1 = static_cast(valueValueTempTmpBufBufU); - } else if (valueValueTempTmpBufUnionSelector == 2) { - valueValueTempTmpBuf.selector = 2; - valueValueTempTmpBuf.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Dimension_LocalizedPadding valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufBufU = {}; + valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; + if (valueValueTempTmpBufBufUUnionSelector == 0) { + valueValueTempTmpBufBufU.selector = 0; + valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufBufUUnionSelector == 1) { + valueValueTempTmpBufBufU.selector = 1; + valueValueTempTmpBufBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufBufUUnionSelector == 2) { + valueValueTempTmpBufBufU.selector = 2; + valueValueTempTmpBufBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_Padding_Dimension_LocalizedPadding valueValueTemp = static_cast(valueValueTempTmpBuf);; - return GetAccessors()->getBottomTabBarStyleAccessor()->padding(self, static_cast(&valueValueTemp)); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value1 = static_cast(valueValueTempTmpBufBufU); + } else if (valueValueTempTmpBufUnionSelector == 2) { + valueValueTempTmpBuf.selector = 2; + valueValueTempTmpBuf.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_Padding_Dimension_LocalizedPadding valueValueTemp = static_cast(valueValueTempTmpBuf);; + return GetAccessors()->getBottomTabBarStyleAccessor()->padding(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(BottomTabBarStyle_padding, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BottomTabBarStyle_layoutMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getBottomTabBarStyleAccessor()->layoutMode(self, static_cast(value)); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getBottomTabBarStyleAccessor()->layoutMode(self, static_cast(value)); } KOALA_INTEROP_DIRECT_2(BottomTabBarStyle_layoutMode, Ark_NativePointer, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_BottomTabBarStyle_verticalAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getBottomTabBarStyleAccessor()->verticalAlign(self, static_cast(value)); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getBottomTabBarStyleAccessor()->verticalAlign(self, static_cast(value)); } KOALA_INTEROP_DIRECT_2(BottomTabBarStyle_verticalAlign, Ark_NativePointer, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_BottomTabBarStyle_symmetricExtensible(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getBottomTabBarStyleAccessor()->symmetricExtensible(self, value); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getBottomTabBarStyleAccessor()->symmetricExtensible(self, value); } KOALA_INTEROP_2(BottomTabBarStyle_symmetricExtensible, Ark_NativePointer, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_BottomTabBarStyle_id(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getBottomTabBarStyleAccessor()->id(self, (const Ark_String*) (&value)); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getBottomTabBarStyleAccessor()->id(self, (const Ark_String*) (&value)); } KOALA_INTEROP_2(BottomTabBarStyle_id, Ark_NativePointer, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_BottomTabBarStyle_iconStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TabBarIconStyle styleValueTemp = ArkuiComponentTabContentTabBarIconStyleSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getBottomTabBarStyleAccessor()->iconStyle(self, static_cast(&styleValueTemp)); + Ark_BottomTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TabBarIconStyle styleValueTemp = ArkuiComponentTabContentTabBarIconStyleSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getBottomTabBarStyleAccessor()->iconStyle(self, static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_3(BottomTabBarStyle_iconStyle, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BounceSymbolEffect_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectDirection directionValueTempTmpBuf = {}; - directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; - return GetAccessors()->getBounceSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp), static_cast(&directionValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectDirection directionValueTempTmpBuf = {}; + directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; + return GetAccessors()->getBounceSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp), static_cast(&directionValueTemp)); } KOALA_INTEROP_DIRECT_2(BounceSymbolEffect_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BounceSymbolEffect_getFinalizer() { - return GetAccessors()->getBounceSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getBounceSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BounceSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_BounceSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getBounceSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BounceSymbolEffect_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_BounceSymbolEffect_getScope(Ark_NativePointer thisPtr) { - Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBounceSymbolEffectAccessor()->getScope(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBounceSymbolEffectAccessor()->getScope(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BounceSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer) void impl_BounceSymbolEffect_setScope(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - GetAccessors()->getBounceSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); + Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + GetAccessors()->getBounceSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_V3(BounceSymbolEffect_setScope, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_BounceSymbolEffect_getDirection(Ark_NativePointer thisPtr) { - Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBounceSymbolEffectAccessor()->getDirection(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBounceSymbolEffectAccessor()->getDirection(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(BounceSymbolEffect_getDirection, KInteropReturnBuffer, Ark_NativePointer) void impl_BounceSymbolEffect_setDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectDirection directionValueTempTmpBuf = {}; - directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; - GetAccessors()->getBounceSymbolEffectAccessor()->setDirection(self, static_cast(&directionValueTemp)); + Ark_BounceSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectDirection directionValueTempTmpBuf = {}; + directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; + GetAccessors()->getBounceSymbolEffectAccessor()->setDirection(self, static_cast(&directionValueTemp)); } KOALA_INTEROP_DIRECT_V3(BounceSymbolEffect_setDirection, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_BuilderNodeOps_construct() { - return GetAccessors()->getBuilderNodeOpsAccessor()->construct(); + return GetAccessors()->getBuilderNodeOpsAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(BuilderNodeOps_construct, Ark_NativePointer) Ark_NativePointer impl_BuilderNodeOps_getFinalizer() { - return GetAccessors()->getBuilderNodeOpsAccessor()->getFinalizer(); + return GetAccessors()->getBuilderNodeOpsAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(BuilderNodeOps_getFinalizer, Ark_NativePointer) +void impl_BuilderNodeOps_callHolder(Ark_NativePointer thisPtr) { + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + GetAccessors()->getBuilderNodeOpsAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(BuilderNodeOps_callHolder, Ark_NativePointer) void impl_BuilderNodeOps_create(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void buildFuncValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getBuilderNodeOpsAccessor()->create(self, static_cast(&buildFuncValueTemp)); + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void buildFuncValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getBuilderNodeOpsAccessor()->create(self, static_cast(&buildFuncValueTemp)); } KOALA_INTEROP_DIRECT_V3(BuilderNodeOps_create, Ark_NativePointer, KSerializerBuffer, KInt) void impl_BuilderNodeOps_disposeNode(Ark_NativePointer thisPtr) { - Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); - GetAccessors()->getBuilderNodeOpsAccessor()->disposeNode(self); + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + GetAccessors()->getBuilderNodeOpsAccessor()->disposeNode(self); } KOALA_INTEROP_DIRECT_V1(BuilderNodeOps_disposeNode, Ark_NativePointer) void impl_BuilderNodeOps_setUpdateConfigurationCallback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void configurationUpdateFuncValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getBuilderNodeOpsAccessor()->setUpdateConfigurationCallback(self, static_cast(&configurationUpdateFuncValueTemp)); + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void configurationUpdateFuncValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getBuilderNodeOpsAccessor()->setUpdateConfigurationCallback(self, static_cast(&configurationUpdateFuncValueTemp)); } KOALA_INTEROP_DIRECT_V3(BuilderNodeOps_setUpdateConfigurationCallback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_BuilderNodeOps_setOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_BuilderNodeOptions optionsValueTemp = ArkuiComponentIdlizeBuilderNodeOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getBuilderNodeOpsAccessor()->setOptions(self, static_cast(&optionsValueTemp)); + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_BuilderNodeOptions optionsValueTemp = ArkuiComponentIdlizeBuilderNodeOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getBuilderNodeOpsAccessor()->setOptions(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(BuilderNodeOps_setOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Boolean impl_BuilderNodeOps_postTouchEvent(Ark_NativePointer thisPtr, Ark_NativePointer event) { - Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); - return GetAccessors()->getBuilderNodeOpsAccessor()->postTouchEvent(self, static_cast(event)); + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + return GetAccessors()->getBuilderNodeOpsAccessor()->postTouchEvent(self, static_cast(event)); } KOALA_INTEROP_DIRECT_2(BuilderNodeOps_postTouchEvent, Ark_Boolean, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_BuilderNodeOps_setRootFrameNodeInBuilderNode(Ark_NativePointer thisPtr, Ark_NativePointer node) { - Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); - return GetAccessors()->getBuilderNodeOpsAccessor()->setRootFrameNodeInBuilderNode(self, node); + Ark_BuilderNodeOps self = reinterpret_cast(thisPtr); + return GetAccessors()->getBuilderNodeOpsAccessor()->setRootFrameNodeInBuilderNode(self, node); } KOALA_INTEROP_DIRECT_2(BuilderNodeOps_setRootFrameNodeInBuilderNode, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_CalendarPickerDialog_construct() { - return GetAccessors()->getCalendarPickerDialogAccessor()->construct(); + return GetAccessors()->getCalendarPickerDialogAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CalendarPickerDialog_construct, Ark_NativePointer) Ark_NativePointer impl_CalendarPickerDialog_getFinalizer() { - return GetAccessors()->getCalendarPickerDialogAccessor()->getFinalizer(); + return GetAccessors()->getCalendarPickerDialogAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CalendarPickerDialog_getFinalizer, Ark_NativePointer) +void impl_CalendarPickerDialog_callHolder(Ark_NativePointer thisPtr) { + Ark_CalendarPickerDialog self = reinterpret_cast(thisPtr); + GetAccessors()->getCalendarPickerDialogAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CalendarPickerDialog_callHolder, Ark_NativePointer) void impl_CalendarPickerDialog_show(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CalendarDialogOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCalendarPickerCalendarDialogOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CalendarDialogOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getCalendarPickerDialogAccessor()->show(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CalendarDialogOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCalendarPickerCalendarDialogOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CalendarDialogOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getCalendarPickerDialogAccessor()->show(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(CalendarPickerDialog_show, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasGradient_construct() { - return GetAccessors()->getCanvasGradientAccessor()->construct(); + return GetAccessors()->getCanvasGradientAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CanvasGradient_construct, Ark_NativePointer) Ark_NativePointer impl_CanvasGradient_getFinalizer() { - return GetAccessors()->getCanvasGradientAccessor()->getFinalizer(); + return GetAccessors()->getCanvasGradientAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CanvasGradient_getFinalizer, Ark_NativePointer) +void impl_CanvasGradient_callHolder(Ark_NativePointer thisPtr) { + Ark_CanvasGradient self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasGradientAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CanvasGradient_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_CanvasGradient_addColorStop(Ark_NativePointer thisPtr, KDouble offset, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasGradient self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 colorValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_ColorMetrics colorValueTempTmpBuf = {}; - colorValueTempTmpBuf.selector = colorValueTempTmpBufUnionSelector; - if (colorValueTempTmpBufUnionSelector == 0) { - colorValueTempTmpBuf.selector = 0; - colorValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (colorValueTempTmpBufUnionSelector == 1) { - colorValueTempTmpBuf.selector = 1; - colorValueTempTmpBuf.value1 = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for colorValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_ColorMetrics colorValueTemp = static_cast(colorValueTempTmpBuf);; - const auto &retValue = GetAccessors()->getCanvasGradientAccessor()->addColorStop(self, offset, static_cast(&colorValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasGradient self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 colorValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_ColorMetrics colorValueTempTmpBuf = {}; + colorValueTempTmpBuf.selector = colorValueTempTmpBufUnionSelector; + if (colorValueTempTmpBufUnionSelector == 0) { + colorValueTempTmpBuf.selector = 0; + colorValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (colorValueTempTmpBufUnionSelector == 1) { + colorValueTempTmpBuf.selector = 1; + colorValueTempTmpBuf.value1 = static_cast(ArkuiGraphicsColorMetricsSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for colorValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_ColorMetrics colorValueTemp = static_cast(colorValueTempTmpBuf);; + const auto &retValue = GetAccessors()->getCanvasGradientAccessor()->addColorStop(self, offset, static_cast(&colorValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(CanvasGradient_addColorStop, KInteropReturnBuffer, Ark_NativePointer, KDouble, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasPath_construct() { - return GetAccessors()->getCanvasPathAccessor()->construct(); + return GetAccessors()->getCanvasPathAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CanvasPath_construct, Ark_NativePointer) Ark_NativePointer impl_CanvasPath_getFinalizer() { - return GetAccessors()->getCanvasPathAccessor()->getFinalizer(); + return GetAccessors()->getCanvasPathAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CanvasPath_getFinalizer, Ark_NativePointer) +void impl_CanvasPath_callHolder(Ark_NativePointer thisPtr) { + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CanvasPath_callHolder, Ark_NativePointer) void impl_CanvasPath_arc(Ark_NativePointer thisPtr, KDouble x, KDouble y, KDouble radius, KDouble startAngle, KDouble endAngle, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto counterclockwiseValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean counterclockwiseValueTempTmpBuf = {}; - counterclockwiseValueTempTmpBuf.tag = counterclockwiseValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((counterclockwiseValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - counterclockwiseValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean counterclockwiseValueTemp = counterclockwiseValueTempTmpBuf;; - GetAccessors()->getCanvasPathAccessor()->arc(self, x, y, radius, startAngle, endAngle, static_cast(&counterclockwiseValueTemp)); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto counterclockwiseValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean counterclockwiseValueTempTmpBuf = {}; + counterclockwiseValueTempTmpBuf.tag = counterclockwiseValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((counterclockwiseValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + counterclockwiseValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean counterclockwiseValueTemp = counterclockwiseValueTempTmpBuf;; + GetAccessors()->getCanvasPathAccessor()->arc(self, x, y, radius, startAngle, endAngle, static_cast(&counterclockwiseValueTemp)); } KOALA_INTEROP_V8(CanvasPath_arc, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble, KSerializerBuffer, KInt) void impl_CanvasPath_arcTo(Ark_NativePointer thisPtr, KDouble x1, KDouble y1, KDouble x2, KDouble y2, KDouble radius) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->arcTo(self, x1, y1, x2, y2, radius); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->arcTo(self, x1, y1, x2, y2, radius); } KOALA_INTEROP_V6(CanvasPath_arcTo, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble) void impl_CanvasPath_bezierCurveTo(Ark_NativePointer thisPtr, KDouble cp1x, KDouble cp1y, KDouble cp2x, KDouble cp2y, KDouble x, KDouble y) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->bezierCurveTo(self, cp1x, cp1y, cp2x, cp2y, x, y); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->bezierCurveTo(self, cp1x, cp1y, cp2x, cp2y, x, y); } KOALA_INTEROP_V7(CanvasPath_bezierCurveTo, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble) void impl_CanvasPath_closePath(Ark_NativePointer thisPtr) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->closePath(self); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->closePath(self); } KOALA_INTEROP_DIRECT_V1(CanvasPath_closePath, Ark_NativePointer) void impl_CanvasPath_ellipse(Ark_NativePointer thisPtr, KDouble x, KDouble y, KDouble radiusX, KDouble radiusY, KDouble rotation, KDouble startAngle, KDouble endAngle, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto counterclockwiseValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean counterclockwiseValueTempTmpBuf = {}; - counterclockwiseValueTempTmpBuf.tag = counterclockwiseValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((counterclockwiseValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - counterclockwiseValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean counterclockwiseValueTemp = counterclockwiseValueTempTmpBuf;; - GetAccessors()->getCanvasPathAccessor()->ellipse(self, x, y, radiusX, radiusY, rotation, startAngle, endAngle, static_cast(&counterclockwiseValueTemp)); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto counterclockwiseValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean counterclockwiseValueTempTmpBuf = {}; + counterclockwiseValueTempTmpBuf.tag = counterclockwiseValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((counterclockwiseValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + counterclockwiseValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean counterclockwiseValueTemp = counterclockwiseValueTempTmpBuf;; + GetAccessors()->getCanvasPathAccessor()->ellipse(self, x, y, radiusX, radiusY, rotation, startAngle, endAngle, static_cast(&counterclockwiseValueTemp)); } KOALA_INTEROP_V10(CanvasPath_ellipse, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble, KSerializerBuffer, KInt) void impl_CanvasPath_lineTo(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->lineTo(self, x, y); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->lineTo(self, x, y); } KOALA_INTEROP_V3(CanvasPath_lineTo, Ark_NativePointer, KDouble, KDouble) void impl_CanvasPath_moveTo(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->moveTo(self, x, y); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->moveTo(self, x, y); } KOALA_INTEROP_V3(CanvasPath_moveTo, Ark_NativePointer, KDouble, KDouble) void impl_CanvasPath_quadraticCurveTo(Ark_NativePointer thisPtr, KDouble cpx, KDouble cpy, KDouble x, KDouble y) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->quadraticCurveTo(self, cpx, cpy, x, y); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->quadraticCurveTo(self, cpx, cpy, x, y); } KOALA_INTEROP_V5(CanvasPath_quadraticCurveTo, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) void impl_CanvasPath_rect(Ark_NativePointer thisPtr, KDouble x, KDouble y, KDouble w, KDouble h) { - Ark_CanvasPath self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->rect(self, x, y, w, h); + Ark_CanvasPath self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPathAccessor()->rect(self, x, y, w, h); } KOALA_INTEROP_V5(CanvasPath_rect, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) Ark_NativePointer impl_CanvasPattern_construct() { - return GetAccessors()->getCanvasPatternAccessor()->construct(); + return GetAccessors()->getCanvasPatternAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CanvasPattern_construct, Ark_NativePointer) Ark_NativePointer impl_CanvasPattern_getFinalizer() { - return GetAccessors()->getCanvasPatternAccessor()->getFinalizer(); + return GetAccessors()->getCanvasPatternAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CanvasPattern_getFinalizer, Ark_NativePointer) +void impl_CanvasPattern_callHolder(Ark_NativePointer thisPtr) { + Ark_CanvasPattern self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasPatternAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CanvasPattern_callHolder, Ark_NativePointer) void impl_CanvasPattern_setTransform(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasPattern self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto transformValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Matrix2D transformValueTempTmpBuf = {}; - transformValueTempTmpBuf.tag = transformValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((transformValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - transformValueTempTmpBuf.value = static_cast(ArkuiComponentMatrix2dMatrix2DSerializerImpl::read(thisDeserializer)); - } - Opt_Matrix2D transformValueTemp = transformValueTempTmpBuf;; - GetAccessors()->getCanvasPatternAccessor()->setTransform(self, static_cast(&transformValueTemp)); + Ark_CanvasPattern self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto transformValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Matrix2D transformValueTempTmpBuf = {}; + transformValueTempTmpBuf.tag = transformValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((transformValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + transformValueTempTmpBuf.value = static_cast(ArkuiComponentMatrix2dMatrix2DSerializerImpl::read(thisDeserializer)); + } + Opt_Matrix2D transformValueTemp = transformValueTempTmpBuf;; + GetAccessors()->getCanvasPatternAccessor()->setTransform(self, static_cast(&transformValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasPattern_setTransform, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasRenderer_construct() { - return GetAccessors()->getCanvasRendererAccessor()->construct(); + return GetAccessors()->getCanvasRendererAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CanvasRenderer_construct, Ark_NativePointer) Ark_NativePointer impl_CanvasRenderer_getFinalizer() { - return GetAccessors()->getCanvasRendererAccessor()->getFinalizer(); + return GetAccessors()->getCanvasRendererAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CanvasRenderer_getFinalizer, Ark_NativePointer) +void impl_CanvasRenderer_callHolder(Ark_NativePointer thisPtr) { + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CanvasRenderer_callHolder, Ark_NativePointer) void impl_CanvasRenderer_drawImage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength, KDouble dx, KDouble dy) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 imageValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ImageBitmap_image_PixelMap imageValueTempTmpBuf = {}; - imageValueTempTmpBuf.selector = imageValueTempTmpBufUnionSelector; - if (imageValueTempTmpBufUnionSelector == 0) { - imageValueTempTmpBuf.selector = 0; - imageValueTempTmpBuf.value0 = static_cast(ArkuiComponentCanvasImageBitmapSerializerImpl::read(thisDeserializer)); - } else if (imageValueTempTmpBufUnionSelector == 1) { - imageValueTempTmpBuf.selector = 1; - imageValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for imageValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ImageBitmap_image_PixelMap imageValueTemp = static_cast(imageValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->drawImage0(self, static_cast(&imageValueTemp), dx, dy); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 imageValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ImageBitmap_image_PixelMap imageValueTempTmpBuf = {}; + imageValueTempTmpBuf.selector = imageValueTempTmpBufUnionSelector; + if (imageValueTempTmpBufUnionSelector == 0) { + imageValueTempTmpBuf.selector = 0; + imageValueTempTmpBuf.value0 = static_cast(ArkuiComponentCanvasImageBitmapSerializerImpl::read(thisDeserializer)); + } else if (imageValueTempTmpBufUnionSelector == 1) { + imageValueTempTmpBuf.selector = 1; + imageValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for imageValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ImageBitmap_image_PixelMap imageValueTemp = static_cast(imageValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->drawImage0(self, static_cast(&imageValueTemp), dx, dy); } KOALA_INTEROP_V5(CanvasRenderer_drawImage0, Ark_NativePointer, KSerializerBuffer, KInt, KDouble, KDouble) void impl_CanvasRenderer_drawImage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength, KDouble dx, KDouble dy, KDouble dw, KDouble dh) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 imageValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ImageBitmap_image_PixelMap imageValueTempTmpBuf = {}; - imageValueTempTmpBuf.selector = imageValueTempTmpBufUnionSelector; - if (imageValueTempTmpBufUnionSelector == 0) { - imageValueTempTmpBuf.selector = 0; - imageValueTempTmpBuf.value0 = static_cast(ArkuiComponentCanvasImageBitmapSerializerImpl::read(thisDeserializer)); - } else if (imageValueTempTmpBufUnionSelector == 1) { - imageValueTempTmpBuf.selector = 1; - imageValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for imageValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ImageBitmap_image_PixelMap imageValueTemp = static_cast(imageValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->drawImage1(self, static_cast(&imageValueTemp), dx, dy, dw, dh); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 imageValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ImageBitmap_image_PixelMap imageValueTempTmpBuf = {}; + imageValueTempTmpBuf.selector = imageValueTempTmpBufUnionSelector; + if (imageValueTempTmpBufUnionSelector == 0) { + imageValueTempTmpBuf.selector = 0; + imageValueTempTmpBuf.value0 = static_cast(ArkuiComponentCanvasImageBitmapSerializerImpl::read(thisDeserializer)); + } else if (imageValueTempTmpBufUnionSelector == 1) { + imageValueTempTmpBuf.selector = 1; + imageValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for imageValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ImageBitmap_image_PixelMap imageValueTemp = static_cast(imageValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->drawImage1(self, static_cast(&imageValueTemp), dx, dy, dw, dh); } KOALA_INTEROP_V7(CanvasRenderer_drawImage1, Ark_NativePointer, KSerializerBuffer, KInt, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_drawImage2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength, KDouble sx, KDouble sy, KDouble sw, KDouble sh, KDouble dx, KDouble dy, KDouble dw, KDouble dh) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 imageValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ImageBitmap_image_PixelMap imageValueTempTmpBuf = {}; - imageValueTempTmpBuf.selector = imageValueTempTmpBufUnionSelector; - if (imageValueTempTmpBufUnionSelector == 0) { - imageValueTempTmpBuf.selector = 0; - imageValueTempTmpBuf.value0 = static_cast(ArkuiComponentCanvasImageBitmapSerializerImpl::read(thisDeserializer)); - } else if (imageValueTempTmpBufUnionSelector == 1) { - imageValueTempTmpBuf.selector = 1; - imageValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for imageValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ImageBitmap_image_PixelMap imageValueTemp = static_cast(imageValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->drawImage2(self, static_cast(&imageValueTemp), sx, sy, sw, sh, dx, dy, dw, dh); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 imageValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ImageBitmap_image_PixelMap imageValueTempTmpBuf = {}; + imageValueTempTmpBuf.selector = imageValueTempTmpBufUnionSelector; + if (imageValueTempTmpBufUnionSelector == 0) { + imageValueTempTmpBuf.selector = 0; + imageValueTempTmpBuf.value0 = static_cast(ArkuiComponentCanvasImageBitmapSerializerImpl::read(thisDeserializer)); + } else if (imageValueTempTmpBufUnionSelector == 1) { + imageValueTempTmpBuf.selector = 1; + imageValueTempTmpBuf.value1 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for imageValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ImageBitmap_image_PixelMap imageValueTemp = static_cast(imageValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->drawImage2(self, static_cast(&imageValueTemp), sx, sy, sw, sh, dx, dy, dw, dh); } KOALA_INTEROP_V11(CanvasRenderer_drawImage2, Ark_NativePointer, KSerializerBuffer, KInt, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_beginPath(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->beginPath(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->beginPath(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_beginPath, Ark_NativePointer) void impl_CanvasRenderer_clip0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String fillRuleValueTempTmpBuf = {}; - fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->clip0(self, static_cast(&fillRuleValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String fillRuleValueTempTmpBuf = {}; + fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->clip0(self, static_cast(&fillRuleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_clip0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_clip1(Ark_NativePointer thisPtr, Ark_NativePointer path, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String fillRuleValueTempTmpBuf = {}; - fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->clip1(self, static_cast(path), static_cast(&fillRuleValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String fillRuleValueTempTmpBuf = {}; + fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->clip1(self, static_cast(path), static_cast(&fillRuleValueTemp)); } KOALA_INTEROP_DIRECT_V4(CanvasRenderer_clip1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_fill0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String fillRuleValueTempTmpBuf = {}; - fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->fill0(self, static_cast(&fillRuleValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String fillRuleValueTempTmpBuf = {}; + fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->fill0(self, static_cast(&fillRuleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_fill0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_fill1(Ark_NativePointer thisPtr, Ark_NativePointer path, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String fillRuleValueTempTmpBuf = {}; - fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->fill1(self, static_cast(path), static_cast(&fillRuleValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fillRuleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String fillRuleValueTempTmpBuf = {}; + fillRuleValueTempTmpBuf.tag = fillRuleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fillRuleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fillRuleValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String fillRuleValueTemp = fillRuleValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->fill1(self, static_cast(path), static_cast(&fillRuleValueTemp)); } KOALA_INTEROP_DIRECT_V4(CanvasRenderer_fill1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_stroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto pathValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Path2D pathValueTempTmpBuf = {}; - pathValueTempTmpBuf.tag = pathValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((pathValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - pathValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasPath2DSerializerImpl::read(thisDeserializer)); - } - Opt_Path2D pathValueTemp = pathValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->stroke(self, static_cast(&pathValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto pathValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Path2D pathValueTempTmpBuf = {}; + pathValueTempTmpBuf.tag = pathValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((pathValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + pathValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasPath2DSerializerImpl::read(thisDeserializer)); + } + Opt_Path2D pathValueTemp = pathValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->stroke(self, static_cast(&pathValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_stroke, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasRenderer_createLinearGradient(Ark_NativePointer thisPtr, KDouble x0, KDouble y0, KDouble x1, KDouble y1) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createLinearGradient(self, x0, y0, x1, y1); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->createLinearGradient(self, x0, y0, x1, y1); } KOALA_INTEROP_5(CanvasRenderer_createLinearGradient, Ark_NativePointer, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) KInteropReturnBuffer impl_CanvasRenderer_createPattern(Ark_NativePointer thisPtr, Ark_NativePointer image, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto repetitionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String repetitionValueTempTmpBuf = {}; - repetitionValueTempTmpBuf.tag = repetitionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((repetitionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - repetitionValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String repetitionValueTemp = repetitionValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->createPattern(self, static_cast(image), static_cast(&repetitionValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentCanvasCanvasPatternSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto repetitionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String repetitionValueTempTmpBuf = {}; + repetitionValueTempTmpBuf.tag = repetitionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((repetitionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + repetitionValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String repetitionValueTemp = repetitionValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->createPattern(self, static_cast(image), static_cast(&repetitionValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCanvasCanvasPatternSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(CanvasRenderer_createPattern, KInteropReturnBuffer, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasRenderer_createRadialGradient(Ark_NativePointer thisPtr, KDouble x0, KDouble y0, KDouble r0, KDouble x1, KDouble y1, KDouble r1) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createRadialGradient(self, x0, y0, r0, x1, y1, r1); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->createRadialGradient(self, x0, y0, r0, x1, y1, r1); } KOALA_INTEROP_7(CanvasRenderer_createRadialGradient, Ark_NativePointer, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble) Ark_NativePointer impl_CanvasRenderer_createConicGradient(Ark_NativePointer thisPtr, KDouble startAngle, KDouble x, KDouble y) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createConicGradient(self, startAngle, x, y); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->createConicGradient(self, startAngle, x, y); } KOALA_INTEROP_4(CanvasRenderer_createConicGradient, Ark_NativePointer, Ark_NativePointer, KDouble, KDouble, KDouble) void impl_CanvasRenderer_getPixelMap(Ark_NativePointer thisPtr, KDouble sx, KDouble sy, KDouble sw, KDouble sh) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getPixelMap(self, sx, sy, sw, sh); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getPixelMap(self, sx, sy, sw, sh); } KOALA_INTEROP_V5(CanvasRenderer_getPixelMap, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) KInteropReturnBuffer impl_CanvasRenderer_getLineDash(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLineDash(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_Float64 retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeFloat64(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLineDash(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Float64 retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeFloat64(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CanvasRenderer_getLineDash, KInteropReturnBuffer, Ark_NativePointer) void impl_CanvasRenderer_setLineDash(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 segmentsValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_F64 segmentsValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 segmentsValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_F64 segmentsValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&segmentsValueTempTmpBuf, segmentsValueTempTmpBufLength); - for (int segmentsValueTempTmpBufBufCounterI = 0; segmentsValueTempTmpBufBufCounterI < segmentsValueTempTmpBufLength; segmentsValueTempTmpBufBufCounterI++) { - segmentsValueTempTmpBuf.array[segmentsValueTempTmpBufBufCounterI] = thisDeserializer.readFloat64(); - } - Array_F64 segmentsValueTemp = segmentsValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->setLineDash(self, static_cast(&segmentsValueTemp)); + for (int segmentsValueTempTmpBufBufCounterI = 0; segmentsValueTempTmpBufBufCounterI < segmentsValueTempTmpBufLength; segmentsValueTempTmpBufBufCounterI++) { + segmentsValueTempTmpBuf.array[segmentsValueTempTmpBufBufCounterI] = thisDeserializer.readFloat64(); + } + Array_F64 segmentsValueTemp = segmentsValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->setLineDash(self, static_cast(&segmentsValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLineDash, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_clearRect(Ark_NativePointer thisPtr, KDouble x, KDouble y, KDouble w, KDouble h) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->clearRect(self, x, y, w, h); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->clearRect(self, x, y, w, h); } KOALA_INTEROP_V5(CanvasRenderer_clearRect, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_fillRect(Ark_NativePointer thisPtr, KDouble x, KDouble y, KDouble w, KDouble h) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->fillRect(self, x, y, w, h); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->fillRect(self, x, y, w, h); } KOALA_INTEROP_V5(CanvasRenderer_fillRect, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_strokeRect(Ark_NativePointer thisPtr, KDouble x, KDouble y, KDouble w, KDouble h) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->strokeRect(self, x, y, w, h); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->strokeRect(self, x, y, w, h); } KOALA_INTEROP_V5(CanvasRenderer_strokeRect, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_restore(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->restore(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->restore(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_restore, Ark_NativePointer) void impl_CanvasRenderer_save(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->save(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->save(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_save, Ark_NativePointer) void impl_CanvasRenderer_fillText(Ark_NativePointer thisPtr, const KStringPtr& text, KDouble x, KDouble y, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto maxWidthValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 maxWidthValueTempTmpBuf = {}; - maxWidthValueTempTmpBuf.tag = maxWidthValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((maxWidthValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - maxWidthValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 maxWidthValueTemp = maxWidthValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->fillText(self, (const Ark_String*) (&text), x, y, static_cast(&maxWidthValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto maxWidthValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 maxWidthValueTempTmpBuf = {}; + maxWidthValueTempTmpBuf.tag = maxWidthValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((maxWidthValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + maxWidthValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 maxWidthValueTemp = maxWidthValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->fillText(self, (const Ark_String*) (&text), x, y, static_cast(&maxWidthValueTemp)); } KOALA_INTEROP_V6(CanvasRenderer_fillText, Ark_NativePointer, KStringPtr, KDouble, KDouble, KSerializerBuffer, KInt) KInteropReturnBuffer impl_CanvasRenderer_measureText(Ark_NativePointer thisPtr, const KStringPtr& text) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->measureText(self, (const Ark_String*) (&text)); - SerializerBase _retSerializer {}; - ArkuiComponentCanvasTextMetricsSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->measureText(self, (const Ark_String*) (&text)); + SerializerBase _retSerializer {}; + ArkuiComponentCanvasTextMetricsSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(CanvasRenderer_measureText, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) void impl_CanvasRenderer_strokeText(Ark_NativePointer thisPtr, const KStringPtr& text, KDouble x, KDouble y, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto maxWidthValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 maxWidthValueTempTmpBuf = {}; - maxWidthValueTempTmpBuf.tag = maxWidthValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((maxWidthValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - maxWidthValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 maxWidthValueTemp = maxWidthValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->strokeText(self, (const Ark_String*) (&text), x, y, static_cast(&maxWidthValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto maxWidthValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 maxWidthValueTempTmpBuf = {}; + maxWidthValueTempTmpBuf.tag = maxWidthValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((maxWidthValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + maxWidthValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 maxWidthValueTemp = maxWidthValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->strokeText(self, (const Ark_String*) (&text), x, y, static_cast(&maxWidthValueTemp)); } KOALA_INTEROP_V6(CanvasRenderer_strokeText, Ark_NativePointer, KStringPtr, KDouble, KDouble, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasRenderer_getTransform(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getTransform(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getTransform(self); } KOALA_INTEROP_DIRECT_1(CanvasRenderer_getTransform, Ark_NativePointer, Ark_NativePointer) void impl_CanvasRenderer_resetTransform(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->resetTransform(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->resetTransform(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_resetTransform, Ark_NativePointer) void impl_CanvasRenderer_rotate(Ark_NativePointer thisPtr, KDouble angle) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->rotate(self, angle); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->rotate(self, angle); } KOALA_INTEROP_V2(CanvasRenderer_rotate, Ark_NativePointer, KDouble) void impl_CanvasRenderer_scale(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->scale(self, x, y); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->scale(self, x, y); } KOALA_INTEROP_V3(CanvasRenderer_scale, Ark_NativePointer, KDouble, KDouble) void impl_CanvasRenderer_setTransform0(Ark_NativePointer thisPtr, KDouble a, KDouble b, KDouble c, KDouble d, KDouble e, KDouble f) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setTransform0(self, a, b, c, d, e, f); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setTransform0(self, a, b, c, d, e, f); } KOALA_INTEROP_V7(CanvasRenderer_setTransform0, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_setTransform1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto transformValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Matrix2D transformValueTempTmpBuf = {}; - transformValueTempTmpBuf.tag = transformValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((transformValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - transformValueTempTmpBuf.value = static_cast(ArkuiComponentMatrix2dMatrix2DSerializerImpl::read(thisDeserializer)); - } - Opt_Matrix2D transformValueTemp = transformValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->setTransform1(self, static_cast(&transformValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto transformValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Matrix2D transformValueTempTmpBuf = {}; + transformValueTempTmpBuf.tag = transformValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((transformValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + transformValueTempTmpBuf.value = static_cast(ArkuiComponentMatrix2dMatrix2DSerializerImpl::read(thisDeserializer)); + } + Opt_Matrix2D transformValueTemp = transformValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->setTransform1(self, static_cast(&transformValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setTransform1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_transform(Ark_NativePointer thisPtr, KDouble a, KDouble b, KDouble c, KDouble d, KDouble e, KDouble f) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->transform(self, a, b, c, d, e, f); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->transform(self, a, b, c, d, e, f); } KOALA_INTEROP_V7(CanvasRenderer_transform, Ark_NativePointer, KDouble, KDouble, KDouble, KDouble, KDouble, KDouble) void impl_CanvasRenderer_translate(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->translate(self, x, y); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->translate(self, x, y); } KOALA_INTEROP_V3(CanvasRenderer_translate, Ark_NativePointer, KDouble, KDouble) void impl_CanvasRenderer_setPixelMap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_image_PixelMap valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } - Opt_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getCanvasRendererAccessor()->setPixelMap(self, static_cast(&valueValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_image_PixelMap valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } + Opt_image_PixelMap valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getCanvasRendererAccessor()->setPixelMap(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setPixelMap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderer_transferFromImageBitmap(Ark_NativePointer thisPtr, Ark_NativePointer bitmap) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->transferFromImageBitmap(self, static_cast(bitmap)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->transferFromImageBitmap(self, static_cast(bitmap)); } KOALA_INTEROP_DIRECT_V2(CanvasRenderer_transferFromImageBitmap, Ark_NativePointer, Ark_NativePointer) void impl_CanvasRenderer_saveLayer(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->saveLayer(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->saveLayer(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_saveLayer, Ark_NativePointer) void impl_CanvasRenderer_restoreLayer(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->restoreLayer(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->restoreLayer(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_restoreLayer, Ark_NativePointer) void impl_CanvasRenderer_reset(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->reset(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->reset(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_reset, Ark_NativePointer) KInteropReturnBuffer impl_CanvasRenderer_getLetterSpacing(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLetterSpacing(self); - SerializerBase _retSerializer {}; - if (retValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueForIdx0 = retValue.value0; - ArkuiGraphicsLengthMetricsSerializerImpl::write(_retSerializer, retValueForIdx0); - } else if (retValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueForIdx1 = retValue.value1; - _retSerializer.writeString(retValueForIdx1); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLetterSpacing(self); + SerializerBase _retSerializer {}; + if (retValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueForIdx0 = retValue.value0; + ArkuiGraphicsLengthMetricsSerializerImpl::write(_retSerializer, retValueForIdx0); + } else if (retValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueForIdx1 = retValue.value1; + _retSerializer.writeString(retValueForIdx1); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CanvasRenderer_getLetterSpacing, KInteropReturnBuffer, Ark_NativePointer) void impl_CanvasRenderer_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 letterSpacingValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_LengthMetrics_String letterSpacingValueTempTmpBuf = {}; - letterSpacingValueTempTmpBuf.selector = letterSpacingValueTempTmpBufUnionSelector; - if (letterSpacingValueTempTmpBufUnionSelector == 0) { - letterSpacingValueTempTmpBuf.selector = 0; - letterSpacingValueTempTmpBuf.value0 = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } else if (letterSpacingValueTempTmpBufUnionSelector == 1) { - letterSpacingValueTempTmpBuf.selector = 1; - letterSpacingValueTempTmpBuf.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for letterSpacingValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_LengthMetrics_String letterSpacingValueTemp = static_cast(letterSpacingValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->setLetterSpacing(self, static_cast(&letterSpacingValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 letterSpacingValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_LengthMetrics_String letterSpacingValueTempTmpBuf = {}; + letterSpacingValueTempTmpBuf.selector = letterSpacingValueTempTmpBufUnionSelector; + if (letterSpacingValueTempTmpBufUnionSelector == 0) { + letterSpacingValueTempTmpBuf.selector = 0; + letterSpacingValueTempTmpBuf.value0 = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } else if (letterSpacingValueTempTmpBufUnionSelector == 1) { + letterSpacingValueTempTmpBuf.selector = 1; + letterSpacingValueTempTmpBuf.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for letterSpacingValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_LengthMetrics_String letterSpacingValueTemp = static_cast(letterSpacingValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->setLetterSpacing(self, static_cast(&letterSpacingValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_CanvasRenderer_getGlobalAlpha(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getGlobalAlpha(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getGlobalAlpha(self); } KOALA_INTEROP_1(CanvasRenderer_getGlobalAlpha, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setGlobalAlpha(Ark_NativePointer thisPtr, KDouble globalAlpha) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setGlobalAlpha(self, globalAlpha); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setGlobalAlpha(self, globalAlpha); } KOALA_INTEROP_V2(CanvasRenderer_setGlobalAlpha, Ark_NativePointer, KDouble) Ark_String impl_CanvasRenderer_getGlobalCompositeOperation(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getGlobalCompositeOperation(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getGlobalCompositeOperation(self); } KOALA_INTEROP_1(CanvasRenderer_getGlobalCompositeOperation, KStringPtr, Ark_NativePointer) void impl_CanvasRenderer_setGlobalCompositeOperation(Ark_NativePointer thisPtr, const KStringPtr& globalCompositeOperation) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setGlobalCompositeOperation(self, (const Ark_String*) (&globalCompositeOperation)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setGlobalCompositeOperation(self, (const Ark_String*) (&globalCompositeOperation)); } KOALA_INTEROP_V2(CanvasRenderer_setGlobalCompositeOperation, Ark_NativePointer, KStringPtr) KInteropReturnBuffer impl_CanvasRenderer_getFillStyle(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getFillStyle(self); - SerializerBase _retSerializer {}; - if (retValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueForIdx0 = retValue.value0; - _retSerializer.writeString(retValueForIdx0); - } else if (retValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueForIdx1 = retValue.value1; - _retSerializer.writeInt32(static_cast(retValueForIdx1)); - } else if (retValue.selector == 2) { - _retSerializer.writeInt8(2); - const auto retValueForIdx2 = retValue.value2; - _retSerializer.writeInt32(retValueForIdx2); - } else if (retValue.selector == 3) { - _retSerializer.writeInt8(3); - const auto retValueForIdx3 = retValue.value3; - ArkuiComponentCanvasCanvasGradientSerializerImpl::write(_retSerializer, retValueForIdx3); - } else if (retValue.selector == 4) { - _retSerializer.writeInt8(4); - const auto retValueForIdx4 = retValue.value4; - ArkuiComponentCanvasCanvasPatternSerializerImpl::write(_retSerializer, retValueForIdx4); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getFillStyle(self); + SerializerBase _retSerializer {}; + if (retValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueForIdx0 = retValue.value0; + _retSerializer.writeString(retValueForIdx0); + } else if (retValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueForIdx1 = retValue.value1; + _retSerializer.writeInt32(static_cast(retValueForIdx1)); + } else if (retValue.selector == 2) { + _retSerializer.writeInt8(2); + const auto retValueForIdx2 = retValue.value2; + _retSerializer.writeInt32(retValueForIdx2); + } else if (retValue.selector == 3) { + _retSerializer.writeInt8(3); + const auto retValueForIdx3 = retValue.value3; + ArkuiComponentCanvasCanvasGradientSerializerImpl::write(_retSerializer, retValueForIdx3); + } else if (retValue.selector == 4) { + _retSerializer.writeInt8(4); + const auto retValueForIdx4 = retValue.value4; + ArkuiComponentCanvasCanvasPatternSerializerImpl::write(_retSerializer, retValueForIdx4); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CanvasRenderer_getFillStyle, KInteropReturnBuffer, Ark_NativePointer) void impl_CanvasRenderer_setFillStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 fillStyleValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern fillStyleValueTempTmpBuf = {}; - fillStyleValueTempTmpBuf.selector = fillStyleValueTempTmpBufUnionSelector; - if (fillStyleValueTempTmpBufUnionSelector == 0) { - fillStyleValueTempTmpBuf.selector = 0; - fillStyleValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (fillStyleValueTempTmpBufUnionSelector == 1) { - fillStyleValueTempTmpBuf.selector = 1; - fillStyleValueTempTmpBuf.value1 = static_cast(thisDeserializer.readInt32()); - } else if (fillStyleValueTempTmpBufUnionSelector == 2) { - fillStyleValueTempTmpBuf.selector = 2; - fillStyleValueTempTmpBuf.value2 = thisDeserializer.readInt32(); - } else if (fillStyleValueTempTmpBufUnionSelector == 3) { - fillStyleValueTempTmpBuf.selector = 3; - fillStyleValueTempTmpBuf.value3 = static_cast(ArkuiComponentCanvasCanvasGradientSerializerImpl::read(thisDeserializer)); - } else if (fillStyleValueTempTmpBufUnionSelector == 4) { - fillStyleValueTempTmpBuf.selector = 4; - fillStyleValueTempTmpBuf.value4 = static_cast(ArkuiComponentCanvasCanvasPatternSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for fillStyleValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern fillStyleValueTemp = static_cast(fillStyleValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->setFillStyle(self, static_cast(&fillStyleValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 fillStyleValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern fillStyleValueTempTmpBuf = {}; + fillStyleValueTempTmpBuf.selector = fillStyleValueTempTmpBufUnionSelector; + if (fillStyleValueTempTmpBufUnionSelector == 0) { + fillStyleValueTempTmpBuf.selector = 0; + fillStyleValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (fillStyleValueTempTmpBufUnionSelector == 1) { + fillStyleValueTempTmpBuf.selector = 1; + fillStyleValueTempTmpBuf.value1 = static_cast(thisDeserializer.readInt32()); + } else if (fillStyleValueTempTmpBufUnionSelector == 2) { + fillStyleValueTempTmpBuf.selector = 2; + fillStyleValueTempTmpBuf.value2 = thisDeserializer.readInt32(); + } else if (fillStyleValueTempTmpBufUnionSelector == 3) { + fillStyleValueTempTmpBuf.selector = 3; + fillStyleValueTempTmpBuf.value3 = static_cast(ArkuiComponentCanvasCanvasGradientSerializerImpl::read(thisDeserializer)); + } else if (fillStyleValueTempTmpBufUnionSelector == 4) { + fillStyleValueTempTmpBuf.selector = 4; + fillStyleValueTempTmpBuf.value4 = static_cast(ArkuiComponentCanvasCanvasPatternSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for fillStyleValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern fillStyleValueTemp = static_cast(fillStyleValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->setFillStyle(self, static_cast(&fillStyleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setFillStyle, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_CanvasRenderer_getStrokeStyle(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getStrokeStyle(self); - SerializerBase _retSerializer {}; - if (retValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueForIdx0 = retValue.value0; - _retSerializer.writeString(retValueForIdx0); - } else if (retValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueForIdx1 = retValue.value1; - _retSerializer.writeInt32(static_cast(retValueForIdx1)); - } else if (retValue.selector == 2) { - _retSerializer.writeInt8(2); - const auto retValueForIdx2 = retValue.value2; - _retSerializer.writeInt32(retValueForIdx2); - } else if (retValue.selector == 3) { - _retSerializer.writeInt8(3); - const auto retValueForIdx3 = retValue.value3; - ArkuiComponentCanvasCanvasGradientSerializerImpl::write(_retSerializer, retValueForIdx3); - } else if (retValue.selector == 4) { - _retSerializer.writeInt8(4); - const auto retValueForIdx4 = retValue.value4; - ArkuiComponentCanvasCanvasPatternSerializerImpl::write(_retSerializer, retValueForIdx4); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getStrokeStyle(self); + SerializerBase _retSerializer {}; + if (retValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueForIdx0 = retValue.value0; + _retSerializer.writeString(retValueForIdx0); + } else if (retValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueForIdx1 = retValue.value1; + _retSerializer.writeInt32(static_cast(retValueForIdx1)); + } else if (retValue.selector == 2) { + _retSerializer.writeInt8(2); + const auto retValueForIdx2 = retValue.value2; + _retSerializer.writeInt32(retValueForIdx2); + } else if (retValue.selector == 3) { + _retSerializer.writeInt8(3); + const auto retValueForIdx3 = retValue.value3; + ArkuiComponentCanvasCanvasGradientSerializerImpl::write(_retSerializer, retValueForIdx3); + } else if (retValue.selector == 4) { + _retSerializer.writeInt8(4); + const auto retValueForIdx4 = retValue.value4; + ArkuiComponentCanvasCanvasPatternSerializerImpl::write(_retSerializer, retValueForIdx4); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CanvasRenderer_getStrokeStyle, KInteropReturnBuffer, Ark_NativePointer) void impl_CanvasRenderer_setStrokeStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 strokeStyleValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern strokeStyleValueTempTmpBuf = {}; - strokeStyleValueTempTmpBuf.selector = strokeStyleValueTempTmpBufUnionSelector; - if (strokeStyleValueTempTmpBufUnionSelector == 0) { - strokeStyleValueTempTmpBuf.selector = 0; - strokeStyleValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (strokeStyleValueTempTmpBufUnionSelector == 1) { - strokeStyleValueTempTmpBuf.selector = 1; - strokeStyleValueTempTmpBuf.value1 = static_cast(thisDeserializer.readInt32()); - } else if (strokeStyleValueTempTmpBufUnionSelector == 2) { - strokeStyleValueTempTmpBuf.selector = 2; - strokeStyleValueTempTmpBuf.value2 = thisDeserializer.readInt32(); - } else if (strokeStyleValueTempTmpBufUnionSelector == 3) { - strokeStyleValueTempTmpBuf.selector = 3; - strokeStyleValueTempTmpBuf.value3 = static_cast(ArkuiComponentCanvasCanvasGradientSerializerImpl::read(thisDeserializer)); - } else if (strokeStyleValueTempTmpBufUnionSelector == 4) { - strokeStyleValueTempTmpBuf.selector = 4; - strokeStyleValueTempTmpBuf.value4 = static_cast(ArkuiComponentCanvasCanvasPatternSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for strokeStyleValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern strokeStyleValueTemp = static_cast(strokeStyleValueTempTmpBuf);; - GetAccessors()->getCanvasRendererAccessor()->setStrokeStyle(self, static_cast(&strokeStyleValueTemp)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 strokeStyleValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern strokeStyleValueTempTmpBuf = {}; + strokeStyleValueTempTmpBuf.selector = strokeStyleValueTempTmpBufUnionSelector; + if (strokeStyleValueTempTmpBufUnionSelector == 0) { + strokeStyleValueTempTmpBuf.selector = 0; + strokeStyleValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (strokeStyleValueTempTmpBufUnionSelector == 1) { + strokeStyleValueTempTmpBuf.selector = 1; + strokeStyleValueTempTmpBuf.value1 = static_cast(thisDeserializer.readInt32()); + } else if (strokeStyleValueTempTmpBufUnionSelector == 2) { + strokeStyleValueTempTmpBuf.selector = 2; + strokeStyleValueTempTmpBuf.value2 = thisDeserializer.readInt32(); + } else if (strokeStyleValueTempTmpBufUnionSelector == 3) { + strokeStyleValueTempTmpBuf.selector = 3; + strokeStyleValueTempTmpBuf.value3 = static_cast(ArkuiComponentCanvasCanvasGradientSerializerImpl::read(thisDeserializer)); + } else if (strokeStyleValueTempTmpBufUnionSelector == 4) { + strokeStyleValueTempTmpBuf.selector = 4; + strokeStyleValueTempTmpBuf.value4 = static_cast(ArkuiComponentCanvasCanvasPatternSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for strokeStyleValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_arkui_component_enums_Color_I32_CanvasGradient_CanvasPattern strokeStyleValueTemp = static_cast(strokeStyleValueTempTmpBuf);; + GetAccessors()->getCanvasRendererAccessor()->setStrokeStyle(self, static_cast(&strokeStyleValueTemp)); } KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setStrokeStyle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_String impl_CanvasRenderer_getFilter(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getFilter(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getFilter(self); } KOALA_INTEROP_1(CanvasRenderer_getFilter, KStringPtr, Ark_NativePointer) void impl_CanvasRenderer_setFilter(Ark_NativePointer thisPtr, const KStringPtr& filter) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setFilter(self, (const Ark_String*) (&filter)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setFilter(self, (const Ark_String*) (&filter)); } KOALA_INTEROP_V2(CanvasRenderer_setFilter, Ark_NativePointer, KStringPtr) Ark_Boolean impl_CanvasRenderer_getImageSmoothingEnabled(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getImageSmoothingEnabled(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getImageSmoothingEnabled(self); } KOALA_INTEROP_DIRECT_1(CanvasRenderer_getImageSmoothingEnabled, Ark_Boolean, Ark_NativePointer) void impl_CanvasRenderer_setImageSmoothingEnabled(Ark_NativePointer thisPtr, Ark_Boolean imageSmoothingEnabled) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingEnabled(self, imageSmoothingEnabled); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingEnabled(self, imageSmoothingEnabled); } KOALA_INTEROP_V2(CanvasRenderer_setImageSmoothingEnabled, Ark_NativePointer, Ark_Boolean) void impl_CanvasRenderer_getImageSmoothingQuality(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getImageSmoothingQuality(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getImageSmoothingQuality(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getImageSmoothingQuality, Ark_NativePointer) void impl_CanvasRenderer_setImageSmoothingQuality(Ark_NativePointer thisPtr, const KStringPtr& imageSmoothingQuality) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingQuality(self, (const Ark_String*) (&imageSmoothingQuality)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingQuality(self, (const Ark_String*) (&imageSmoothingQuality)); } KOALA_INTEROP_V2(CanvasRenderer_setImageSmoothingQuality, Ark_NativePointer, KStringPtr) void impl_CanvasRenderer_getLineCap(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getLineCap(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getLineCap(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getLineCap, Ark_NativePointer) void impl_CanvasRenderer_setLineCap(Ark_NativePointer thisPtr, const KStringPtr& lineCap) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineCap(self, (const Ark_String*) (&lineCap)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setLineCap(self, (const Ark_String*) (&lineCap)); } KOALA_INTEROP_V2(CanvasRenderer_setLineCap, Ark_NativePointer, KStringPtr) Ark_Int32 impl_CanvasRenderer_getLineDashOffset(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getLineDashOffset(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getLineDashOffset(self); } KOALA_INTEROP_1(CanvasRenderer_getLineDashOffset, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setLineDashOffset(Ark_NativePointer thisPtr, KDouble lineDashOffset) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineDashOffset(self, lineDashOffset); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setLineDashOffset(self, lineDashOffset); } KOALA_INTEROP_V2(CanvasRenderer_setLineDashOffset, Ark_NativePointer, KDouble) void impl_CanvasRenderer_getLineJoin(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getLineJoin(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getLineJoin(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getLineJoin, Ark_NativePointer) void impl_CanvasRenderer_setLineJoin(Ark_NativePointer thisPtr, const KStringPtr& lineJoin) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineJoin(self, (const Ark_String*) (&lineJoin)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setLineJoin(self, (const Ark_String*) (&lineJoin)); } KOALA_INTEROP_V2(CanvasRenderer_setLineJoin, Ark_NativePointer, KStringPtr) Ark_Int32 impl_CanvasRenderer_getLineWidth(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getLineWidth(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getLineWidth(self); } KOALA_INTEROP_1(CanvasRenderer_getLineWidth, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setLineWidth(Ark_NativePointer thisPtr, KDouble lineWidth) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineWidth(self, lineWidth); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setLineWidth(self, lineWidth); } KOALA_INTEROP_V2(CanvasRenderer_setLineWidth, Ark_NativePointer, KDouble) Ark_Int32 impl_CanvasRenderer_getMiterLimit(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getMiterLimit(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getMiterLimit(self); } KOALA_INTEROP_1(CanvasRenderer_getMiterLimit, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setMiterLimit(Ark_NativePointer thisPtr, KDouble miterLimit) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setMiterLimit(self, miterLimit); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setMiterLimit(self, miterLimit); } KOALA_INTEROP_V2(CanvasRenderer_setMiterLimit, Ark_NativePointer, KDouble) Ark_Int32 impl_CanvasRenderer_getShadowBlur(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getShadowBlur(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getShadowBlur(self); } KOALA_INTEROP_1(CanvasRenderer_getShadowBlur, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setShadowBlur(Ark_NativePointer thisPtr, KDouble shadowBlur) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowBlur(self, shadowBlur); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setShadowBlur(self, shadowBlur); } KOALA_INTEROP_V2(CanvasRenderer_setShadowBlur, Ark_NativePointer, KDouble) Ark_String impl_CanvasRenderer_getShadowColor(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getShadowColor(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getShadowColor(self); } KOALA_INTEROP_1(CanvasRenderer_getShadowColor, KStringPtr, Ark_NativePointer) void impl_CanvasRenderer_setShadowColor(Ark_NativePointer thisPtr, const KStringPtr& shadowColor) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowColor(self, (const Ark_String*) (&shadowColor)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setShadowColor(self, (const Ark_String*) (&shadowColor)); } KOALA_INTEROP_V2(CanvasRenderer_setShadowColor, Ark_NativePointer, KStringPtr) Ark_Int32 impl_CanvasRenderer_getShadowOffsetX(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getShadowOffsetX(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getShadowOffsetX(self); } KOALA_INTEROP_1(CanvasRenderer_getShadowOffsetX, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setShadowOffsetX(Ark_NativePointer thisPtr, KDouble shadowOffsetX) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetX(self, shadowOffsetX); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetX(self, shadowOffsetX); } KOALA_INTEROP_V2(CanvasRenderer_setShadowOffsetX, Ark_NativePointer, KDouble) Ark_Int32 impl_CanvasRenderer_getShadowOffsetY(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getShadowOffsetY(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getShadowOffsetY(self); } KOALA_INTEROP_1(CanvasRenderer_getShadowOffsetY, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setShadowOffsetY(Ark_NativePointer thisPtr, KDouble shadowOffsetY) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetY(self, shadowOffsetY); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetY(self, shadowOffsetY); } KOALA_INTEROP_V2(CanvasRenderer_setShadowOffsetY, Ark_NativePointer, KDouble) void impl_CanvasRenderer_getDirection(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getDirection(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getDirection(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getDirection, Ark_NativePointer) void impl_CanvasRenderer_setDirection(Ark_NativePointer thisPtr, const KStringPtr& direction) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setDirection(self, (const Ark_String*) (&direction)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setDirection(self, (const Ark_String*) (&direction)); } KOALA_INTEROP_V2(CanvasRenderer_setDirection, Ark_NativePointer, KStringPtr) Ark_String impl_CanvasRenderer_getFont(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getFont(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRendererAccessor()->getFont(self); } KOALA_INTEROP_1(CanvasRenderer_getFont, KStringPtr, Ark_NativePointer) void impl_CanvasRenderer_setFont(Ark_NativePointer thisPtr, const KStringPtr& font) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setFont(self, (const Ark_String*) (&font)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setFont(self, (const Ark_String*) (&font)); } KOALA_INTEROP_V2(CanvasRenderer_setFont, Ark_NativePointer, KStringPtr) void impl_CanvasRenderer_getTextAlign(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getTextAlign(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getTextAlign(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getTextAlign, Ark_NativePointer) void impl_CanvasRenderer_setTextAlign(Ark_NativePointer thisPtr, const KStringPtr& textAlign) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setTextAlign(self, (const Ark_String*) (&textAlign)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setTextAlign(self, (const Ark_String*) (&textAlign)); } KOALA_INTEROP_V2(CanvasRenderer_setTextAlign, Ark_NativePointer, KStringPtr) void impl_CanvasRenderer_getTextBaseline(Ark_NativePointer thisPtr) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->getTextBaseline(self); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->getTextBaseline(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_getTextBaseline, Ark_NativePointer) void impl_CanvasRenderer_setTextBaseline(Ark_NativePointer thisPtr, const KStringPtr& textBaseline) { - Ark_CanvasRenderer self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setTextBaseline(self, (const Ark_String*) (&textBaseline)); + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRendererAccessor()->setTextBaseline(self, (const Ark_String*) (&textBaseline)); } KOALA_INTEROP_V2(CanvasRenderer_setTextBaseline, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_CanvasRenderingContext2D_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto settingsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RenderingContextSettings settingsValueTempTmpBuf = {}; - settingsValueTempTmpBuf.tag = settingsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((settingsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - settingsValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasRenderingContextSettingsSerializerImpl::read(thisDeserializer)); - } - Opt_RenderingContextSettings settingsValueTemp = settingsValueTempTmpBuf;; - const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; - unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; - return GetAccessors()->getCanvasRenderingContext2DAccessor()->construct(static_cast(&settingsValueTemp), static_cast(&unitValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto settingsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RenderingContextSettings settingsValueTempTmpBuf = {}; + settingsValueTempTmpBuf.tag = settingsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((settingsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + settingsValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasRenderingContextSettingsSerializerImpl::read(thisDeserializer)); + } + Opt_RenderingContextSettings settingsValueTemp = settingsValueTempTmpBuf;; + const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; + unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; + return GetAccessors()->getCanvasRenderingContext2DAccessor()->construct(static_cast(&settingsValueTemp), static_cast(&unitValueTemp)); } KOALA_INTEROP_DIRECT_2(CanvasRenderingContext2D_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CanvasRenderingContext2D_getFinalizer() { - return GetAccessors()->getCanvasRenderingContext2DAccessor()->getFinalizer(); + return GetAccessors()->getCanvasRenderingContext2DAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CanvasRenderingContext2D_getFinalizer, Ark_NativePointer) +void impl_CanvasRenderingContext2D_callHolder(Ark_NativePointer thisPtr) { + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRenderingContext2DAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CanvasRenderingContext2D_callHolder, Ark_NativePointer) Ark_String impl_CanvasRenderingContext2D_toDataURL(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String typeValueTemp = typeValueTempTmpBuf;; - const auto qualityValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 qualityValueTempTmpBuf = {}; - qualityValueTempTmpBuf.tag = qualityValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((qualityValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - qualityValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 qualityValueTemp = qualityValueTempTmpBuf;; - return GetAccessors()->getCanvasRenderingContext2DAccessor()->toDataURL(self, static_cast(&typeValueTemp), static_cast(&qualityValueTemp)); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String typeValueTemp = typeValueTempTmpBuf;; + const auto qualityValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 qualityValueTempTmpBuf = {}; + qualityValueTempTmpBuf.tag = qualityValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((qualityValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + qualityValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 qualityValueTemp = qualityValueTempTmpBuf;; + return GetAccessors()->getCanvasRenderingContext2DAccessor()->toDataURL(self, static_cast(&typeValueTemp), static_cast(&qualityValueTemp)); } KOALA_INTEROP_3(CanvasRenderingContext2D_toDataURL, KStringPtr, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderingContext2D_startImageAnalyzer(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ImageAnalyzerConfig configValueTemp = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer);; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getCanvasRenderingContext2DAccessor()->startImageAnalyzer(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&configValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ImageAnalyzerConfig configValueTemp = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer);; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getCanvasRenderingContext2DAccessor()->startImageAnalyzer(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&configValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(CanvasRenderingContext2D_startImageAnalyzer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_CanvasRenderingContext2D_stopImageAnalyzer(Ark_NativePointer thisPtr) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRenderingContext2DAccessor()->stopImageAnalyzer(self); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + GetAccessors()->getCanvasRenderingContext2DAccessor()->stopImageAnalyzer(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderingContext2D_stopImageAnalyzer, Ark_NativePointer) KInteropReturnBuffer impl_CanvasRenderingContext2D_onAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - VoidCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))};; - const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->onAttach(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + VoidCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))};; + const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->onAttach(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(CanvasRenderingContext2D_onAttach, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_CanvasRenderingContext2D_offAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->offAttach(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->offAttach(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(CanvasRenderingContext2D_offAttach, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_CanvasRenderingContext2D_onDetach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - VoidCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))};; - const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->onDetach(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + VoidCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))};; + const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->onDetach(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(CanvasRenderingContext2D_onDetach, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_CanvasRenderingContext2D_offDetach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->offDetach(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getCanvasRenderingContext2DAccessor()->offDetach(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(CanvasRenderingContext2D_offDetach, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_CanvasRenderingContext2D_getHeight(Ark_NativePointer thisPtr) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRenderingContext2DAccessor()->getHeight(self); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRenderingContext2DAccessor()->getHeight(self); } KOALA_INTEROP_1(CanvasRenderingContext2D_getHeight, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_CanvasRenderingContext2D_getWidth(Ark_NativePointer thisPtr) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRenderingContext2DAccessor()->getWidth(self); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRenderingContext2DAccessor()->getWidth(self); } KOALA_INTEROP_1(CanvasRenderingContext2D_getWidth, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_CanvasRenderingContext2D_getCanvas(Ark_NativePointer thisPtr) { - Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRenderingContext2DAccessor()->getCanvas(self); + Ark_CanvasRenderingContext2D self = reinterpret_cast(thisPtr); + return GetAccessors()->getCanvasRenderingContext2DAccessor()->getCanvas(self); } KOALA_INTEROP_DIRECT_1(CanvasRenderingContext2D_getCanvas, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_ChildrenMainSize_construct(KDouble childDefaultSize) { - return GetAccessors()->getChildrenMainSizeAccessor()->construct(childDefaultSize); + return GetAccessors()->getChildrenMainSizeAccessor()->construct(childDefaultSize); } KOALA_INTEROP_1(ChildrenMainSize_construct, Ark_NativePointer, KDouble) Ark_NativePointer impl_ChildrenMainSize_getFinalizer() { - return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer(); + return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ChildrenMainSize_getFinalizer, Ark_NativePointer) +void impl_ChildrenMainSize_callHolder(Ark_NativePointer thisPtr) { + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + GetAccessors()->getChildrenMainSizeAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ChildrenMainSize_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ChildrenMainSize_splice(Ark_NativePointer thisPtr, Ark_Int32 start, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto deleteCountValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 deleteCountValueTempTmpBuf = {}; - deleteCountValueTempTmpBuf.tag = deleteCountValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((deleteCountValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - deleteCountValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 deleteCountValueTemp = deleteCountValueTempTmpBuf;; - const auto childrenSizeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_F64 childrenSizeValueTempTmpBuf = {}; - childrenSizeValueTempTmpBuf.tag = childrenSizeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((childrenSizeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 childrenSizeValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_F64 childrenSizeValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto deleteCountValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 deleteCountValueTempTmpBuf = {}; + deleteCountValueTempTmpBuf.tag = deleteCountValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((deleteCountValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + deleteCountValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 deleteCountValueTemp = deleteCountValueTempTmpBuf;; + const auto childrenSizeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_F64 childrenSizeValueTempTmpBuf = {}; + childrenSizeValueTempTmpBuf.tag = childrenSizeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((childrenSizeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 childrenSizeValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_F64 childrenSizeValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&childrenSizeValueTempTmpBufOpt, childrenSizeValueTempTmpBufOptLength); - for (int childrenSizeValueTempTmpBufOptBufCounterI = 0; childrenSizeValueTempTmpBufOptBufCounterI < childrenSizeValueTempTmpBufOptLength; childrenSizeValueTempTmpBufOptBufCounterI++) { - childrenSizeValueTempTmpBufOpt.array[childrenSizeValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); - } - childrenSizeValueTempTmpBuf.value = childrenSizeValueTempTmpBufOpt; - } - Opt_Array_F64 childrenSizeValueTemp = childrenSizeValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getChildrenMainSizeAccessor()->splice(self, start, static_cast(&deleteCountValueTemp), static_cast(&childrenSizeValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + for (int childrenSizeValueTempTmpBufOptBufCounterI = 0; childrenSizeValueTempTmpBufOptBufCounterI < childrenSizeValueTempTmpBufOptLength; childrenSizeValueTempTmpBufOptBufCounterI++) { + childrenSizeValueTempTmpBufOpt.array[childrenSizeValueTempTmpBufOptBufCounterI] = thisDeserializer.readFloat64(); + } + childrenSizeValueTempTmpBuf.value = childrenSizeValueTempTmpBufOpt; + } + Opt_Array_F64 childrenSizeValueTemp = childrenSizeValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getChildrenMainSizeAccessor()->splice(self, start, static_cast(&deleteCountValueTemp), static_cast(&childrenSizeValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(ChildrenMainSize_splice, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) KInteropReturnBuffer impl_ChildrenMainSize_update(Ark_NativePointer thisPtr, Ark_Int32 index, KDouble childSize) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getChildrenMainSizeAccessor()->update(self, index, childSize); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getChildrenMainSizeAccessor()->update(self, index, childSize); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(ChildrenMainSize_update, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, KDouble) Ark_Int32 impl_ChildrenMainSize_getChildDefaultSize(Ark_NativePointer thisPtr) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self); + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self); } KOALA_INTEROP_1(ChildrenMainSize_getChildDefaultSize, Ark_Int32, Ark_NativePointer) void impl_ChildrenMainSize_setChildDefaultSize(Ark_NativePointer thisPtr, KDouble childDefaultSize) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, childDefaultSize); + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, childDefaultSize); } KOALA_INTEROP_V2(ChildrenMainSize_setChildDefaultSize, Ark_NativePointer, KDouble) Ark_NativePointer impl_ClickEvent_construct() { - return GetAccessors()->getClickEventAccessor()->construct(); + return GetAccessors()->getClickEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(ClickEvent_construct, Ark_NativePointer) Ark_NativePointer impl_ClickEvent_getFinalizer() { - return GetAccessors()->getClickEventAccessor()->getFinalizer(); + return GetAccessors()->getClickEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ClickEvent_getFinalizer, Ark_NativePointer) +void impl_ClickEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ClickEvent_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ClickEvent_preventDefault(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getClickEventAccessor()->preventDefault(self); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getClickEventAccessor()->preventDefault(self); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ClickEvent_preventDefault, KInteropReturnBuffer, Ark_NativePointer) Ark_Int32 impl_ClickEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getDisplayX(self); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getDisplayX(self); } KOALA_INTEROP_1(ClickEvent_getDisplayX, Ark_Int32, Ark_NativePointer) void impl_ClickEvent_setDisplayX(Ark_NativePointer thisPtr, KDouble displayX) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setDisplayX(self, displayX); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setDisplayX(self, displayX); } KOALA_INTEROP_V2(ClickEvent_setDisplayX, Ark_NativePointer, KDouble) Ark_Int32 impl_ClickEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getDisplayY(self); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getDisplayY(self); } KOALA_INTEROP_1(ClickEvent_getDisplayY, Ark_Int32, Ark_NativePointer) void impl_ClickEvent_setDisplayY(Ark_NativePointer thisPtr, KDouble displayY) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setDisplayY(self, displayY); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setDisplayY(self, displayY); } KOALA_INTEROP_V2(ClickEvent_setDisplayY, Ark_NativePointer, KDouble) Ark_Int32 impl_ClickEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getWindowX(self); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getWindowX(self); } KOALA_INTEROP_1(ClickEvent_getWindowX, Ark_Int32, Ark_NativePointer) void impl_ClickEvent_setWindowX(Ark_NativePointer thisPtr, KDouble windowX) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setWindowX(self, windowX); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setWindowX(self, windowX); } KOALA_INTEROP_V2(ClickEvent_setWindowX, Ark_NativePointer, KDouble) Ark_Int32 impl_ClickEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getWindowY(self); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getWindowY(self); } KOALA_INTEROP_1(ClickEvent_getWindowY, Ark_Int32, Ark_NativePointer) void impl_ClickEvent_setWindowY(Ark_NativePointer thisPtr, KDouble windowY) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setWindowY(self, windowY); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setWindowY(self, windowY); } KOALA_INTEROP_V2(ClickEvent_setWindowY, Ark_NativePointer, KDouble) Ark_Int32 impl_ClickEvent_getX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getX(self); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getX(self); } KOALA_INTEROP_1(ClickEvent_getX, Ark_Int32, Ark_NativePointer) void impl_ClickEvent_setX(Ark_NativePointer thisPtr, KDouble x) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setX(self, x); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setX(self, x); } KOALA_INTEROP_V2(ClickEvent_setX, Ark_NativePointer, KDouble) Ark_Int32 impl_ClickEvent_getY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getY(self); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getY(self); } KOALA_INTEROP_1(ClickEvent_getY, Ark_Int32, Ark_NativePointer) void impl_ClickEvent_setY(Ark_NativePointer thisPtr, KDouble y) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setY(self, y); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setY(self, y); } KOALA_INTEROP_V2(ClickEvent_setY, Ark_NativePointer, KDouble) KInteropReturnBuffer impl_ClickEvent_getHand(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getClickEventAccessor()->getHand(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getClickEventAccessor()->getHand(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ClickEvent_getHand, KInteropReturnBuffer, Ark_NativePointer) void impl_ClickEvent_setHand(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto handValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_InteractionHand handValueTempTmpBuf = {}; - handValueTempTmpBuf.tag = handValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((handValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - handValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_InteractionHand handValueTemp = handValueTempTmpBuf;; - GetAccessors()->getClickEventAccessor()->setHand(self, static_cast(&handValueTemp)); + Ark_ClickEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto handValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_InteractionHand handValueTempTmpBuf = {}; + handValueTempTmpBuf.tag = handValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((handValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + handValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_InteractionHand handValueTemp = handValueTempTmpBuf;; + GetAccessors()->getClickEventAccessor()->setHand(self, static_cast(&handValueTemp)); } KOALA_INTEROP_DIRECT_V3(ClickEvent_setHand, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ColorContent_construct() { - return GetAccessors()->getColorContentAccessor()->construct(); + return GetAccessors()->getColorContentAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(ColorContent_construct, Ark_NativePointer) Ark_NativePointer impl_ColorContent_getFinalizer() { - return GetAccessors()->getColorContentAccessor()->getFinalizer(); + return GetAccessors()->getColorContentAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ColorContent_getFinalizer, Ark_NativePointer) +void impl_ColorContent_callHolder(Ark_NativePointer thisPtr) { + Ark_ColorContent self = reinterpret_cast(thisPtr); + GetAccessors()->getColorContentAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ColorContent_callHolder, Ark_NativePointer) Ark_NativePointer impl_ColorContent_getORIGIN() { - return GetAccessors()->getColorContentAccessor()->getORIGIN(); + return GetAccessors()->getColorContentAccessor()->getORIGIN(); } KOALA_INTEROP_DIRECT_0(ColorContent_getORIGIN, Ark_NativePointer) Ark_NativePointer impl_ColorFilter_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 valueValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_F64 valueValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 valueValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_F64 valueValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBuf, valueValueTempTmpBufLength); - for (int valueValueTempTmpBufBufCounterI = 0; valueValueTempTmpBufBufCounterI < valueValueTempTmpBufLength; valueValueTempTmpBufBufCounterI++) { - valueValueTempTmpBuf.array[valueValueTempTmpBufBufCounterI] = thisDeserializer.readFloat64(); - } - Array_F64 valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getColorFilterAccessor()->construct(static_cast(&valueValueTemp)); + for (int valueValueTempTmpBufBufCounterI = 0; valueValueTempTmpBufBufCounterI < valueValueTempTmpBufLength; valueValueTempTmpBufBufCounterI++) { + valueValueTempTmpBuf.array[valueValueTempTmpBufBufCounterI] = thisDeserializer.readFloat64(); + } + Array_F64 valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getColorFilterAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(ColorFilter_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ColorFilter_getFinalizer() { - return GetAccessors()->getColorFilterAccessor()->getFinalizer(); + return GetAccessors()->getColorFilterAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ColorFilter_getFinalizer, Ark_NativePointer) +void impl_ColorFilter_callHolder(Ark_NativePointer thisPtr) { + Ark_ColorFilter self = reinterpret_cast(thisPtr); + GetAccessors()->getColorFilterAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ColorFilter_callHolder, Ark_NativePointer) Ark_NativePointer impl_CommonShape_construct() { - return GetAccessors()->getCommonShapeAccessor()->construct(); + return GetAccessors()->getCommonShapeAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CommonShape_construct, Ark_NativePointer) Ark_NativePointer impl_CommonShape_getFinalizer() { - return GetAccessors()->getCommonShapeAccessor()->getFinalizer(); + return GetAccessors()->getCommonShapeAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CommonShape_getFinalizer, Ark_NativePointer) +void impl_CommonShape_callHolder(Ark_NativePointer thisPtr) { + Ark_CommonShape self = reinterpret_cast(thisPtr); + GetAccessors()->getCommonShapeAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CommonShape_callHolder, Ark_NativePointer) Ark_NativePointer impl_CommonShape_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CommonShape self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Position offsetValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getCommonShapeAccessor()->offset(self, static_cast(&offsetValueTemp)); + Ark_CommonShape self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Position offsetValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getCommonShapeAccessor()->offset(self, static_cast(&offsetValueTemp)); } KOALA_INTEROP_DIRECT_3(CommonShape_offset, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CommonShape_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CommonShape self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 colorValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor colorValueTempTmpBuf = {}; - colorValueTempTmpBuf.selector = colorValueTempTmpBufUnionSelector; - if (colorValueTempTmpBufUnionSelector == 0) { - colorValueTempTmpBuf.selector = 0; - colorValueTempTmpBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (colorValueTempTmpBufUnionSelector == 1) { - colorValueTempTmpBuf.selector = 1; - colorValueTempTmpBuf.value1 = thisDeserializer.readInt32(); - } else if (colorValueTempTmpBufUnionSelector == 2) { - colorValueTempTmpBuf.selector = 2; - colorValueTempTmpBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (colorValueTempTmpBufUnionSelector == 3) { - colorValueTempTmpBuf.selector = 3; - colorValueTempTmpBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for colorValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceColor colorValueTemp = static_cast(colorValueTempTmpBuf);; - return GetAccessors()->getCommonShapeAccessor()->fill(self, static_cast(&colorValueTemp)); + Ark_CommonShape self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 colorValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor colorValueTempTmpBuf = {}; + colorValueTempTmpBuf.selector = colorValueTempTmpBufUnionSelector; + if (colorValueTempTmpBufUnionSelector == 0) { + colorValueTempTmpBuf.selector = 0; + colorValueTempTmpBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (colorValueTempTmpBufUnionSelector == 1) { + colorValueTempTmpBuf.selector = 1; + colorValueTempTmpBuf.value1 = thisDeserializer.readInt32(); + } else if (colorValueTempTmpBufUnionSelector == 2) { + colorValueTempTmpBuf.selector = 2; + colorValueTempTmpBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (colorValueTempTmpBufUnionSelector == 3) { + colorValueTempTmpBuf.selector = 3; + colorValueTempTmpBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for colorValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceColor colorValueTemp = static_cast(colorValueTempTmpBuf);; + return GetAccessors()->getCommonShapeAccessor()->fill(self, static_cast(&colorValueTemp)); } KOALA_INTEROP_DIRECT_3(CommonShape_fill, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CommonShape_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CommonShape self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getCommonShapeAccessor()->position(self, static_cast(&positionValueTemp)); + Ark_CommonShape self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getCommonShapeAccessor()->position(self, static_cast(&positionValueTemp)); } KOALA_INTEROP_DIRECT_3(CommonShape_position, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_contentModifierButton(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - ButtonModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_BUTTONMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_BUTTONMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierButton(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + ButtonModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_BUTTONMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_BUTTONMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierButton(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierButton, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierButton(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierButton(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierButton(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierButton, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierCheckBox(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - CheckBoxModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CHECKBOXMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CHECKBOXMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierCheckBox(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + CheckBoxModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CHECKBOXMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CHECKBOXMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierCheckBox(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierCheckBox, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierCheckBox(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierCheckBox(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierCheckBox(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierCheckBox, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierDataPanel(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - DataPanelModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_DATAPANELMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_DATAPANELMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierDataPanel(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + DataPanelModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_DATAPANELMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_DATAPANELMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierDataPanel(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierDataPanel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierDataPanel(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierDataPanel(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierDataPanel(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierDataPanel, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierGauge(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - GaugeModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GAUGEMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GAUGEMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierGauge(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + GaugeModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GAUGEMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GAUGEMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierGauge(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierGauge, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierGauge(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierGauge(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierGauge(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierGauge, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierLoadingProgress(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - LoadingProgressModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_LOADINGPROGRESSMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_LOADINGPROGRESSMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierLoadingProgress(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + LoadingProgressModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_LOADINGPROGRESSMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_LOADINGPROGRESSMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierLoadingProgress(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierLoadingProgress, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierLoadingProgress(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierLoadingProgress(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierLoadingProgress(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierLoadingProgress, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierProgress(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - ProgressModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PROGRESSMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PROGRESSMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierProgress(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + ProgressModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_PROGRESSMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_PROGRESSMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierProgress(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierProgress, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierProgress(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierProgress(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierProgress(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierProgress, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierRadio(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - RadioModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RADIOMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RADIOMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierRadio(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + RadioModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RADIOMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RADIOMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierRadio(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierRadio, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierRadio(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierRadio(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierRadio(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierRadio, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierRating(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - RatingModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RATINGMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RATINGMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierRating(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + RatingModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RATINGMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RATINGMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierRating(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierRating, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierRating(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierRating(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierRating(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierRating, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierMenuItem(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - MenuItemModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MENUITEMMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MENUITEMMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierMenuItem(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + MenuItemModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MENUITEMMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MENUITEMMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierMenuItem(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierMenuItem, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierMenuItem(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierMenuItem(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierMenuItem(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierMenuItem, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierSlider(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - SliderModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SLIDERMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SLIDERMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierSlider(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + SliderModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SLIDERMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SLIDERMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierSlider(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierSlider, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierSlider(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierSlider(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierSlider(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierSlider, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierTextClock(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - TextClockModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTCLOCKMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTCLOCKMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierTextClock(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + TextClockModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTCLOCKMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTCLOCKMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierTextClock(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierTextClock, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierTextClock(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierTextClock(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierTextClock(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierTextClock, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierTextTimer(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - TextTimerModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTTIMERMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTTIMERMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierTextTimer(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + TextTimerModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTTIMERMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTTIMERMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierTextTimer(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierTextTimer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierTextTimer(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierTextTimer(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierTextTimer(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierTextTimer, Ark_NativePointer) void impl_ContentModifierHelper_contentModifierToggle(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; - ToggleModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TOGGLEMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TOGGLEMODIFIERBUILDER))))};; - GetAccessors()->getContentModifierHelperAccessor()->contentModifierToggle(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object contentModifierValueTemp = static_cast(thisDeserializer.readObject());; + ToggleModifierBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TOGGLEMODIFIERBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TOGGLEMODIFIERBUILDER))))};; + GetAccessors()->getContentModifierHelperAccessor()->contentModifierToggle(node, static_cast(&contentModifierValueTemp), static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(ContentModifierHelper_contentModifierToggle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ContentModifierHelper_resetContentModifierToggle(Ark_NativePointer node) { - GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierToggle(node); + GetAccessors()->getContentModifierHelperAccessor()->resetContentModifierToggle(node); } KOALA_INTEROP_DIRECT_V1(ContentModifierHelper_resetContentModifierToggle, Ark_NativePointer) Ark_NativePointer impl_CopyEvent_construct() { - return GetAccessors()->getCopyEventAccessor()->construct(); + return GetAccessors()->getCopyEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CopyEvent_construct, Ark_NativePointer) Ark_NativePointer impl_CopyEvent_getFinalizer() { - return GetAccessors()->getCopyEventAccessor()->getFinalizer(); + return GetAccessors()->getCopyEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CopyEvent_getFinalizer, Ark_NativePointer) +void impl_CopyEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_CopyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCopyEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CopyEvent_callHolder, Ark_NativePointer) void impl_CopyEvent_preventDefault(Ark_NativePointer thisPtr) { - Ark_CopyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCopyEventAccessor()->preventDefault(self); + Ark_CopyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCopyEventAccessor()->preventDefault(self); } KOALA_INTEROP_DIRECT_V1(CopyEvent_preventDefault, Ark_NativePointer) Ark_NativePointer impl_CrownEvent_construct() { - return GetAccessors()->getCrownEventAccessor()->construct(); + return GetAccessors()->getCrownEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CrownEvent_construct, Ark_NativePointer) Ark_NativePointer impl_CrownEvent_getFinalizer() { - return GetAccessors()->getCrownEventAccessor()->getFinalizer(); + return GetAccessors()->getCrownEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CrownEvent_getFinalizer, Ark_NativePointer) +void impl_CrownEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_CrownEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCrownEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CrownEvent_callHolder, Ark_NativePointer) void impl_CrownEvent_stopPropagation(Ark_NativePointer thisPtr) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCrownEventAccessor()->stopPropagation(self); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCrownEventAccessor()->stopPropagation(self); } KOALA_INTEROP_DIRECT_V1(CrownEvent_stopPropagation, Ark_NativePointer) Ark_Int32 impl_CrownEvent_getTimestamp(Ark_NativePointer thisPtr) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getCrownEventAccessor()->getTimestamp(self); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getCrownEventAccessor()->getTimestamp(self); } KOALA_INTEROP_DIRECT_1(CrownEvent_getTimestamp, Ark_Int32, Ark_NativePointer) void impl_CrownEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCrownEventAccessor()->setTimestamp(self, timestamp); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCrownEventAccessor()->setTimestamp(self, timestamp); } KOALA_INTEROP_DIRECT_V2(CrownEvent_setTimestamp, Ark_NativePointer, KLong) Ark_Int32 impl_CrownEvent_getAngularVelocity(Ark_NativePointer thisPtr) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getCrownEventAccessor()->getAngularVelocity(self); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getCrownEventAccessor()->getAngularVelocity(self); } KOALA_INTEROP_1(CrownEvent_getAngularVelocity, Ark_Int32, Ark_NativePointer) void impl_CrownEvent_setAngularVelocity(Ark_NativePointer thisPtr, KDouble angularVelocity) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCrownEventAccessor()->setAngularVelocity(self, angularVelocity); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCrownEventAccessor()->setAngularVelocity(self, angularVelocity); } KOALA_INTEROP_V2(CrownEvent_setAngularVelocity, Ark_NativePointer, KDouble) Ark_Int32 impl_CrownEvent_getDegree(Ark_NativePointer thisPtr) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getCrownEventAccessor()->getDegree(self); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getCrownEventAccessor()->getDegree(self); } KOALA_INTEROP_1(CrownEvent_getDegree, Ark_Int32, Ark_NativePointer) void impl_CrownEvent_setDegree(Ark_NativePointer thisPtr, KDouble degree) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCrownEventAccessor()->setDegree(self, degree); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCrownEventAccessor()->setDegree(self, degree); } KOALA_INTEROP_V2(CrownEvent_setDegree, Ark_NativePointer, KDouble) Ark_Int32 impl_CrownEvent_getAction(Ark_NativePointer thisPtr) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getCrownEventAccessor()->getAction(self); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getCrownEventAccessor()->getAction(self); } KOALA_INTEROP_DIRECT_1(CrownEvent_getAction, Ark_Int32, Ark_NativePointer) void impl_CrownEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { - Ark_CrownEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCrownEventAccessor()->setAction(self, static_cast(action)); + Ark_CrownEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCrownEventAccessor()->setAction(self, static_cast(action)); } KOALA_INTEROP_DIRECT_V2(CrownEvent_setAction, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_CustomDialogController_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_CustomDialogControllerOptions valueValueTemp = ArkuiComponentCustomDialogControllerCustomDialogControllerOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getCustomDialogControllerAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_CustomDialogControllerOptions valueValueTemp = ArkuiComponentCustomDialogControllerCustomDialogControllerOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getCustomDialogControllerAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(CustomDialogController_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CustomDialogController_getFinalizer() { - return GetAccessors()->getCustomDialogControllerAccessor()->getFinalizer(); + return GetAccessors()->getCustomDialogControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CustomDialogController_getFinalizer, Ark_NativePointer) +void impl_CustomDialogController_callHolder(Ark_NativePointer thisPtr) { + Ark_CustomDialogController self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CustomDialogController_callHolder, Ark_NativePointer) void impl_CustomDialogController_open(Ark_NativePointer thisPtr) { - Ark_CustomDialogController self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerAccessor()->open(self); + Ark_CustomDialogController self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerAccessor()->open(self); } KOALA_INTEROP_DIRECT_V1(CustomDialogController_open, Ark_NativePointer) void impl_CustomDialogController_close(Ark_NativePointer thisPtr) { - Ark_CustomDialogController self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerAccessor()->close(self); + Ark_CustomDialogController self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerAccessor()->close(self); } KOALA_INTEROP_DIRECT_V1(CustomDialogController_close, Ark_NativePointer) KInteropReturnBuffer impl_CustomDialogController_getExternalOptions(Ark_NativePointer thisPtr) { - Ark_CustomDialogController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCustomDialogControllerAccessor()->getExternalOptions(self); - SerializerBase _retSerializer {}; - ArkuiComponentCustomDialogControllerCustomDialogControllerExternalOptionsSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_CustomDialogController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCustomDialogControllerAccessor()->getExternalOptions(self); + SerializerBase _retSerializer {}; + ArkuiComponentCustomDialogControllerCustomDialogControllerExternalOptionsSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CustomDialogController_getExternalOptions, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_CustomDialogControllerExtender_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_CustomDialogControllerOptionsExtender valueValueTemp = ArkuiComponentIdlizeCustomDialogControllerOptionsExtenderSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getCustomDialogControllerExtenderAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_CustomDialogControllerOptionsExtender valueValueTemp = ArkuiComponentIdlizeCustomDialogControllerOptionsExtenderSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getCustomDialogControllerExtenderAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(CustomDialogControllerExtender_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CustomDialogControllerExtender_getFinalizer() { - return GetAccessors()->getCustomDialogControllerExtenderAccessor()->getFinalizer(); + return GetAccessors()->getCustomDialogControllerExtenderAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CustomDialogControllerExtender_getFinalizer, Ark_NativePointer) +void impl_CustomDialogControllerExtender_callHolder(Ark_NativePointer thisPtr) { + Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerExtenderAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CustomDialogControllerExtender_callHolder, Ark_NativePointer) void impl_CustomDialogControllerExtender_open(Ark_NativePointer thisPtr) { - Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerExtenderAccessor()->open(self); + Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerExtenderAccessor()->open(self); } KOALA_INTEROP_DIRECT_V1(CustomDialogControllerExtender_open, Ark_NativePointer) void impl_CustomDialogControllerExtender_close(Ark_NativePointer thisPtr) { - Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerExtenderAccessor()->close(self); + Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerExtenderAccessor()->close(self); } KOALA_INTEROP_DIRECT_V1(CustomDialogControllerExtender_close, Ark_NativePointer) void impl_CustomDialogControllerExtender_setOwnerView(Ark_NativePointer thisPtr, Ark_NativePointer content) { - Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerExtenderAccessor()->setOwnerView(self, content); + Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerExtenderAccessor()->setOwnerView(self, content); } KOALA_INTEROP_DIRECT_V2(CustomDialogControllerExtender_setOwnerView, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_CustomDialogControllerExtender_getExternalOptions(Ark_NativePointer thisPtr) { - Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCustomDialogControllerExtenderAccessor()->getExternalOptions(self); - SerializerBase _retSerializer {}; - ArkuiComponentIdlizeCustomDialogControllerExternalOptionsExtenderSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_CustomDialogControllerExtender self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCustomDialogControllerExtenderAccessor()->getExternalOptions(self); + SerializerBase _retSerializer {}; + ArkuiComponentIdlizeCustomDialogControllerExternalOptionsExtenderSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CustomDialogControllerExtender_getExternalOptions, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_CustomSpan_construct() { - return GetAccessors()->getCustomSpanAccessor()->construct(); + return GetAccessors()->getCustomSpanAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CustomSpan_construct, Ark_NativePointer) Ark_NativePointer impl_CustomSpan_getFinalizer() { - return GetAccessors()->getCustomSpanAccessor()->getFinalizer(); + return GetAccessors()->getCustomSpanAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CustomSpan_getFinalizer, Ark_NativePointer) +void impl_CustomSpan_callHolder(Ark_NativePointer thisPtr) { + Ark_CustomSpan self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomSpanAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CustomSpan_callHolder, Ark_NativePointer) void impl_CustomSpan_invalidate(Ark_NativePointer thisPtr) { - Ark_CustomSpan self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomSpanAccessor()->invalidate(self); + Ark_CustomSpan self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomSpanAccessor()->invalidate(self); } KOALA_INTEROP_DIRECT_V1(CustomSpan_invalidate, Ark_NativePointer) KInteropReturnBuffer impl_CustomSpan_getOnMeasure_callback(Ark_NativePointer thisPtr) { - Ark_CustomSpan self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCustomSpanAccessor()->getOnMeasure_callback(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_CustomSpan self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCustomSpanAccessor()->getOnMeasure_callback(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CustomSpan_getOnMeasure_callback, KInteropReturnBuffer, Ark_NativePointer) void impl_CustomSpan_setOnMeasure_callback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CustomSpan self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_CustomSpanMeasureInfo_CustomSpanMetrics onMeasure_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CUSTOMSPANMEASUREINFO_CUSTOMSPANMETRICS)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CUSTOMSPANMEASUREINFO_CUSTOMSPANMETRICS))))};; - GetAccessors()->getCustomSpanAccessor()->setOnMeasure_callback(self, static_cast(&onMeasure_callbackValueTemp)); + Ark_CustomSpan self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_CustomSpanMeasureInfo_CustomSpanMetrics onMeasure_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CUSTOMSPANMEASUREINFO_CUSTOMSPANMETRICS)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CUSTOMSPANMEASUREINFO_CUSTOMSPANMETRICS))))};; + GetAccessors()->getCustomSpanAccessor()->setOnMeasure_callback(self, static_cast(&onMeasure_callbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(CustomSpan_setOnMeasure_callback, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_CustomSpan_getOnDraw_callback(Ark_NativePointer thisPtr) { - Ark_CustomSpan self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getCustomSpanAccessor()->getOnDraw_callback(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_CustomSpan self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCustomSpanAccessor()->getOnDraw_callback(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(CustomSpan_getOnDraw_callback, KInteropReturnBuffer, Ark_NativePointer) void impl_CustomSpan_setOnDraw_callback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_CustomSpan self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_DrawContext_CustomSpanDrawInfo_Void onDraw_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_CUSTOMSPANDRAWINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_CUSTOMSPANDRAWINFO_VOID))))};; - GetAccessors()->getCustomSpanAccessor()->setOnDraw_callback(self, static_cast(&onDraw_callbackValueTemp)); + Ark_CustomSpan self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_DrawContext_CustomSpanDrawInfo_Void onDraw_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_CUSTOMSPANDRAWINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_CUSTOMSPANDRAWINFO_VOID))))};; + GetAccessors()->getCustomSpanAccessor()->setOnDraw_callback(self, static_cast(&onDraw_callbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(CustomSpan_setOnDraw_callback, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_CutEvent_construct() { - return GetAccessors()->getCutEventAccessor()->construct(); + return GetAccessors()->getCutEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(CutEvent_construct, Ark_NativePointer) Ark_NativePointer impl_CutEvent_getFinalizer() { - return GetAccessors()->getCutEventAccessor()->getFinalizer(); + return GetAccessors()->getCutEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(CutEvent_getFinalizer, Ark_NativePointer) +void impl_CutEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_CutEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCutEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(CutEvent_callHolder, Ark_NativePointer) void impl_CutEvent_preventDefault(Ark_NativePointer thisPtr) { - Ark_CutEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getCutEventAccessor()->preventDefault(self); + Ark_CutEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getCutEventAccessor()->preventDefault(self); } KOALA_INTEROP_DIRECT_V1(CutEvent_preventDefault, Ark_NativePointer) Ark_NativePointer impl_DecorationStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_DecorationStyleInterface valueValueTemp = ArkuiComponentStyledStringDecorationStyleInterfaceSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getDecorationStyleAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_DecorationStyleInterface valueValueTemp = ArkuiComponentStyledStringDecorationStyleInterfaceSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getDecorationStyleAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(DecorationStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DecorationStyle_getFinalizer() { - return GetAccessors()->getDecorationStyleAccessor()->getFinalizer(); + return GetAccessors()->getDecorationStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DecorationStyle_getFinalizer, Ark_NativePointer) +void impl_DecorationStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_DecorationStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getDecorationStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DecorationStyle_callHolder, Ark_NativePointer) Ark_Int32 impl_DecorationStyle_getType(Ark_NativePointer thisPtr) { - Ark_DecorationStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getDecorationStyleAccessor()->getType(self); + Ark_DecorationStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getDecorationStyleAccessor()->getType(self); } KOALA_INTEROP_DIRECT_1(DecorationStyle_getType, Ark_Int32, Ark_NativePointer) KInteropReturnBuffer impl_DecorationStyle_getColor(Ark_NativePointer thisPtr) { - Ark_DecorationStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDecorationStyleAccessor()->getColor(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - if (retValueTmpValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; - _retSerializer.writeInt32(static_cast(retValueTmpValueForIdx0)); - } else if (retValueTmpValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; - _retSerializer.writeInt32(retValueTmpValueForIdx1); - } else if (retValueTmpValue.selector == 2) { - _retSerializer.writeInt8(2); - const auto retValueTmpValueForIdx2 = retValueTmpValue.value2; - _retSerializer.writeString(retValueTmpValueForIdx2); - } else if (retValueTmpValue.selector == 3) { - _retSerializer.writeInt8(3); - const auto retValueTmpValueForIdx3 = retValueTmpValue.value3; - GlobalResourceResourceSerializerImpl::write(_retSerializer, retValueTmpValueForIdx3); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + Ark_DecorationStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDecorationStyleAccessor()->getColor(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + if (retValueTmpValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; + _retSerializer.writeInt32(static_cast(retValueTmpValueForIdx0)); + } else if (retValueTmpValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; + _retSerializer.writeInt32(retValueTmpValueForIdx1); + } else if (retValueTmpValue.selector == 2) { + _retSerializer.writeInt8(2); + const auto retValueTmpValueForIdx2 = retValueTmpValue.value2; + _retSerializer.writeString(retValueTmpValueForIdx2); + } else if (retValueTmpValue.selector == 3) { + _retSerializer.writeInt8(3); + const auto retValueTmpValueForIdx3 = retValueTmpValue.value3; + GlobalResourceResourceSerializerImpl::write(_retSerializer, retValueTmpValueForIdx3); } - return _retSerializer.toReturnBuffer(); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DecorationStyle_getColor, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_DecorationStyle_getStyle(Ark_NativePointer thisPtr) { - Ark_DecorationStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDecorationStyleAccessor()->getStyle(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_DecorationStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDecorationStyleAccessor()->getStyle(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DecorationStyle_getStyle, KInteropReturnBuffer, Ark_NativePointer) void impl_DialogExtender_showTimePickerDialog(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TimePickerDialogOptions optionsValueTemp = ArkuiComponentTimePickerTimePickerDialogOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getDialogExtenderAccessor()->showTimePickerDialog(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TimePickerDialogOptions optionsValueTemp = ArkuiComponentTimePickerTimePickerDialogOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getDialogExtenderAccessor()->showTimePickerDialog(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(DialogExtender_showTimePickerDialog, KSerializerBuffer, KInt) void impl_DialogExtender_showTextPickerDialog(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TextPickerDialogOptions optionsValueTemp = ArkuiComponentTextPickerTextPickerDialogOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getDialogExtenderAccessor()->showTextPickerDialog(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TextPickerDialogOptions optionsValueTemp = ArkuiComponentTextPickerTextPickerDialogOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getDialogExtenderAccessor()->showTextPickerDialog(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(DialogExtender_showTextPickerDialog, KSerializerBuffer, KInt) void impl_DialogExtender_showDatePickerDialog(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_DatePickerDialogOptions optionsValueTemp = ArkuiComponentDatePickerDatePickerDialogOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getDialogExtenderAccessor()->showDatePickerDialog(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_DatePickerDialogOptions optionsValueTemp = ArkuiComponentDatePickerDatePickerDialogOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getDialogExtenderAccessor()->showDatePickerDialog(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(DialogExtender_showDatePickerDialog, KSerializerBuffer, KInt) Ark_NativePointer impl_DigitIndicator_construct() { - return GetAccessors()->getDigitIndicatorAccessor()->construct(); + return GetAccessors()->getDigitIndicatorAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(DigitIndicator_construct, Ark_NativePointer) Ark_NativePointer impl_DigitIndicator_getFinalizer() { - return GetAccessors()->getDigitIndicatorAccessor()->getFinalizer(); + return GetAccessors()->getDigitIndicatorAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DigitIndicator_getFinalizer, Ark_NativePointer) +void impl_DigitIndicator_callHolder(Ark_NativePointer thisPtr) { + Ark_DigitIndicator self = reinterpret_cast(thisPtr); + GetAccessors()->getDigitIndicatorAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DigitIndicator_callHolder, Ark_NativePointer) void impl_DigitIndicator_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DigitIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DigitIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDigitIndicatorAccessor()->fontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDigitIndicatorAccessor()->fontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DigitIndicator_fontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DigitIndicator_selectedFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DigitIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DigitIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDigitIndicatorAccessor()->selectedFontColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDigitIndicatorAccessor()->selectedFontColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DigitIndicator_selectedFontColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DigitIndicator_digitFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DigitIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDigitIndicatorAccessor()->digitFont(self, static_cast(&valueValueTemp)); + Ark_DigitIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDigitIndicatorAccessor()->digitFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DigitIndicator_digitFont, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DigitIndicator_selectedDigitFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DigitIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); - } - Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDigitIndicatorAccessor()->selectedDigitFont(self, static_cast(&valueValueTemp)); + Ark_DigitIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_arkui_component_units_Font valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsFontSerializerImpl::read(thisDeserializer); + } + Opt_arkui_component_units_Font valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDigitIndicatorAccessor()->selectedDigitFont(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DigitIndicator_selectedDigitFont, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DisappearSymbolEffect_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - return GetAccessors()->getDisappearSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + return GetAccessors()->getDisappearSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_2(DisappearSymbolEffect_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DisappearSymbolEffect_getFinalizer() { - return GetAccessors()->getDisappearSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getDisappearSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DisappearSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_DisappearSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_DisappearSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getDisappearSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DisappearSymbolEffect_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_DisappearSymbolEffect_getScope(Ark_NativePointer thisPtr) { - Ark_DisappearSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDisappearSymbolEffectAccessor()->getScope(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_DisappearSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDisappearSymbolEffectAccessor()->getScope(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DisappearSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer) void impl_DisappearSymbolEffect_setScope(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DisappearSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - GetAccessors()->getDisappearSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); + Ark_DisappearSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + GetAccessors()->getDisappearSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_V3(DisappearSymbolEffect_setScope, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DismissDialogAction_construct() { - return GetAccessors()->getDismissDialogActionAccessor()->construct(); + return GetAccessors()->getDismissDialogActionAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(DismissDialogAction_construct, Ark_NativePointer) Ark_NativePointer impl_DismissDialogAction_getFinalizer() { - return GetAccessors()->getDismissDialogActionAccessor()->getFinalizer(); + return GetAccessors()->getDismissDialogActionAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DismissDialogAction_getFinalizer, Ark_NativePointer) +void impl_DismissDialogAction_callHolder(Ark_NativePointer thisPtr) { + Ark_DismissDialogAction self = reinterpret_cast(thisPtr); + GetAccessors()->getDismissDialogActionAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DismissDialogAction_callHolder, Ark_NativePointer) void impl_DismissDialogAction_dismiss(Ark_NativePointer thisPtr) { - Ark_DismissDialogAction self = reinterpret_cast(thisPtr); - GetAccessors()->getDismissDialogActionAccessor()->dismiss(self); + Ark_DismissDialogAction self = reinterpret_cast(thisPtr); + GetAccessors()->getDismissDialogActionAccessor()->dismiss(self); } KOALA_INTEROP_DIRECT_V1(DismissDialogAction_dismiss, Ark_NativePointer) Ark_Int32 impl_DismissDialogAction_getReason(Ark_NativePointer thisPtr) { - Ark_DismissDialogAction self = reinterpret_cast(thisPtr); - return GetAccessors()->getDismissDialogActionAccessor()->getReason(self); + Ark_DismissDialogAction self = reinterpret_cast(thisPtr); + return GetAccessors()->getDismissDialogActionAccessor()->getReason(self); } KOALA_INTEROP_DIRECT_1(DismissDialogAction_getReason, Ark_Int32, Ark_NativePointer) void impl_DismissDialogAction_setReason(Ark_NativePointer thisPtr, Ark_Int32 reason) { - Ark_DismissDialogAction self = reinterpret_cast(thisPtr); - GetAccessors()->getDismissDialogActionAccessor()->setReason(self, static_cast(reason)); + Ark_DismissDialogAction self = reinterpret_cast(thisPtr); + GetAccessors()->getDismissDialogActionAccessor()->setReason(self, static_cast(reason)); } KOALA_INTEROP_DIRECT_V2(DismissDialogAction_setReason, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_DismissPopupAction_construct() { - return GetAccessors()->getDismissPopupActionAccessor()->construct(); + return GetAccessors()->getDismissPopupActionAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(DismissPopupAction_construct, Ark_NativePointer) Ark_NativePointer impl_DismissPopupAction_getFinalizer() { - return GetAccessors()->getDismissPopupActionAccessor()->getFinalizer(); + return GetAccessors()->getDismissPopupActionAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DismissPopupAction_getFinalizer, Ark_NativePointer) +void impl_DismissPopupAction_callHolder(Ark_NativePointer thisPtr) { + Ark_DismissPopupAction self = reinterpret_cast(thisPtr); + GetAccessors()->getDismissPopupActionAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DismissPopupAction_callHolder, Ark_NativePointer) void impl_DismissPopupAction_dismiss(Ark_NativePointer thisPtr) { - Ark_DismissPopupAction self = reinterpret_cast(thisPtr); - GetAccessors()->getDismissPopupActionAccessor()->dismiss(self); + Ark_DismissPopupAction self = reinterpret_cast(thisPtr); + GetAccessors()->getDismissPopupActionAccessor()->dismiss(self); } KOALA_INTEROP_DIRECT_V1(DismissPopupAction_dismiss, Ark_NativePointer) Ark_Int32 impl_DismissPopupAction_getReason(Ark_NativePointer thisPtr) { - Ark_DismissPopupAction self = reinterpret_cast(thisPtr); - return GetAccessors()->getDismissPopupActionAccessor()->getReason(self); + Ark_DismissPopupAction self = reinterpret_cast(thisPtr); + return GetAccessors()->getDismissPopupActionAccessor()->getReason(self); } KOALA_INTEROP_DIRECT_1(DismissPopupAction_getReason, Ark_Int32, Ark_NativePointer) void impl_DismissPopupAction_setReason(Ark_NativePointer thisPtr, Ark_Int32 reason) { - Ark_DismissPopupAction self = reinterpret_cast(thisPtr); - GetAccessors()->getDismissPopupActionAccessor()->setReason(self, static_cast(reason)); + Ark_DismissPopupAction self = reinterpret_cast(thisPtr); + GetAccessors()->getDismissPopupActionAccessor()->setReason(self, static_cast(reason)); } KOALA_INTEROP_DIRECT_V2(DismissPopupAction_setReason, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_DotIndicator_construct() { - return GetAccessors()->getDotIndicatorAccessor()->construct(); + return GetAccessors()->getDotIndicatorAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(DotIndicator_construct, Ark_NativePointer) Ark_NativePointer impl_DotIndicator_getFinalizer() { - return GetAccessors()->getDotIndicatorAccessor()->getFinalizer(); + return GetAccessors()->getDotIndicatorAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DotIndicator_getFinalizer, Ark_NativePointer) +void impl_DotIndicator_callHolder(Ark_NativePointer thisPtr) { + Ark_DotIndicator self = reinterpret_cast(thisPtr); + GetAccessors()->getDotIndicatorAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DotIndicator_callHolder, Ark_NativePointer) void impl_DotIndicator_itemWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->itemWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->itemWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_itemWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_itemHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->itemHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->itemHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_itemHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_selectedItemWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->selectedItemWidth(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->selectedItemWidth(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_selectedItemWidth, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_selectedItemHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->selectedItemHeight(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->selectedItemHeight(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_selectedItemHeight, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_mask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->mask(self, static_cast(&valueValueTemp)); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->mask(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_mask, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->color(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->color(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_color, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->selectedColor(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->selectedColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_selectedColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_maxDisplayCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto maxDisplayCountValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 maxDisplayCountValueTempTmpBuf = {}; - maxDisplayCountValueTempTmpBuf.tag = maxDisplayCountValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((maxDisplayCountValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - maxDisplayCountValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 maxDisplayCountValueTemp = maxDisplayCountValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->maxDisplayCount(self, static_cast(&maxDisplayCountValueTemp)); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto maxDisplayCountValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 maxDisplayCountValueTempTmpBuf = {}; + maxDisplayCountValueTempTmpBuf.tag = maxDisplayCountValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((maxDisplayCountValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + maxDisplayCountValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 maxDisplayCountValueTemp = maxDisplayCountValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->maxDisplayCount(self, static_cast(&maxDisplayCountValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_maxDisplayCount, Ark_NativePointer, KSerializerBuffer, KInt) void impl_DotIndicator_space(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DotIndicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto spaceValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics spaceValueTempTmpBuf = {}; - spaceValueTempTmpBuf.tag = spaceValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((spaceValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - spaceValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics spaceValueTemp = spaceValueTempTmpBuf;; - GetAccessors()->getDotIndicatorAccessor()->space(self, static_cast(&spaceValueTemp)); + Ark_DotIndicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto spaceValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics spaceValueTempTmpBuf = {}; + spaceValueTempTmpBuf.tag = spaceValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((spaceValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + spaceValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics spaceValueTemp = spaceValueTempTmpBuf;; + GetAccessors()->getDotIndicatorAccessor()->space(self, static_cast(&spaceValueTemp)); } KOALA_INTEROP_DIRECT_V3(DotIndicator_space, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DragEvent_construct() { - return GetAccessors()->getDragEventAccessor()->construct(); + return GetAccessors()->getDragEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(DragEvent_construct, Ark_NativePointer) Ark_NativePointer impl_DragEvent_getFinalizer() { - return GetAccessors()->getDragEventAccessor()->getFinalizer(); + return GetAccessors()->getDragEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DragEvent_getFinalizer, Ark_NativePointer) +void impl_DragEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DragEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_DragEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getDisplayX(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDisplayX(self); } KOALA_INTEROP_1(DragEvent_getDisplayX, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_DragEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getDisplayY(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDisplayY(self); } KOALA_INTEROP_1(DragEvent_getDisplayY, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_DragEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getWindowX(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getWindowX(self); } KOALA_INTEROP_1(DragEvent_getWindowX, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_DragEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getWindowY(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getWindowY(self); } KOALA_INTEROP_1(DragEvent_getWindowY, Ark_Int32, Ark_NativePointer) void impl_DragEvent_setData(Ark_NativePointer thisPtr, Ark_NativePointer unifiedData) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setData(self, static_cast(unifiedData)); + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setData(self, static_cast(unifiedData)); } KOALA_INTEROP_DIRECT_V2(DragEvent_setData, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_DragEvent_getData(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDragEventAccessor()->getData(self); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueValueTmpValue = retValueValue.value; - OhosDataUnifiedDataChannelUnifiedDataChannelUnifiedDataSerializerImpl::write(_retSerializer, retValueValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - } + Ark_DragEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDragEventAccessor()->getData(self); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueTmpValue = retValueValue.value; + OhosDataUnifiedDataChannelUnifiedDataChannelUnifiedDataSerializerImpl::write(_retSerializer, retValueValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } - return _retSerializer.toReturnBuffer(); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DragEvent_getData, KInteropReturnBuffer, Ark_NativePointer) void impl_DragEvent_setResult(Ark_NativePointer thisPtr, Ark_Int32 dragResult) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setResult(self, static_cast(dragResult)); + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setResult(self, static_cast(dragResult)); } KOALA_INTEROP_DIRECT_V2(DragEvent_setResult, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_DragEvent_getResult(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getResult(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getResult(self); } KOALA_INTEROP_DIRECT_1(DragEvent_getResult, Ark_Int32, Ark_NativePointer) KInteropReturnBuffer impl_DragEvent_getPreviewRect(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDragEventAccessor()->getPreviewRect(self); - SerializerBase _retSerializer {}; - ArkuiComponentCommonRectangleSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_DragEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDragEventAccessor()->getPreviewRect(self); + SerializerBase _retSerializer {}; + ArkuiComponentCommonRectangleSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DragEvent_getPreviewRect, KInteropReturnBuffer, Ark_NativePointer) Ark_Int32 impl_DragEvent_getVelocityX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getVelocityX(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocityX(self); } KOALA_INTEROP_1(DragEvent_getVelocityX, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_DragEvent_getVelocityY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getVelocityY(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocityY(self); } KOALA_INTEROP_1(DragEvent_getVelocityY, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_DragEvent_getVelocity(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getVelocity(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocity(self); } KOALA_INTEROP_1(DragEvent_getVelocity, Ark_Int32, Ark_NativePointer) void impl_DragEvent_executeDropAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - VoidCallback customDropAnimationValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))};; - GetAccessors()->getDragEventAccessor()->executeDropAnimation(self, static_cast(&customDropAnimationValueTemp)); + Ark_DragEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + VoidCallback customDropAnimationValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))};; + GetAccessors()->getDragEventAccessor()->executeDropAnimation(self, static_cast(&customDropAnimationValueTemp)); } KOALA_INTEROP_DIRECT_V3(DragEvent_executeDropAnimation, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_DragEvent_enableInternalDropAnimation(Ark_NativePointer thisPtr, const KStringPtr& configuration) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDragEventAccessor()->enableInternalDropAnimation(self, (const Ark_String*) (&configuration)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_DragEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDragEventAccessor()->enableInternalDropAnimation(self, (const Ark_String*) (&configuration)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(DragEvent_enableInternalDropAnimation, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) Ark_Int32 impl_DragEvent_getDragBehavior(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getDragBehavior(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDragBehavior(self); } KOALA_INTEROP_DIRECT_1(DragEvent_getDragBehavior, Ark_Int32, Ark_NativePointer) void impl_DragEvent_setDragBehavior(Ark_NativePointer thisPtr, Ark_Int32 dragBehavior) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setDragBehavior(self, static_cast(dragBehavior)); + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setDragBehavior(self, static_cast(dragBehavior)); } KOALA_INTEROP_DIRECT_V2(DragEvent_setDragBehavior, Ark_NativePointer, Ark_Int32) Ark_Boolean impl_DragEvent_getUseCustomDropAnimation(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getUseCustomDropAnimation(self); + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getUseCustomDropAnimation(self); } KOALA_INTEROP_DIRECT_1(DragEvent_getUseCustomDropAnimation, Ark_Boolean, Ark_NativePointer) void impl_DragEvent_setUseCustomDropAnimation(Ark_NativePointer thisPtr, Ark_Boolean useCustomDropAnimation) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setUseCustomDropAnimation(self, useCustomDropAnimation); + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setUseCustomDropAnimation(self, useCustomDropAnimation); } KOALA_INTEROP_V2(DragEvent_setUseCustomDropAnimation, Ark_NativePointer, Ark_Boolean) KInteropReturnBuffer impl_DragEvent_getGetModifierKeyState(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDragEventAccessor()->getGetModifierKeyState(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_DragEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDragEventAccessor()->getGetModifierKeyState(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DragEvent_getGetModifierKeyState, KInteropReturnBuffer, Ark_NativePointer) void impl_DragEvent_setGetModifierKeyState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto getModifierKeyStateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ModifierKeyStateGetter getModifierKeyStateValueTempTmpBuf = {}; - getModifierKeyStateValueTempTmpBuf.tag = getModifierKeyStateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((getModifierKeyStateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - getModifierKeyStateValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MODIFIERKEYSTATEGETTER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MODIFIERKEYSTATEGETTER))))}; - } - Opt_ModifierKeyStateGetter getModifierKeyStateValueTemp = getModifierKeyStateValueTempTmpBuf;; - GetAccessors()->getDragEventAccessor()->setGetModifierKeyState(self, static_cast(&getModifierKeyStateValueTemp)); + Ark_DragEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto getModifierKeyStateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ModifierKeyStateGetter getModifierKeyStateValueTempTmpBuf = {}; + getModifierKeyStateValueTempTmpBuf.tag = getModifierKeyStateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((getModifierKeyStateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + getModifierKeyStateValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MODIFIERKEYSTATEGETTER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MODIFIERKEYSTATEGETTER))))}; + } + Opt_ModifierKeyStateGetter getModifierKeyStateValueTemp = getModifierKeyStateValueTempTmpBuf;; + GetAccessors()->getDragEventAccessor()->setGetModifierKeyState(self, static_cast(&getModifierKeyStateValueTemp)); } KOALA_INTEROP_DIRECT_V3(DragEvent_setGetModifierKeyState, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DrawingRenderingContext_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; - unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; - return GetAccessors()->getDrawingRenderingContextAccessor()->construct(static_cast(&unitValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; + unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; + return GetAccessors()->getDrawingRenderingContextAccessor()->construct(static_cast(&unitValueTemp)); } KOALA_INTEROP_DIRECT_2(DrawingRenderingContext_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_DrawingRenderingContext_getFinalizer() { - return GetAccessors()->getDrawingRenderingContextAccessor()->getFinalizer(); + return GetAccessors()->getDrawingRenderingContextAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DrawingRenderingContext_getFinalizer, Ark_NativePointer) +void impl_DrawingRenderingContext_callHolder(Ark_NativePointer thisPtr) { + Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); + GetAccessors()->getDrawingRenderingContextAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DrawingRenderingContext_callHolder, Ark_NativePointer) void impl_DrawingRenderingContext_invalidate(Ark_NativePointer thisPtr) { - Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); - GetAccessors()->getDrawingRenderingContextAccessor()->invalidate(self); + Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); + GetAccessors()->getDrawingRenderingContextAccessor()->invalidate(self); } KOALA_INTEROP_DIRECT_V1(DrawingRenderingContext_invalidate, Ark_NativePointer) KInteropReturnBuffer impl_DrawingRenderingContext_getSize(Ark_NativePointer thisPtr) { - Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDrawingRenderingContextAccessor()->getSize(self); - SerializerBase _retSerializer {}; - ArkuiGraphicsSizeSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDrawingRenderingContextAccessor()->getSize(self); + SerializerBase _retSerializer {}; + ArkuiGraphicsSizeSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DrawingRenderingContext_getSize, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_DrawingRenderingContext_getCanvas(Ark_NativePointer thisPtr) { - Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDrawingRenderingContextAccessor()->getCanvas(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - OhosGraphicsDrawingDrawingCanvasSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_DrawingRenderingContext self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDrawingRenderingContextAccessor()->getCanvas(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + OhosGraphicsDrawingDrawingCanvasSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DrawingRenderingContext_getCanvas, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_DrawModifier_construct() { - return GetAccessors()->getDrawModifierAccessor()->construct(); + return GetAccessors()->getDrawModifierAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(DrawModifier_construct, Ark_NativePointer) Ark_NativePointer impl_DrawModifier_getFinalizer() { - return GetAccessors()->getDrawModifierAccessor()->getFinalizer(); + return GetAccessors()->getDrawModifierAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(DrawModifier_getFinalizer, Ark_NativePointer) +void impl_DrawModifier_callHolder(Ark_NativePointer thisPtr) { + Ark_DrawModifier self = reinterpret_cast(thisPtr); + GetAccessors()->getDrawModifierAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(DrawModifier_callHolder, Ark_NativePointer) void impl_DrawModifier_invalidate(Ark_NativePointer thisPtr) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - GetAccessors()->getDrawModifierAccessor()->invalidate(self); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + GetAccessors()->getDrawModifierAccessor()->invalidate(self); } KOALA_INTEROP_DIRECT_V1(DrawModifier_invalidate, Ark_NativePointer) KInteropReturnBuffer impl_DrawModifier_getDrawBehind_callback(Ark_NativePointer thisPtr) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDrawModifierAccessor()->getDrawBehind_callback(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDrawModifierAccessor()->getDrawBehind_callback(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DrawModifier_getDrawBehind_callback, KInteropReturnBuffer, Ark_NativePointer) void impl_DrawModifier_setDrawBehind_callback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_DrawContext_Void drawBehind_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_VOID))))};; - GetAccessors()->getDrawModifierAccessor()->setDrawBehind_callback(self, static_cast(&drawBehind_callbackValueTemp)); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_DrawContext_Void drawBehind_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_VOID))))};; + GetAccessors()->getDrawModifierAccessor()->setDrawBehind_callback(self, static_cast(&drawBehind_callbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(DrawModifier_setDrawBehind_callback, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_DrawModifier_getDrawContent_callback(Ark_NativePointer thisPtr) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDrawModifierAccessor()->getDrawContent_callback(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDrawModifierAccessor()->getDrawContent_callback(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DrawModifier_getDrawContent_callback, KInteropReturnBuffer, Ark_NativePointer) void impl_DrawModifier_setDrawContent_callback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_DrawContext_Void drawContent_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_VOID))))};; - GetAccessors()->getDrawModifierAccessor()->setDrawContent_callback(self, static_cast(&drawContent_callbackValueTemp)); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_DrawContext_Void drawContent_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_VOID))))};; + GetAccessors()->getDrawModifierAccessor()->setDrawContent_callback(self, static_cast(&drawContent_callbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(DrawModifier_setDrawContent_callback, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_DrawModifier_getDrawFront_callback(Ark_NativePointer thisPtr) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDrawModifierAccessor()->getDrawFront_callback(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDrawModifierAccessor()->getDrawFront_callback(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(DrawModifier_getDrawFront_callback, KInteropReturnBuffer, Ark_NativePointer) void impl_DrawModifier_setDrawFront_callback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_DrawContext_Void drawFront_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_VOID))))};; - GetAccessors()->getDrawModifierAccessor()->setDrawFront_callback(self, static_cast(&drawFront_callbackValueTemp)); + Ark_DrawModifier self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_DrawContext_Void drawFront_callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_DRAWCONTEXT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_DRAWCONTEXT_VOID))))};; + GetAccessors()->getDrawModifierAccessor()->setDrawFront_callback(self, static_cast(&drawFront_callbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(DrawModifier_setDrawFront_callback, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Boolean impl_EnvironmentBackend_isAccessibilityEnabled() { - return GetAccessors()->getEnvironmentBackendAccessor()->isAccessibilityEnabled(); + return GetAccessors()->getEnvironmentBackendAccessor()->isAccessibilityEnabled(); } KOALA_INTEROP_DIRECT_0(EnvironmentBackend_isAccessibilityEnabled, Ark_Boolean) Ark_Int32 impl_EnvironmentBackend_getColorMode() { - return GetAccessors()->getEnvironmentBackendAccessor()->getColorMode(); + return GetAccessors()->getEnvironmentBackendAccessor()->getColorMode(); } KOALA_INTEROP_DIRECT_0(EnvironmentBackend_getColorMode, Ark_Int32) Ark_Int32 impl_EnvironmentBackend_getFontScale() { - return GetAccessors()->getEnvironmentBackendAccessor()->getFontScale(); + return GetAccessors()->getEnvironmentBackendAccessor()->getFontScale(); } KOALA_INTEROP_DIRECT_0(EnvironmentBackend_getFontScale, Ark_Int32) Ark_Int32 impl_EnvironmentBackend_getFontWeightScale() { - return GetAccessors()->getEnvironmentBackendAccessor()->getFontWeightScale(); + return GetAccessors()->getEnvironmentBackendAccessor()->getFontWeightScale(); } KOALA_INTEROP_DIRECT_0(EnvironmentBackend_getFontWeightScale, Ark_Int32) Ark_Int32 impl_EnvironmentBackend_getLayoutDirection() { - return GetAccessors()->getEnvironmentBackendAccessor()->getLayoutDirection(); + return GetAccessors()->getEnvironmentBackendAccessor()->getLayoutDirection(); } KOALA_INTEROP_DIRECT_0(EnvironmentBackend_getLayoutDirection, Ark_Int32) Ark_String impl_EnvironmentBackend_getLanguageCode() { - return GetAccessors()->getEnvironmentBackendAccessor()->getLanguageCode(); + return GetAccessors()->getEnvironmentBackendAccessor()->getLanguageCode(); } KOALA_INTEROP_0(EnvironmentBackend_getLanguageCode, KStringPtr) void impl_EventEmulator_emitClickEvent(Ark_NativePointer node, Ark_NativePointer event) { - GetAccessors()->getEventEmulatorAccessor()->emitClickEvent(node, static_cast(event)); + GetAccessors()->getEventEmulatorAccessor()->emitClickEvent(node, static_cast(event)); } KOALA_INTEROP_DIRECT_V2(EventEmulator_emitClickEvent, Ark_NativePointer, Ark_NativePointer) void impl_EventEmulator_emitTextInputEvent(Ark_NativePointer node, const KStringPtr& text) { - GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text)); + GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text)); } KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_EventTargetInfo_construct() { - return GetAccessors()->getEventTargetInfoAccessor()->construct(); + return GetAccessors()->getEventTargetInfoAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(EventTargetInfo_construct, Ark_NativePointer) Ark_NativePointer impl_EventTargetInfo_getFinalizer() { - return GetAccessors()->getEventTargetInfoAccessor()->getFinalizer(); + return GetAccessors()->getEventTargetInfoAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(EventTargetInfo_getFinalizer, Ark_NativePointer) +void impl_EventTargetInfo_callHolder(Ark_NativePointer thisPtr) { + Ark_EventTargetInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getEventTargetInfoAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(EventTargetInfo_callHolder, Ark_NativePointer) Ark_String impl_EventTargetInfo_getId(Ark_NativePointer thisPtr) { - Ark_EventTargetInfo self = reinterpret_cast(thisPtr); - return GetAccessors()->getEventTargetInfoAccessor()->getId(self); + Ark_EventTargetInfo self = reinterpret_cast(thisPtr); + return GetAccessors()->getEventTargetInfoAccessor()->getId(self); } KOALA_INTEROP_1(EventTargetInfo_getId, KStringPtr, Ark_NativePointer) Ark_NativePointer impl_FocusAxisEvent_construct() { - return GetAccessors()->getFocusAxisEventAccessor()->construct(); + return GetAccessors()->getFocusAxisEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(FocusAxisEvent_construct, Ark_NativePointer) Ark_NativePointer impl_FocusAxisEvent_getFinalizer() { - return GetAccessors()->getFocusAxisEventAccessor()->getFinalizer(); + return GetAccessors()->getFocusAxisEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(FocusAxisEvent_getFinalizer, Ark_NativePointer) +void impl_FocusAxisEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getFocusAxisEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(FocusAxisEvent_callHolder, Ark_NativePointer) void impl_FocusAxisEvent_stopPropagation(Ark_NativePointer thisPtr) { - Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getFocusAxisEventAccessor()->stopPropagation(self); + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getFocusAxisEventAccessor()->stopPropagation(self); } KOALA_INTEROP_DIRECT_V1(FocusAxisEvent_stopPropagation, Ark_NativePointer) KInteropReturnBuffer impl_FocusAxisEvent_getAxisMap(Ark_NativePointer thisPtr) { - Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getFocusAxisEventAccessor()->getAxisMap(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.size); - for (int32_t i = 0; i < retValue.size; i++) { - auto retValueKeyVar = retValue.keys[i]; - auto retValueValueVar = retValue.values[i]; - _retSerializer.writeInt32(static_cast(retValueKeyVar)); - _retSerializer.writeFloat64(retValueValueVar); - } - return _retSerializer.toReturnBuffer(); + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getFocusAxisEventAccessor()->getAxisMap(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.size); + for (int32_t i = 0; i < retValue.size; i++) { + auto retValueKeyVar = retValue.keys[i]; + auto retValueValueVar = retValue.values[i]; + _retSerializer.writeInt32(static_cast(retValueKeyVar)); + _retSerializer.writeFloat64(retValueValueVar); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FocusAxisEvent_getAxisMap, KInteropReturnBuffer, Ark_NativePointer) void impl_FocusAxisEvent_setAxisMap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 axisMapValueTempTmpBufSizeVar = thisDeserializer.readInt32(); - Map_AxisModel_F64 axisMapValueTempTmpBuf = {}; - thisDeserializer.resizeMap(&axisMapValueTempTmpBuf, axisMapValueTempTmpBufSizeVar); - for (int axisMapValueTempTmpBufIVar = 0; axisMapValueTempTmpBufIVar < axisMapValueTempTmpBufSizeVar; axisMapValueTempTmpBufIVar++) { - const Ark_AxisModel axisMapValueTempTmpBufKeyVar = static_cast(thisDeserializer.readInt32()); - const Ark_Float64 axisMapValueTempTmpBufValueVar = thisDeserializer.readFloat64(); - axisMapValueTempTmpBuf.keys[axisMapValueTempTmpBufIVar] = axisMapValueTempTmpBufKeyVar; - axisMapValueTempTmpBuf.values[axisMapValueTempTmpBufIVar] = axisMapValueTempTmpBufValueVar; - } - Map_AxisModel_F64 axisMapValueTemp = axisMapValueTempTmpBuf;; - GetAccessors()->getFocusAxisEventAccessor()->setAxisMap(self, static_cast(&axisMapValueTemp)); + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 axisMapValueTempTmpBufSizeVar = thisDeserializer.readInt32(); + Map_AxisModel_F64 axisMapValueTempTmpBuf = {}; + thisDeserializer.resizeMap(&axisMapValueTempTmpBuf, axisMapValueTempTmpBufSizeVar); + for (int axisMapValueTempTmpBufIVar = 0; axisMapValueTempTmpBufIVar < axisMapValueTempTmpBufSizeVar; axisMapValueTempTmpBufIVar++) { + const Ark_AxisModel axisMapValueTempTmpBufKeyVar = static_cast(thisDeserializer.readInt32()); + const Ark_Float64 axisMapValueTempTmpBufValueVar = thisDeserializer.readFloat64(); + axisMapValueTempTmpBuf.keys[axisMapValueTempTmpBufIVar] = axisMapValueTempTmpBufKeyVar; + axisMapValueTempTmpBuf.values[axisMapValueTempTmpBufIVar] = axisMapValueTempTmpBufValueVar; + } + Map_AxisModel_F64 axisMapValueTemp = axisMapValueTempTmpBuf;; + GetAccessors()->getFocusAxisEventAccessor()->setAxisMap(self, static_cast(&axisMapValueTemp)); } KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setAxisMap, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FocusController_requestFocus(const KStringPtr& key) { - GetAccessors()->getFocusControllerAccessor()->requestFocus((const Ark_String*) (&key)); + GetAccessors()->getFocusControllerAccessor()->requestFocus((const Ark_String*) (&key)); } KOALA_INTEROP_V1(FocusController_requestFocus, KStringPtr) void impl_ForEachOps_SyncOnMoveOps(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 additionalChildValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_Pointer additionalChildValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 additionalChildValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_Pointer additionalChildValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&additionalChildValueTempTmpBuf, additionalChildValueTempTmpBufLength); - for (int additionalChildValueTempTmpBufBufCounterI = 0; additionalChildValueTempTmpBufBufCounterI < additionalChildValueTempTmpBufLength; additionalChildValueTempTmpBufBufCounterI++) { - additionalChildValueTempTmpBuf.array[additionalChildValueTempTmpBufBufCounterI] = thisDeserializer.readPointer(); - } - Array_Pointer additionalChildValueTemp = additionalChildValueTempTmpBuf;; - const auto onMoveOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnMoveHandler onMoveOpsValueTempTmpBuf = {}; - onMoveOpsValueTempTmpBuf.tag = onMoveOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onMoveOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onMoveOpsValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONMOVEHANDLER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONMOVEHANDLER))))}; - } - Opt_OnMoveHandler onMoveOpsValueTemp = onMoveOpsValueTempTmpBuf;; - const auto onMoveDragEventOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ItemDragEventHandler onMoveDragEventOpsValueTempTmpBuf = {}; - onMoveDragEventOpsValueTempTmpBuf.tag = onMoveDragEventOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onMoveDragEventOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onMoveDragEventOpsValueTempTmpBuf.value = ArkuiComponentCommonItemDragEventHandlerSerializerImpl::read(thisDeserializer); - } - Opt_ItemDragEventHandler onMoveDragEventOpsValueTemp = onMoveDragEventOpsValueTempTmpBuf;; - GetAccessors()->getForEachOpsAccessor()->SyncOnMoveOps(node, static_cast(&additionalChildValueTemp), static_cast(&onMoveOpsValueTemp), static_cast(&onMoveDragEventOpsValueTemp)); + for (int additionalChildValueTempTmpBufBufCounterI = 0; additionalChildValueTempTmpBufBufCounterI < additionalChildValueTempTmpBufLength; additionalChildValueTempTmpBufBufCounterI++) { + additionalChildValueTempTmpBuf.array[additionalChildValueTempTmpBufBufCounterI] = thisDeserializer.readPointer(); + } + Array_Pointer additionalChildValueTemp = additionalChildValueTempTmpBuf;; + const auto onMoveOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnMoveHandler onMoveOpsValueTempTmpBuf = {}; + onMoveOpsValueTempTmpBuf.tag = onMoveOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onMoveOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onMoveOpsValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONMOVEHANDLER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONMOVEHANDLER))))}; + } + Opt_OnMoveHandler onMoveOpsValueTemp = onMoveOpsValueTempTmpBuf;; + const auto onMoveDragEventOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ItemDragEventHandler onMoveDragEventOpsValueTempTmpBuf = {}; + onMoveDragEventOpsValueTempTmpBuf.tag = onMoveDragEventOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onMoveDragEventOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onMoveDragEventOpsValueTempTmpBuf.value = ArkuiComponentCommonItemDragEventHandlerSerializerImpl::read(thisDeserializer); + } + Opt_ItemDragEventHandler onMoveDragEventOpsValueTemp = onMoveDragEventOpsValueTempTmpBuf;; + GetAccessors()->getForEachOpsAccessor()->SyncOnMoveOps(node, static_cast(&additionalChildValueTemp), static_cast(&onMoveOpsValueTemp), static_cast(&onMoveDragEventOpsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ForEachOps_SyncOnMoveOps, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_FrameNodeExtender_constructorFrameNode() { - return GetAccessors()->getFrameNodeExtenderAccessor()->constructorFrameNode(); + return GetAccessors()->getFrameNodeExtenderAccessor()->constructorFrameNode(); } KOALA_INTEROP_DIRECT_0(FrameNodeExtender_constructorFrameNode, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getDestroy() { - return GetAccessors()->getFrameNodeExtenderAccessor()->getDestroy(); + return GetAccessors()->getFrameNodeExtenderAccessor()->getDestroy(); } KOALA_INTEROP_DIRECT_0(FrameNodeExtender_getDestroy, Ark_NativePointer) void impl_FrameNodeExtender_destroyPeer(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->destroyPeer(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->destroyPeer(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_destroyPeer, Ark_NativePointer) Ark_Boolean impl_FrameNodeExtender_isModifiable(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->isModifiable(peer); + return GetAccessors()->getFrameNodeExtenderAccessor()->isModifiable(peer); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_isModifiable, Ark_Boolean, Ark_NativePointer) void impl_FrameNodeExtender_appendChild(Ark_NativePointer peer, Ark_NativePointer child) { - GetAccessors()->getFrameNodeExtenderAccessor()->appendChild(static_cast(peer), static_cast(child)); + GetAccessors()->getFrameNodeExtenderAccessor()->appendChild(static_cast(peer), static_cast(child)); } KOALA_INTEROP_DIRECT_V2(FrameNodeExtender_appendChild, Ark_NativePointer, Ark_NativePointer) void impl_FrameNodeExtender_insertChildAfter(Ark_NativePointer peer, Ark_NativePointer child, Ark_NativePointer sibling) { - GetAccessors()->getFrameNodeExtenderAccessor()->insertChildAfter(peer, child, sibling); + GetAccessors()->getFrameNodeExtenderAccessor()->insertChildAfter(peer, child, sibling); } KOALA_INTEROP_DIRECT_V3(FrameNodeExtender_insertChildAfter, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) void impl_FrameNodeExtender_removeChild(Ark_NativePointer peer, Ark_NativePointer child) { - GetAccessors()->getFrameNodeExtenderAccessor()->removeChild(static_cast(peer), static_cast(child)); + GetAccessors()->getFrameNodeExtenderAccessor()->removeChild(static_cast(peer), static_cast(child)); } KOALA_INTEROP_DIRECT_V2(FrameNodeExtender_removeChild, Ark_NativePointer, Ark_NativePointer) void impl_FrameNodeExtender_clearChildren(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->clearChildren(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->clearChildren(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_clearChildren, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getChild(Ark_NativePointer peer, KInteropNumber index, KInteropNumber expandMode) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getChild(static_cast(peer), (const Ark_Number*) (&index), (const Ark_Number*) (&expandMode)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getChild(static_cast(peer), (const Ark_Number*) (&index), (const Ark_Number*) (&expandMode)); } KOALA_INTEROP_DIRECT_3(FrameNodeExtender_getChild, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber) Ark_NativePointer impl_FrameNodeExtender_getFirstChild(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getFirstChild(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getFirstChild(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getFirstChild, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getNextSibling(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getNextSibling(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getNextSibling(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getNextSibling, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getPreviousSibling(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getPreviousSibling(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getPreviousSibling(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getPreviousSibling, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getParent(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getParent(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getParent(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getParent, Ark_NativePointer, Ark_NativePointer) Ark_Int32 impl_FrameNodeExtender_getChildrenCount(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getChildrenCount(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getChildrenCount(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getChildrenCount, Ark_Int32, Ark_NativePointer) void impl_FrameNodeExtender_dispose(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->dispose(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->dispose(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_dispose, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getPositionToWindow(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToWindow(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToWindow(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getPositionToWindow, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getPositionToParent(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToParent(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToParent(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getPositionToParent, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getMeasuredSize(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getMeasuredSize(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiGraphicsSizeSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getMeasuredSize(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiGraphicsSizeSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getMeasuredSize, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getLayoutPosition(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getLayoutPosition(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getLayoutPosition(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getLayoutPosition, KInteropReturnBuffer, Ark_NativePointer) Ark_String impl_FrameNodeExtender_getId(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getId(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getId(static_cast(peer)); } KOALA_INTEROP_1(FrameNodeExtender_getId, KStringPtr, Ark_NativePointer) Ark_Number impl_FrameNodeExtender_getUniqueId(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getUniqueId(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getUniqueId(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getUniqueId, KInteropNumber, Ark_NativePointer) Ark_String impl_FrameNodeExtender_getNodeType(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getNodeType(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getNodeType(static_cast(peer)); } KOALA_INTEROP_1(FrameNodeExtender_getNodeType, KStringPtr, Ark_NativePointer) Ark_Number impl_FrameNodeExtender_getOpacity(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getOpacity(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getOpacity(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getOpacity, KInteropNumber, Ark_NativePointer) Ark_Boolean impl_FrameNodeExtender_isVisible(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->isVisible(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->isVisible(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_isVisible, Ark_Boolean, Ark_NativePointer) Ark_Boolean impl_FrameNodeExtender_isClipToFrame(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->isClipToFrame(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->isClipToFrame(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_isClipToFrame, Ark_Boolean, Ark_NativePointer) Ark_Boolean impl_FrameNodeExtender_isAttached(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->isAttached(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->isAttached(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_isAttached, Ark_Boolean, Ark_NativePointer) Ark_String impl_FrameNodeExtender_getInspectorInfo(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getInspectorInfo(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getInspectorInfo(static_cast(peer)); } KOALA_INTEROP_1(FrameNodeExtender_getInspectorInfo, KStringPtr, Ark_NativePointer) void impl_FrameNodeExtender_invalidate(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->invalidate(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->invalidate(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_invalidate, Ark_NativePointer) void impl_FrameNodeExtender_disposeTree(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->disposeTree(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->disposeTree(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_disposeTree, Ark_NativePointer) Ark_Boolean impl_FrameNodeExtender_setCrossLanguageOptions(Ark_NativePointer peer, Ark_Boolean options) { - return GetAccessors()->getFrameNodeExtenderAccessor()->setCrossLanguageOptions(static_cast(peer), options); + return GetAccessors()->getFrameNodeExtenderAccessor()->setCrossLanguageOptions(static_cast(peer), options); } KOALA_INTEROP_2(FrameNodeExtender_setCrossLanguageOptions, Ark_Boolean, Ark_NativePointer, Ark_Boolean) Ark_Boolean impl_FrameNodeExtender_getCrossLanguageOptions(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getCrossLanguageOptions(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getCrossLanguageOptions(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getCrossLanguageOptions, Ark_Boolean, Ark_NativePointer) void impl_FrameNodeExtender_setMeasuredSize(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Size sizeValueTemp = ArkuiGraphicsSizeSerializerImpl::read(thisDeserializer);; - GetAccessors()->getFrameNodeExtenderAccessor()->setMeasuredSize(static_cast(peer), static_cast(&sizeValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Size sizeValueTemp = ArkuiGraphicsSizeSerializerImpl::read(thisDeserializer);; + GetAccessors()->getFrameNodeExtenderAccessor()->setMeasuredSize(static_cast(peer), static_cast(&sizeValueTemp)); } KOALA_INTEROP_DIRECT_V3(FrameNodeExtender_setMeasuredSize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FrameNodeExtender_setLayoutPosition(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; - GetAccessors()->getFrameNodeExtenderAccessor()->setLayoutPosition(static_cast(peer), static_cast(&positionValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; + GetAccessors()->getFrameNodeExtenderAccessor()->setLayoutPosition(static_cast(peer), static_cast(&positionValueTemp)); } KOALA_INTEROP_DIRECT_V3(FrameNodeExtender_setLayoutPosition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FrameNodeExtender_measure(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_LayoutConstraint constraintValueTemp = ArkuiFrameNodeLayoutConstraintSerializerImpl::read(thisDeserializer);; - GetAccessors()->getFrameNodeExtenderAccessor()->measure(static_cast(peer), static_cast(&constraintValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_LayoutConstraint constraintValueTemp = ArkuiFrameNodeLayoutConstraintSerializerImpl::read(thisDeserializer);; + GetAccessors()->getFrameNodeExtenderAccessor()->measure(static_cast(peer), static_cast(&constraintValueTemp)); } KOALA_INTEROP_DIRECT_V3(FrameNodeExtender_measure, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FrameNodeExtender_layout(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; - GetAccessors()->getFrameNodeExtenderAccessor()->layout(static_cast(peer), static_cast(&positionValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; + GetAccessors()->getFrameNodeExtenderAccessor()->layout(static_cast(peer), static_cast(&positionValueTemp)); } KOALA_INTEROP_DIRECT_V3(FrameNodeExtender_layout, Ark_NativePointer, KSerializerBuffer, KInt) void impl_FrameNodeExtender_setNeedsLayout(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->setNeedsLayout(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->setNeedsLayout(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_setNeedsLayout, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getPositionToScreen(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToScreen(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToScreen(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getPositionToScreen, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getPositionToWindowWithTransform(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToWindowWithTransform(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToWindowWithTransform(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getPositionToWindowWithTransform, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getPositionToParentWithTransform(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToParentWithTransform(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToParentWithTransform(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getPositionToParentWithTransform, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_getPositionToScreenWithTransform(Ark_NativePointer peer) { - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToScreenWithTransform(static_cast(peer)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->getPositionToScreenWithTransform(static_cast(peer)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(FrameNodeExtender_getPositionToScreenWithTransform, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getFrameNodeByKey(const KStringPtr& name) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodeByKey((const Ark_String*) (&name)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodeByKey((const Ark_String*) (&name)); } KOALA_INTEROP_1(FrameNodeExtender_getFrameNodeByKey, Ark_NativePointer, KStringPtr) Ark_Number impl_FrameNodeExtender_getIdByFrameNode(Ark_NativePointer node) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getIdByFrameNode(node); + return GetAccessors()->getFrameNodeExtenderAccessor()->getIdByFrameNode(node); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getIdByFrameNode, KInteropNumber, Ark_NativePointer) void impl_FrameNodeExtender_moveTo(Ark_NativePointer peer, Ark_NativePointer targetParent, KInteropNumber index) { - GetAccessors()->getFrameNodeExtenderAccessor()->moveTo(static_cast(peer), static_cast(targetParent), (const Ark_Number*) (&index)); + GetAccessors()->getFrameNodeExtenderAccessor()->moveTo(static_cast(peer), static_cast(targetParent), (const Ark_Number*) (&index)); } KOALA_INTEROP_DIRECT_V3(FrameNodeExtender_moveTo, Ark_NativePointer, Ark_NativePointer, KInteropNumber) Ark_Number impl_FrameNodeExtender_getFirstChildIndexWithoutExpand(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getFirstChildIndexWithoutExpand(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getFirstChildIndexWithoutExpand(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getFirstChildIndexWithoutExpand, KInteropNumber, Ark_NativePointer) Ark_Number impl_FrameNodeExtender_getLastChildIndexWithoutExpand(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getLastChildIndexWithoutExpand(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getLastChildIndexWithoutExpand(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getLastChildIndexWithoutExpand, KInteropNumber, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getAttachedFrameNodeById(const KStringPtr& id) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getAttachedFrameNodeById((const Ark_String*) (&id)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getAttachedFrameNodeById((const Ark_String*) (&id)); } KOALA_INTEROP_1(FrameNodeExtender_getAttachedFrameNodeById, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_FrameNodeExtender_getFrameNodeById(KInteropNumber id) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodeById((const Ark_Number*) (&id)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodeById((const Ark_Number*) (&id)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getFrameNodeById, Ark_NativePointer, KInteropNumber) Ark_NativePointer impl_FrameNodeExtender_getFrameNodeByUniqueId(KInteropNumber id) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodeByUniqueId((const Ark_Number*) (&id)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodeByUniqueId((const Ark_Number*) (&id)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getFrameNodeByUniqueId, Ark_NativePointer, KInteropNumber) void impl_FrameNodeExtender_reuse(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->reuse(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->reuse(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_reuse, Ark_NativePointer) void impl_FrameNodeExtender_recycle(Ark_NativePointer peer) { - GetAccessors()->getFrameNodeExtenderAccessor()->recycle(static_cast(peer)); + GetAccessors()->getFrameNodeExtenderAccessor()->recycle(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(FrameNodeExtender_recycle, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getFrameNodePtr(Ark_NativePointer node) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodePtr(static_cast(node)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getFrameNodePtr(static_cast(node)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getFrameNodePtr, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_createTypedFrameNode(const KStringPtr& type) { - return GetAccessors()->getFrameNodeExtenderAccessor()->createTypedFrameNode((const Ark_String*) (&type)); + return GetAccessors()->getFrameNodeExtenderAccessor()->createTypedFrameNode((const Ark_String*) (&type)); } KOALA_INTEROP_1(FrameNodeExtender_createTypedFrameNode, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_FrameNodeExtender_createByRawPtr(Ark_NativePointer ptr) { - return GetAccessors()->getFrameNodeExtenderAccessor()->createByRawPtr(ptr); + return GetAccessors()->getFrameNodeExtenderAccessor()->createByRawPtr(ptr); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_createByRawPtr, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_unWrapRawPtr(Ark_NativePointer ptr) { - return GetAccessors()->getFrameNodeExtenderAccessor()->unWrapRawPtr(ptr); + return GetAccessors()->getFrameNodeExtenderAccessor()->unWrapRawPtr(ptr); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_unWrapRawPtr, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getCommonEvent(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getCommonEvent(static_cast(peer)); + return GetAccessors()->getFrameNodeExtenderAccessor()->getCommonEvent(static_cast(peer)); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getCommonEvent, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_FrameNodeExtender_getRenderNode(Ark_NativePointer peer) { - return GetAccessors()->getFrameNodeExtenderAccessor()->getRenderNode(peer); + return GetAccessors()->getFrameNodeExtenderAccessor()->getRenderNode(peer); } KOALA_INTEROP_DIRECT_1(FrameNodeExtender_getRenderNode, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_FrameNodeExtender_convertPoint(Ark_NativePointer peer, Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector2 vector2ValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->convertPoint(static_cast(peer), static_cast(node), static_cast(&vector2ValueTemp)); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_Float64 retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeFloat64(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector2 vector2ValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getFrameNodeExtenderAccessor()->convertPoint(static_cast(peer), static_cast(node), static_cast(&vector2ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Float64 retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeFloat64(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(FrameNodeExtender_convertPoint, KInteropReturnBuffer, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_GestureEvent_construct() { - return GetAccessors()->getGestureEventAccessor()->construct(); + return GetAccessors()->getGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(GestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_GestureEvent_getFinalizer() { - return GetAccessors()->getGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(GestureEvent_getFinalizer, Ark_NativePointer) +void impl_GestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(GestureEvent_callHolder, Ark_NativePointer) Ark_Boolean impl_GestureEvent_getRepeat(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getRepeat(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getRepeat(self); } KOALA_INTEROP_DIRECT_1(GestureEvent_getRepeat, Ark_Boolean, Ark_NativePointer) void impl_GestureEvent_setRepeat(Ark_NativePointer thisPtr, Ark_Boolean repeat) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setRepeat(self, repeat); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setRepeat(self, repeat); } KOALA_INTEROP_V2(GestureEvent_setRepeat, Ark_NativePointer, Ark_Boolean) KInteropReturnBuffer impl_GestureEvent_getFingerList(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getGestureEventAccessor()->getFingerList(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_FingerInfo retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getGestureEventAccessor()->getFingerList(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_FingerInfo retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(GestureEvent_getFingerList, KInteropReturnBuffer, Ark_NativePointer) void impl_GestureEvent_setFingerList(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 fingerListValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_FingerInfo fingerListValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_GestureEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 fingerListValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_FingerInfo fingerListValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&fingerListValueTempTmpBuf, fingerListValueTempTmpBufLength); - for (int fingerListValueTempTmpBufBufCounterI = 0; fingerListValueTempTmpBufBufCounterI < fingerListValueTempTmpBufLength; fingerListValueTempTmpBufBufCounterI++) { - fingerListValueTempTmpBuf.array[fingerListValueTempTmpBufBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); - } - Array_FingerInfo fingerListValueTemp = fingerListValueTempTmpBuf;; - GetAccessors()->getGestureEventAccessor()->setFingerList(self, static_cast(&fingerListValueTemp)); + for (int fingerListValueTempTmpBufBufCounterI = 0; fingerListValueTempTmpBufBufCounterI < fingerListValueTempTmpBufLength; fingerListValueTempTmpBufBufCounterI++) { + fingerListValueTempTmpBuf.array[fingerListValueTempTmpBufBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); + } + Array_FingerInfo fingerListValueTemp = fingerListValueTempTmpBuf;; + GetAccessors()->getGestureEventAccessor()->setFingerList(self, static_cast(&fingerListValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureEvent_setFingerList, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_GestureEvent_getFingerInfos(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getGestureEventAccessor()->getFingerInfos(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_FingerInfo retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getGestureEventAccessor()->getFingerInfos(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_FingerInfo retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + ArkuiComponentGestureFingerInfoSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(GestureEvent_getFingerInfos, KInteropReturnBuffer, Ark_NativePointer) void impl_GestureEvent_setFingerInfos(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fingerInfosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_FingerInfo fingerInfosValueTempTmpBuf = {}; - fingerInfosValueTempTmpBuf.tag = fingerInfosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fingerInfosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 fingerInfosValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_FingerInfo fingerInfosValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_GestureEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fingerInfosValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_FingerInfo fingerInfosValueTempTmpBuf = {}; + fingerInfosValueTempTmpBuf.tag = fingerInfosValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fingerInfosValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 fingerInfosValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_FingerInfo fingerInfosValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&fingerInfosValueTempTmpBufOpt, fingerInfosValueTempTmpBufOptLength); - for (int fingerInfosValueTempTmpBufOptBufCounterI = 0; fingerInfosValueTempTmpBufOptBufCounterI < fingerInfosValueTempTmpBufOptLength; fingerInfosValueTempTmpBufOptBufCounterI++) { - fingerInfosValueTempTmpBufOpt.array[fingerInfosValueTempTmpBufOptBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); - } - fingerInfosValueTempTmpBuf.value = fingerInfosValueTempTmpBufOpt; + for (int fingerInfosValueTempTmpBufOptBufCounterI = 0; fingerInfosValueTempTmpBufOptBufCounterI < fingerInfosValueTempTmpBufOptLength; fingerInfosValueTempTmpBufOptBufCounterI++) { + fingerInfosValueTempTmpBufOpt.array[fingerInfosValueTempTmpBufOptBufCounterI] = ArkuiComponentGestureFingerInfoSerializerImpl::read(thisDeserializer); } - Opt_Array_FingerInfo fingerInfosValueTemp = fingerInfosValueTempTmpBuf;; - GetAccessors()->getGestureEventAccessor()->setFingerInfos(self, static_cast(&fingerInfosValueTemp)); + fingerInfosValueTempTmpBuf.value = fingerInfosValueTempTmpBufOpt; + } + Opt_Array_FingerInfo fingerInfosValueTemp = fingerInfosValueTempTmpBuf;; + GetAccessors()->getGestureEventAccessor()->setFingerInfos(self, static_cast(&fingerInfosValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureEvent_setFingerInfos, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_GestureEvent_getOffsetX(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getOffsetX(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getOffsetX(self); } KOALA_INTEROP_1(GestureEvent_getOffsetX, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setOffsetX(Ark_NativePointer thisPtr, KDouble offsetX) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setOffsetX(self, offsetX); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setOffsetX(self, offsetX); } KOALA_INTEROP_V2(GestureEvent_setOffsetX, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getOffsetY(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getOffsetY(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getOffsetY(self); } KOALA_INTEROP_1(GestureEvent_getOffsetY, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setOffsetY(Ark_NativePointer thisPtr, KDouble offsetY) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setOffsetY(self, offsetY); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setOffsetY(self, offsetY); } KOALA_INTEROP_V2(GestureEvent_setOffsetY, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getAngle(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getAngle(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getAngle(self); } KOALA_INTEROP_1(GestureEvent_getAngle, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setAngle(Ark_NativePointer thisPtr, KDouble angle) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setAngle(self, angle); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setAngle(self, angle); } KOALA_INTEROP_V2(GestureEvent_setAngle, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getSpeed(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getSpeed(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getSpeed(self); } KOALA_INTEROP_1(GestureEvent_getSpeed, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setSpeed(Ark_NativePointer thisPtr, KDouble speed) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setSpeed(self, speed); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setSpeed(self, speed); } KOALA_INTEROP_V2(GestureEvent_setSpeed, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getScale(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getScale(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getScale(self); } KOALA_INTEROP_1(GestureEvent_getScale, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setScale(Ark_NativePointer thisPtr, KDouble scale) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setScale(self, scale); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setScale(self, scale); } KOALA_INTEROP_V2(GestureEvent_setScale, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getPinchCenterX(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getPinchCenterX(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getPinchCenterX(self); } KOALA_INTEROP_1(GestureEvent_getPinchCenterX, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setPinchCenterX(Ark_NativePointer thisPtr, KDouble pinchCenterX) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setPinchCenterX(self, pinchCenterX); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setPinchCenterX(self, pinchCenterX); } KOALA_INTEROP_V2(GestureEvent_setPinchCenterX, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getPinchCenterY(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getPinchCenterY(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getPinchCenterY(self); } KOALA_INTEROP_1(GestureEvent_getPinchCenterY, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setPinchCenterY(Ark_NativePointer thisPtr, KDouble pinchCenterY) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setPinchCenterY(self, pinchCenterY); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setPinchCenterY(self, pinchCenterY); } KOALA_INTEROP_V2(GestureEvent_setPinchCenterY, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getVelocityX(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getVelocityX(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getVelocityX(self); } KOALA_INTEROP_1(GestureEvent_getVelocityX, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setVelocityX(Ark_NativePointer thisPtr, KDouble velocityX) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setVelocityX(self, velocityX); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setVelocityX(self, velocityX); } KOALA_INTEROP_V2(GestureEvent_setVelocityX, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getVelocityY(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getVelocityY(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getVelocityY(self); } KOALA_INTEROP_1(GestureEvent_getVelocityY, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setVelocityY(Ark_NativePointer thisPtr, KDouble velocityY) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setVelocityY(self, velocityY); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setVelocityY(self, velocityY); } KOALA_INTEROP_V2(GestureEvent_setVelocityY, Ark_NativePointer, KDouble) Ark_Int32 impl_GestureEvent_getVelocity(Ark_NativePointer thisPtr) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureEventAccessor()->getVelocity(self); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getVelocity(self); } KOALA_INTEROP_1(GestureEvent_getVelocity, Ark_Int32, Ark_NativePointer) void impl_GestureEvent_setVelocity(Ark_NativePointer thisPtr, KDouble velocity) { - Ark_GestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureEventAccessor()->setVelocity(self, velocity); + Ark_GestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setVelocity(self, velocity); } KOALA_INTEROP_V2(GestureEvent_setVelocity, Ark_NativePointer, KDouble) Ark_NativePointer impl_GestureOps_createTapGesture(KInteropNumber fingers, KInteropNumber count, KInteropNumber distanceThreshold, Ark_Boolean isFingerCountLimited) { - return GetAccessors()->getGestureOpsAccessor()->createTapGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&count), (const Ark_Number*) (&distanceThreshold), isFingerCountLimited); + return GetAccessors()->getGestureOpsAccessor()->createTapGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&count), (const Ark_Number*) (&distanceThreshold), isFingerCountLimited); } KOALA_INTEROP_4(GestureOps_createTapGesture, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_GestureOps_createLongPressGesture(KInteropNumber fingers, Ark_Boolean repeat, KInteropNumber duration, Ark_Boolean isFingerCountLimited) { - return GetAccessors()->getGestureOpsAccessor()->createLongPressGesture((const Ark_Number*) (&fingers), repeat, (const Ark_Number*) (&duration), isFingerCountLimited); + return GetAccessors()->getGestureOpsAccessor()->createLongPressGesture((const Ark_Number*) (&fingers), repeat, (const Ark_Number*) (&duration), isFingerCountLimited); } KOALA_INTEROP_4(GestureOps_createLongPressGesture, Ark_NativePointer, KInteropNumber, Ark_Boolean, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_GestureOps_createPanGesture(KInteropNumber fingers, Ark_Int32 direction, KInteropNumber distance, Ark_Boolean isFingerCountLimited) { - return GetAccessors()->getGestureOpsAccessor()->createPanGesture((const Ark_Number*) (&fingers), static_cast(direction), (const Ark_Number*) (&distance), isFingerCountLimited); + return GetAccessors()->getGestureOpsAccessor()->createPanGesture((const Ark_Number*) (&fingers), static_cast(direction), (const Ark_Number*) (&distance), isFingerCountLimited); } KOALA_INTEROP_4(GestureOps_createPanGesture, Ark_NativePointer, KInteropNumber, Ark_Int32, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_GestureOps_createPanGestureWithPanGestureOptions(Ark_NativePointer panGestureOptions) { - return GetAccessors()->getGestureOpsAccessor()->createPanGestureWithPanGestureOptions(panGestureOptions); + return GetAccessors()->getGestureOpsAccessor()->createPanGestureWithPanGestureOptions(panGestureOptions); } KOALA_INTEROP_DIRECT_1(GestureOps_createPanGestureWithPanGestureOptions, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_GestureOps_createPinchGesture(KInteropNumber fingers, KInteropNumber distance, Ark_Boolean isFingerCountLimited) { - return GetAccessors()->getGestureOpsAccessor()->createPinchGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&distance), isFingerCountLimited); + return GetAccessors()->getGestureOpsAccessor()->createPinchGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&distance), isFingerCountLimited); } KOALA_INTEROP_3(GestureOps_createPinchGesture, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_GestureOps_createRotationGesture(KInteropNumber fingers, KInteropNumber angle, Ark_Boolean isFingerCountLimited) { - return GetAccessors()->getGestureOpsAccessor()->createRotationGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&angle), isFingerCountLimited); + return GetAccessors()->getGestureOpsAccessor()->createRotationGesture((const Ark_Number*) (&fingers), (const Ark_Number*) (&angle), isFingerCountLimited); } KOALA_INTEROP_3(GestureOps_createRotationGesture, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_GestureOps_createSwipeGesture(KInteropNumber fingers, Ark_Int32 direction, KInteropNumber speed, Ark_Boolean isFingerCountLimited) { - return GetAccessors()->getGestureOpsAccessor()->createSwipeGesture((const Ark_Number*) (&fingers), static_cast(direction), (const Ark_Number*) (&speed), isFingerCountLimited); + return GetAccessors()->getGestureOpsAccessor()->createSwipeGesture((const Ark_Number*) (&fingers), static_cast(direction), (const Ark_Number*) (&speed), isFingerCountLimited); } KOALA_INTEROP_4(GestureOps_createSwipeGesture, Ark_NativePointer, KInteropNumber, Ark_Int32, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_GestureOps_createGestureGroup(Ark_Int32 mode) { - return GetAccessors()->getGestureOpsAccessor()->createGestureGroup(static_cast(mode)); + return GetAccessors()->getGestureOpsAccessor()->createGestureGroup(static_cast(mode)); } KOALA_INTEROP_DIRECT_1(GestureOps_createGestureGroup, Ark_NativePointer, Ark_Int32) void impl_GestureOps_setOnAction(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - GestureCallback onActionValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; - GetAccessors()->getGestureOpsAccessor()->setOnAction(gesture, static_cast(&onActionValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + GestureCallback onActionValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; + GetAccessors()->getGestureOpsAccessor()->setOnAction(gesture, static_cast(&onActionValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setOnAction, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_setOnActionStart(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - GestureCallback onActionStartValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; - GetAccessors()->getGestureOpsAccessor()->setOnActionStart(gesture, static_cast(&onActionStartValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + GestureCallback onActionStartValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; + GetAccessors()->getGestureOpsAccessor()->setOnActionStart(gesture, static_cast(&onActionStartValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionStart, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_setOnActionUpdate(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - GestureCallback onActionUpdateValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; - GetAccessors()->getGestureOpsAccessor()->setOnActionUpdate(gesture, static_cast(&onActionUpdateValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + GestureCallback onActionUpdateValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; + GetAccessors()->getGestureOpsAccessor()->setOnActionUpdate(gesture, static_cast(&onActionUpdateValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionUpdate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_setOnActionEnd(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - GestureCallback onActionEndValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; - GetAccessors()->getGestureOpsAccessor()->setOnActionEnd(gesture, static_cast(&onActionEndValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + GestureCallback onActionEndValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; + GetAccessors()->getGestureOpsAccessor()->setOnActionEnd(gesture, static_cast(&onActionEndValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionEnd, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_setOnActionCancel(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - GestureCallback onActionCancelValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; - GetAccessors()->getGestureOpsAccessor()->setOnActionCancel(gesture, static_cast(&onActionCancelValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + GestureCallback onActionCancelValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_GESTURECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_GESTURECALLBACK))))};; + GetAccessors()->getGestureOpsAccessor()->setOnActionCancel(gesture, static_cast(&onActionCancelValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setOnActionCancel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_setOnCancel(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void onCancelValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getGestureOpsAccessor()->setOnCancel(gesture, static_cast(&onCancelValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void onCancelValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getGestureOpsAccessor()->setOnCancel(gesture, static_cast(&onCancelValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setOnCancel, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_setGestureTag(Ark_NativePointer gesture, const KStringPtr& tag) { - GetAccessors()->getGestureOpsAccessor()->setGestureTag(gesture, (const Ark_String*) (&tag)); + GetAccessors()->getGestureOpsAccessor()->setGestureTag(gesture, (const Ark_String*) (&tag)); } KOALA_INTEROP_V2(GestureOps_setGestureTag, Ark_NativePointer, KStringPtr) void impl_GestureOps_setAllowedTypes(Ark_NativePointer gesture, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 typesValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_SourceTool typesValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 typesValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_SourceTool typesValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&typesValueTempTmpBuf, typesValueTempTmpBufLength); - for (int typesValueTempTmpBufBufCounterI = 0; typesValueTempTmpBufBufCounterI < typesValueTempTmpBufLength; typesValueTempTmpBufBufCounterI++) { - typesValueTempTmpBuf.array[typesValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - Array_SourceTool typesValueTemp = typesValueTempTmpBuf;; - GetAccessors()->getGestureOpsAccessor()->setAllowedTypes(gesture, static_cast(&typesValueTemp)); + for (int typesValueTempTmpBufBufCounterI = 0; typesValueTempTmpBufBufCounterI < typesValueTempTmpBufLength; typesValueTempTmpBufBufCounterI++) { + typesValueTempTmpBuf.array[typesValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readInt32()); + } + Array_SourceTool typesValueTemp = typesValueTempTmpBuf;; + GetAccessors()->getGestureOpsAccessor()->setAllowedTypes(gesture, static_cast(&typesValueTemp)); } KOALA_INTEROP_DIRECT_V3(GestureOps_setAllowedTypes, Ark_NativePointer, KSerializerBuffer, KInt) void impl_GestureOps_addGestureToNode(Ark_NativePointer node, KInteropNumber priority, Ark_Int32 mask, Ark_NativePointer gesture, Ark_Boolean isModifier) { - GetAccessors()->getGestureOpsAccessor()->addGestureToNode(node, (const Ark_Number*) (&priority), static_cast(mask), gesture, isModifier); + GetAccessors()->getGestureOpsAccessor()->addGestureToNode(node, (const Ark_Number*) (&priority), static_cast(mask), gesture, isModifier); } KOALA_INTEROP_V5(GestureOps_addGestureToNode, Ark_NativePointer, KInteropNumber, Ark_Int32, Ark_NativePointer, Ark_Boolean) void impl_GestureOps_addGestureToGroup(Ark_NativePointer group, Ark_NativePointer gesture) { - GetAccessors()->getGestureOpsAccessor()->addGestureToGroup(group, gesture); + GetAccessors()->getGestureOpsAccessor()->addGestureToGroup(group, gesture); } KOALA_INTEROP_DIRECT_V2(GestureOps_addGestureToGroup, Ark_NativePointer, Ark_NativePointer) void impl_GestureOps_removeGestureByTag(Ark_NativePointer node, const KStringPtr& tag) { - GetAccessors()->getGestureOpsAccessor()->removeGestureByTag(node, (const Ark_String*) (&tag)); + GetAccessors()->getGestureOpsAccessor()->removeGestureByTag(node, (const Ark_String*) (&tag)); } KOALA_INTEROP_V2(GestureOps_removeGestureByTag, Ark_NativePointer, KStringPtr) void impl_GestureOps_clearGestures(Ark_NativePointer node) { - GetAccessors()->getGestureOpsAccessor()->clearGestures(node); + GetAccessors()->getGestureOpsAccessor()->clearGestures(node); } KOALA_INTEROP_DIRECT_V1(GestureOps_clearGestures, Ark_NativePointer) Ark_Number impl_GestureOps_getGestureEventType(Ark_NativePointer event) { - return GetAccessors()->getGestureOpsAccessor()->getGestureEventType(event); + return GetAccessors()->getGestureOpsAccessor()->getGestureEventType(event); } KOALA_INTEROP_DIRECT_1(GestureOps_getGestureEventType, KInteropNumber, Ark_NativePointer) Ark_Boolean impl_GestureOps_isScrollableComponent(Ark_NativePointer event) { - return GetAccessors()->getGestureOpsAccessor()->isScrollableComponent(event); + return GetAccessors()->getGestureOpsAccessor()->isScrollableComponent(event); } KOALA_INTEROP_DIRECT_1(GestureOps_isScrollableComponent, Ark_Boolean, Ark_NativePointer) Ark_NativePointer impl_GestureRecognizer_construct() { - return GetAccessors()->getGestureRecognizerAccessor()->construct(); + return GetAccessors()->getGestureRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(GestureRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_GestureRecognizer_getFinalizer() { - return GetAccessors()->getGestureRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getGestureRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(GestureRecognizer_getFinalizer, Ark_NativePointer) +void impl_GestureRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(GestureRecognizer_callHolder, Ark_NativePointer) Ark_String impl_GestureRecognizer_getTag(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->getTag(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getTag(self); } KOALA_INTEROP_1(GestureRecognizer_getTag, KStringPtr, Ark_NativePointer) Ark_Int32 impl_GestureRecognizer_getType(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->getType(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getType(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_getType, Ark_Int32, Ark_NativePointer) Ark_Boolean impl_GestureRecognizer_isBuiltIn(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->isBuiltIn(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isBuiltIn(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_isBuiltIn, Ark_Boolean, Ark_NativePointer) void impl_GestureRecognizer_setEnabled(Ark_NativePointer thisPtr, Ark_Boolean isEnabled) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureRecognizerAccessor()->setEnabled(self, isEnabled); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureRecognizerAccessor()->setEnabled(self, isEnabled); } KOALA_INTEROP_V2(GestureRecognizer_setEnabled, Ark_NativePointer, Ark_Boolean) Ark_Boolean impl_GestureRecognizer_isEnabled(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->isEnabled(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isEnabled(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_isEnabled, Ark_Boolean, Ark_NativePointer) Ark_Int32 impl_GestureRecognizer_getState(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->getState(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getState(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_getState, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_GestureRecognizer_getEventTargetInfo(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->getEventTargetInfo(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getEventTargetInfo(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_getEventTargetInfo, Ark_NativePointer, Ark_NativePointer) Ark_Boolean impl_GestureRecognizer_isValid(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->isValid(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isValid(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_isValid, Ark_Boolean, Ark_NativePointer) Ark_Int32 impl_GestureRecognizer_getFingerCount(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->getFingerCount(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getFingerCount(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_getFingerCount, Ark_Int32, Ark_NativePointer) Ark_Boolean impl_GestureRecognizer_isFingerCountLimit(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getGestureRecognizerAccessor()->isFingerCountLimit(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isFingerCountLimit(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_isFingerCountLimit, Ark_Boolean, Ark_NativePointer) void impl_GestureRecognizer_preventBegin(Ark_NativePointer thisPtr) { - Ark_GestureRecognizer self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureRecognizerAccessor()->preventBegin(self); + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureRecognizerAccessor()->preventBegin(self); } KOALA_INTEROP_DIRECT_V1(GestureRecognizer_preventBegin, Ark_NativePointer) Ark_NativePointer impl_GestureStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_GestureStyleInterface valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentStyledStringGestureStyleInterfaceSerializerImpl::read(thisDeserializer); - } - Opt_GestureStyleInterface valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getGestureStyleAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_GestureStyleInterface valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentStyledStringGestureStyleInterfaceSerializerImpl::read(thisDeserializer); + } + Opt_GestureStyleInterface valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getGestureStyleAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(GestureStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_GestureStyle_getFinalizer() { - return GetAccessors()->getGestureStyleAccessor()->getFinalizer(); + return GetAccessors()->getGestureStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(GestureStyle_getFinalizer, Ark_NativePointer) +void impl_GestureStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_GestureStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(GestureStyle_callHolder, Ark_NativePointer) void impl_GlobalScope_ohos_arkui_componentSnapshot_get(const KStringPtr& id, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - synthetic_AsyncCallback_image_PixelMap_Void callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_ASYNCCALLBACK_IMAGE_PIXELMAP_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_ASYNCCALLBACK_IMAGE_PIXELMAP_VOID))))};; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SnapshotOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentIdlizeSnapshotOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SnapshotOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getGlobalScope_ohos_arkui_componentSnapshotAccessor()->get((const Ark_String*) (&id), static_cast(&callbackValueTemp), static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + synthetic_AsyncCallback_image_PixelMap_Void callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_ASYNCCALLBACK_IMAGE_PIXELMAP_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_ASYNCCALLBACK_IMAGE_PIXELMAP_VOID))))};; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SnapshotOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentIdlizeSnapshotOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SnapshotOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getGlobalScope_ohos_arkui_componentSnapshotAccessor()->get((const Ark_String*) (&id), static_cast(&callbackValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_V3(GlobalScope_ohos_arkui_componentSnapshot_get, KStringPtr, KSerializerBuffer, KInt) void impl_GlobalScope_ohos_arkui_performanceMonitor_begin(const KStringPtr& scene, Ark_Int32 startInputType, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto noteValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String noteValueTempTmpBuf = {}; - noteValueTempTmpBuf.tag = noteValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((noteValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - noteValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String noteValueTemp = noteValueTempTmpBuf;; - GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->begin((const Ark_String*) (&scene), static_cast(startInputType), static_cast(¬eValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto noteValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String noteValueTempTmpBuf = {}; + noteValueTempTmpBuf.tag = noteValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((noteValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + noteValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String noteValueTemp = noteValueTempTmpBuf;; + GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->begin((const Ark_String*) (&scene), static_cast(startInputType), static_cast(¬eValueTemp)); } KOALA_INTEROP_V4(GlobalScope_ohos_arkui_performanceMonitor_begin, KStringPtr, Ark_Int32, KSerializerBuffer, KInt) void impl_GlobalScope_ohos_arkui_performanceMonitor_end(const KStringPtr& scene) { - GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->end((const Ark_String*) (&scene)); + GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->end((const Ark_String*) (&scene)); } KOALA_INTEROP_V1(GlobalScope_ohos_arkui_performanceMonitor_end, KStringPtr) void impl_GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(Ark_Int32 actionType, Ark_Int32 sourceType, KLong time) { - GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->recordInputEventTime(static_cast(actionType), static_cast(sourceType), time); + GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->recordInputEventTime(static_cast(actionType), static_cast(sourceType), time); } KOALA_INTEROP_DIRECT_V3(GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime, Ark_Int32, Ark_Int32, KLong) void impl_GlobalScope_ohos_font_registerFont(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_font_FontOptions optionsValueTemp = OhosFontFontFontOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getGlobalScope_ohos_fontAccessor()->registerFont(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_font_FontOptions optionsValueTemp = OhosFontFontFontOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getGlobalScope_ohos_fontAccessor()->registerFont(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScope_ohos_font_registerFont, KSerializerBuffer, KInt) KInteropReturnBuffer impl_GlobalScope_ohos_font_getSystemFontList() { - const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getSystemFontList(); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeString(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getSystemFontList(); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeString(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_0(GlobalScope_ohos_font_getSystemFontList, KInteropReturnBuffer) KInteropReturnBuffer impl_GlobalScope_ohos_font_getFontByName(const KStringPtr& fontName) { - const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getFontByName((const Ark_String*) (&fontName)); - SerializerBase _retSerializer {}; - OhosFontFontFontInfoSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getFontByName((const Ark_String*) (&fontName)); + SerializerBase _retSerializer {}; + OhosFontFontFontInfoSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(GlobalScope_ohos_font_getFontByName, KInteropReturnBuffer, KStringPtr) KInteropReturnBuffer impl_GlobalScope_ohos_font_getUIFontConfig() { - const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getUIFontConfig(); - SerializerBase _retSerializer {}; - OhosFontFontUIFontConfigSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getGlobalScope_ohos_fontAccessor()->getUIFontConfig(); + SerializerBase _retSerializer {}; + OhosFontFontUIFontConfigSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_0(GlobalScope_ohos_font_getUIFontConfig, KInteropReturnBuffer) Ark_Int32 impl_GlobalScope_ohos_measure_utils_measureText(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_MeasureOptions optionsValueTemp = OhosMeasureMeasureOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getGlobalScope_ohos_measure_utilsAccessor()->measureText(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_MeasureOptions optionsValueTemp = OhosMeasureMeasureOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getGlobalScope_ohos_measure_utilsAccessor()->measureText(static_cast(&optionsValueTemp)); } KOALA_INTEROP_2(GlobalScope_ohos_measure_utils_measureText, Ark_Int32, KSerializerBuffer, KInt) KInteropReturnBuffer impl_GlobalScope_ohos_measure_utils_measureTextSize(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_MeasureOptions optionsValueTemp = OhosMeasureMeasureOptionsSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getGlobalScope_ohos_measure_utilsAccessor()->measureTextSize(static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsSizeOptionsSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_MeasureOptions optionsValueTemp = OhosMeasureMeasureOptionsSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getGlobalScope_ohos_measure_utilsAccessor()->measureTextSize(static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsSizeOptionsSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(GlobalScope_ohos_measure_utils_measureTextSize, KInteropReturnBuffer, KSerializerBuffer, KInt) Ark_Boolean impl_GlobalScopeUicontextFontScale_isFollowingSystemFontScale() { - return GetAccessors()->getGlobalScopeUicontextFontScaleAccessor()->isFollowingSystemFontScale(); + return GetAccessors()->getGlobalScopeUicontextFontScaleAccessor()->isFollowingSystemFontScale(); } KOALA_INTEROP_DIRECT_0(GlobalScopeUicontextFontScale_isFollowingSystemFontScale, Ark_Boolean) Ark_Int32 impl_GlobalScopeUicontextFontScale_getMaxFontScale() { - return GetAccessors()->getGlobalScopeUicontextFontScaleAccessor()->getMaxFontScale(); + return GetAccessors()->getGlobalScopeUicontextFontScaleAccessor()->getMaxFontScale(); } KOALA_INTEROP_0(GlobalScopeUicontextFontScale_getMaxFontScale, Ark_Int32) void impl_GlobalScopeUicontextTextMenu_setMenuOptions(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TextMenuOptions optionsValueTemp = ArkuiComponentTextCommonTextMenuOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getGlobalScopeUicontextTextMenuAccessor()->setMenuOptions(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TextMenuOptions optionsValueTemp = ArkuiComponentTextCommonTextMenuOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getGlobalScopeUicontextTextMenuAccessor()->setMenuOptions(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScopeUicontextTextMenu_setMenuOptions, KSerializerBuffer, KInt) Ark_NativePointer impl_HierarchicalSymbolEffect_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fillStyleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectFillStyle fillStyleValueTempTmpBuf = {}; - fillStyleValueTempTmpBuf.tag = fillStyleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fillStyleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fillStyleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectFillStyle fillStyleValueTemp = fillStyleValueTempTmpBuf;; - return GetAccessors()->getHierarchicalSymbolEffectAccessor()->construct(static_cast(&fillStyleValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fillStyleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectFillStyle fillStyleValueTempTmpBuf = {}; + fillStyleValueTempTmpBuf.tag = fillStyleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fillStyleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fillStyleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectFillStyle fillStyleValueTemp = fillStyleValueTempTmpBuf;; + return GetAccessors()->getHierarchicalSymbolEffectAccessor()->construct(static_cast(&fillStyleValueTemp)); } KOALA_INTEROP_DIRECT_2(HierarchicalSymbolEffect_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_HierarchicalSymbolEffect_getFinalizer() { - return GetAccessors()->getHierarchicalSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getHierarchicalSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(HierarchicalSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_HierarchicalSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_HierarchicalSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getHierarchicalSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(HierarchicalSymbolEffect_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_HierarchicalSymbolEffect_getFillStyle(Ark_NativePointer thisPtr) { - Ark_HierarchicalSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHierarchicalSymbolEffectAccessor()->getFillStyle(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_HierarchicalSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHierarchicalSymbolEffectAccessor()->getFillStyle(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HierarchicalSymbolEffect_getFillStyle, KInteropReturnBuffer, Ark_NativePointer) void impl_HierarchicalSymbolEffect_setFillStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HierarchicalSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto fillStyleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectFillStyle fillStyleValueTempTmpBuf = {}; - fillStyleValueTempTmpBuf.tag = fillStyleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((fillStyleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - fillStyleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectFillStyle fillStyleValueTemp = fillStyleValueTempTmpBuf;; - GetAccessors()->getHierarchicalSymbolEffectAccessor()->setFillStyle(self, static_cast(&fillStyleValueTemp)); + Ark_HierarchicalSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto fillStyleValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectFillStyle fillStyleValueTempTmpBuf = {}; + fillStyleValueTempTmpBuf.tag = fillStyleValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((fillStyleValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + fillStyleValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectFillStyle fillStyleValueTemp = fillStyleValueTempTmpBuf;; + GetAccessors()->getHierarchicalSymbolEffectAccessor()->setFillStyle(self, static_cast(&fillStyleValueTemp)); } KOALA_INTEROP_DIRECT_V3(HierarchicalSymbolEffect_setFillStyle, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_HoverEvent_construct() { - return GetAccessors()->getHoverEventAccessor()->construct(); + return GetAccessors()->getHoverEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(HoverEvent_construct, Ark_NativePointer) Ark_NativePointer impl_HoverEvent_getFinalizer() { - return GetAccessors()->getHoverEventAccessor()->getFinalizer(); + return GetAccessors()->getHoverEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(HoverEvent_getFinalizer, Ark_NativePointer) +void impl_HoverEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(HoverEvent_callHolder, Ark_NativePointer) void impl_HoverEvent_stopPropagation(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getHoverEventAccessor()->stopPropagation(self); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->stopPropagation(self); } KOALA_INTEROP_DIRECT_V1(HoverEvent_stopPropagation, Ark_NativePointer) -KInteropReturnBuffer impl_HoverEvent_getX(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHoverEventAccessor()->getX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); +KInteropReturnBuffer impl_HoverEvent_getX(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HoverEvent_getX, KInteropReturnBuffer, Ark_NativePointer) void impl_HoverEvent_setX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto xValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 xValueTempTmpBuf = {}; - xValueTempTmpBuf.tag = xValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((xValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - xValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 xValueTemp = xValueTempTmpBuf;; - GetAccessors()->getHoverEventAccessor()->setX(self, static_cast(&xValueTemp)); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto xValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 xValueTempTmpBuf = {}; + xValueTempTmpBuf.tag = xValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((xValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + xValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 xValueTemp = xValueTempTmpBuf;; + GetAccessors()->getHoverEventAccessor()->setX(self, static_cast(&xValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_HoverEvent_getY(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHoverEventAccessor()->getY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HoverEvent_getY, KInteropReturnBuffer, Ark_NativePointer) void impl_HoverEvent_setY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto yValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 yValueTempTmpBuf = {}; - yValueTempTmpBuf.tag = yValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((yValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - yValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 yValueTemp = yValueTempTmpBuf;; - GetAccessors()->getHoverEventAccessor()->setY(self, static_cast(&yValueTemp)); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto yValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 yValueTempTmpBuf = {}; + yValueTempTmpBuf.tag = yValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((yValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + yValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 yValueTemp = yValueTempTmpBuf;; + GetAccessors()->getHoverEventAccessor()->setY(self, static_cast(&yValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setY, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_HoverEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HoverEvent_getWindowX, KInteropReturnBuffer, Ark_NativePointer) void impl_HoverEvent_setWindowX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto windowXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 windowXValueTempTmpBuf = {}; - windowXValueTempTmpBuf.tag = windowXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((windowXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - windowXValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 windowXValueTemp = windowXValueTempTmpBuf;; - GetAccessors()->getHoverEventAccessor()->setWindowX(self, static_cast(&windowXValueTemp)); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto windowXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 windowXValueTempTmpBuf = {}; + windowXValueTempTmpBuf.tag = windowXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((windowXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + windowXValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 windowXValueTemp = windowXValueTempTmpBuf;; + GetAccessors()->getHoverEventAccessor()->setWindowX(self, static_cast(&windowXValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setWindowX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_HoverEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HoverEvent_getWindowY, KInteropReturnBuffer, Ark_NativePointer) void impl_HoverEvent_setWindowY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto windowYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 windowYValueTempTmpBuf = {}; - windowYValueTempTmpBuf.tag = windowYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((windowYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - windowYValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 windowYValueTemp = windowYValueTempTmpBuf;; - GetAccessors()->getHoverEventAccessor()->setWindowY(self, static_cast(&windowYValueTemp)); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto windowYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 windowYValueTempTmpBuf = {}; + windowYValueTempTmpBuf.tag = windowYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((windowYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + windowYValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 windowYValueTemp = windowYValueTempTmpBuf;; + GetAccessors()->getHoverEventAccessor()->setWindowY(self, static_cast(&windowYValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setWindowY, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_HoverEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HoverEvent_getDisplayX, KInteropReturnBuffer, Ark_NativePointer) void impl_HoverEvent_setDisplayX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto displayXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 displayXValueTempTmpBuf = {}; - displayXValueTempTmpBuf.tag = displayXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((displayXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - displayXValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 displayXValueTemp = displayXValueTempTmpBuf;; - GetAccessors()->getHoverEventAccessor()->setDisplayX(self, static_cast(&displayXValueTemp)); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto displayXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 displayXValueTempTmpBuf = {}; + displayXValueTempTmpBuf.tag = displayXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((displayXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + displayXValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 displayXValueTemp = displayXValueTempTmpBuf;; + GetAccessors()->getHoverEventAccessor()->setDisplayX(self, static_cast(&displayXValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setDisplayX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_HoverEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(HoverEvent_getDisplayY, KInteropReturnBuffer, Ark_NativePointer) void impl_HoverEvent_setDisplayY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto displayYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 displayYValueTempTmpBuf = {}; - displayYValueTempTmpBuf.tag = displayYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((displayYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - displayYValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 displayYValueTemp = displayYValueTempTmpBuf;; - GetAccessors()->getHoverEventAccessor()->setDisplayY(self, static_cast(&displayYValueTemp)); + Ark_HoverEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto displayYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 displayYValueTempTmpBuf = {}; + displayYValueTempTmpBuf.tag = displayYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((displayYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + displayYValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 displayYValueTemp = displayYValueTempTmpBuf;; + GetAccessors()->getHoverEventAccessor()->setDisplayY(self, static_cast(&displayYValueTemp)); } KOALA_INTEROP_DIRECT_V3(HoverEvent_setDisplayY, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ImageAnalyzerController_construct() { - return GetAccessors()->getImageAnalyzerControllerAccessor()->construct(); + return GetAccessors()->getImageAnalyzerControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(ImageAnalyzerController_construct, Ark_NativePointer) Ark_NativePointer impl_ImageAnalyzerController_getFinalizer() { - return GetAccessors()->getImageAnalyzerControllerAccessor()->getFinalizer(); + return GetAccessors()->getImageAnalyzerControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ImageAnalyzerController_getFinalizer, Ark_NativePointer) +void impl_ImageAnalyzerController_callHolder(Ark_NativePointer thisPtr) { + Ark_ImageAnalyzerController self = reinterpret_cast(thisPtr); + GetAccessors()->getImageAnalyzerControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ImageAnalyzerController_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ImageAnalyzerController_getImageAnalyzerSupportTypes(Ark_NativePointer thisPtr) { - Ark_ImageAnalyzerController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getImageAnalyzerControllerAccessor()->getImageAnalyzerSupportTypes(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_ImageAnalyzerType retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeInt32(static_cast(retValueTmpElement)); - } - return _retSerializer.toReturnBuffer(); + Ark_ImageAnalyzerController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAnalyzerControllerAccessor()->getImageAnalyzerSupportTypes(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_ImageAnalyzerType retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeInt32(static_cast(retValueTmpElement)); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAnalyzerController_getImageAnalyzerSupportTypes, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_ImageAttachment_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AttachmentType valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_AttachmentType valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentStyledStringImageAttachmentInterfaceSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentStyledStringResourceImageAttachmentOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AttachmentType valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_AttachmentType valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentStyledStringImageAttachmentInterfaceSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentStyledStringResourceImageAttachmentOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_AttachmentType valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getImageAttachmentAccessor()->construct(static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_AttachmentType valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getImageAttachmentAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(ImageAttachment_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ImageAttachment_getFinalizer() { - return GetAccessors()->getImageAttachmentAccessor()->getFinalizer(); + return GetAccessors()->getImageAttachmentAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ImageAttachment_getFinalizer, Ark_NativePointer) +void impl_ImageAttachment_callHolder(Ark_NativePointer thisPtr) { + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + GetAccessors()->getImageAttachmentAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ImageAttachment_callHolder, Ark_NativePointer) void impl_ImageAttachment_getValue(Ark_NativePointer thisPtr) { - Ark_ImageAttachment self = reinterpret_cast(thisPtr); - GetAccessors()->getImageAttachmentAccessor()->getValue(self); + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + GetAccessors()->getImageAttachmentAccessor()->getValue(self); } KOALA_INTEROP_DIRECT_V1(ImageAttachment_getValue, Ark_NativePointer) KInteropReturnBuffer impl_ImageAttachment_getSize(Ark_NativePointer thisPtr) { - Ark_ImageAttachment self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getSize(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsSizeOptionsSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getSize(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsSizeOptionsSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAttachment_getSize, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ImageAttachment_getVerticalAlign(Ark_NativePointer thisPtr) { - Ark_ImageAttachment self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getVerticalAlign(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getVerticalAlign(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAttachment_getVerticalAlign, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ImageAttachment_getObjectFit(Ark_NativePointer thisPtr) { - Ark_ImageAttachment self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getObjectFit(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getObjectFit(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAttachment_getObjectFit, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ImageAttachment_getLayoutStyle(Ark_NativePointer thisPtr) { - Ark_ImageAttachment self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getLayoutStyle(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentStyledStringImageAttachmentLayoutStyleSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getLayoutStyle(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentStyledStringImageAttachmentLayoutStyleSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAttachment_getLayoutStyle, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ImageAttachment_getColorFilter(Ark_NativePointer thisPtr) { - Ark_ImageAttachment self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getColorFilter(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - if (retValueTmpValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; - ArkuiComponentUnitsColorFilterSerializerImpl::write(_retSerializer, retValueTmpValueForIdx0); - } else if (retValueTmpValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; - OhosGraphicsDrawingDrawingColorFilterSerializerImpl::write(_retSerializer, retValueTmpValueForIdx1); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getColorFilter(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + if (retValueTmpValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; + ArkuiComponentUnitsColorFilterSerializerImpl::write(_retSerializer, retValueTmpValueForIdx0); + } else if (retValueTmpValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; + OhosGraphicsDrawingDrawingColorFilterSerializerImpl::write(_retSerializer, retValueTmpValueForIdx1); } - return _retSerializer.toReturnBuffer(); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAttachment_getColorFilter, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_ImageBitmap_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 srcValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_image_PixelMap_String srcValueTempTmpBuf = {}; - srcValueTempTmpBuf.selector = srcValueTempTmpBufUnionSelector; - if (srcValueTempTmpBufUnionSelector == 0) { - srcValueTempTmpBuf.selector = 0; - srcValueTempTmpBuf.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else if (srcValueTempTmpBufUnionSelector == 1) { - srcValueTempTmpBuf.selector = 1; - srcValueTempTmpBuf.value1 = static_cast(thisDeserializer.readString()); - } else { - INTEROP_FATAL("One of the branches for srcValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_image_PixelMap_String srcValueTemp = static_cast(srcValueTempTmpBuf);; - const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; - unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; - return GetAccessors()->getImageBitmapAccessor()->construct(static_cast(&srcValueTemp), static_cast(&unitValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 srcValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_image_PixelMap_String srcValueTempTmpBuf = {}; + srcValueTempTmpBuf.selector = srcValueTempTmpBufUnionSelector; + if (srcValueTempTmpBufUnionSelector == 0) { + srcValueTempTmpBuf.selector = 0; + srcValueTempTmpBuf.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else if (srcValueTempTmpBufUnionSelector == 1) { + srcValueTempTmpBuf.selector = 1; + srcValueTempTmpBuf.value1 = static_cast(thisDeserializer.readString()); + } else { + INTEROP_FATAL("One of the branches for srcValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_image_PixelMap_String srcValueTemp = static_cast(srcValueTempTmpBuf);; + const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; + unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; + return GetAccessors()->getImageBitmapAccessor()->construct(static_cast(&srcValueTemp), static_cast(&unitValueTemp)); } KOALA_INTEROP_DIRECT_2(ImageBitmap_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ImageBitmap_getFinalizer() { - return GetAccessors()->getImageBitmapAccessor()->getFinalizer(); + return GetAccessors()->getImageBitmapAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ImageBitmap_getFinalizer, Ark_NativePointer) +void impl_ImageBitmap_callHolder(Ark_NativePointer thisPtr) { + Ark_ImageBitmap self = reinterpret_cast(thisPtr); + GetAccessors()->getImageBitmapAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ImageBitmap_callHolder, Ark_NativePointer) void impl_ImageBitmap_close(Ark_NativePointer thisPtr) { - Ark_ImageBitmap self = reinterpret_cast(thisPtr); - GetAccessors()->getImageBitmapAccessor()->close(self); + Ark_ImageBitmap self = reinterpret_cast(thisPtr); + GetAccessors()->getImageBitmapAccessor()->close(self); } KOALA_INTEROP_DIRECT_V1(ImageBitmap_close, Ark_NativePointer) Ark_Int32 impl_ImageBitmap_getHeight(Ark_NativePointer thisPtr) { - Ark_ImageBitmap self = reinterpret_cast(thisPtr); - return GetAccessors()->getImageBitmapAccessor()->getHeight(self); + Ark_ImageBitmap self = reinterpret_cast(thisPtr); + return GetAccessors()->getImageBitmapAccessor()->getHeight(self); } KOALA_INTEROP_1(ImageBitmap_getHeight, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_ImageBitmap_getWidth(Ark_NativePointer thisPtr) { - Ark_ImageBitmap self = reinterpret_cast(thisPtr); - return GetAccessors()->getImageBitmapAccessor()->getWidth(self); + Ark_ImageBitmap self = reinterpret_cast(thisPtr); + return GetAccessors()->getImageBitmapAccessor()->getWidth(self); } KOALA_INTEROP_1(ImageBitmap_getWidth, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_Indicator_construct() { - return GetAccessors()->getIndicatorAccessor()->construct(); + return GetAccessors()->getIndicatorAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(Indicator_construct, Ark_NativePointer) Ark_NativePointer impl_Indicator_getFinalizer() { - return GetAccessors()->getIndicatorAccessor()->getFinalizer(); + return GetAccessors()->getIndicatorAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Indicator_getFinalizer, Ark_NativePointer) +void impl_Indicator_callHolder(Ark_NativePointer thisPtr) { + Ark_Indicator self = reinterpret_cast(thisPtr); + GetAccessors()->getIndicatorAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(Indicator_callHolder, Ark_NativePointer) void impl_Indicator_left(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->left(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->left(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Indicator_left, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Indicator_top(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->top(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->top(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Indicator_top, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Indicator_right(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->right(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->right(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Indicator_right, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Indicator_bottom0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Length valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Length valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->bottom0(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Length valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->bottom0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Indicator_bottom0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Indicator_bottom1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength, Ark_Boolean ignoreSize) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto bottomValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_LengthMetrics_Length bottomValueTempTmpBuf = {}; - bottomValueTempTmpBuf.tag = bottomValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((bottomValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 bottomValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_LengthMetrics_Length bottomValueTempTmpBufOpt = {}; - bottomValueTempTmpBufOpt.selector = bottomValueTempTmpBufOptUnionSelector; - if (bottomValueTempTmpBufOptUnionSelector == 0) { - bottomValueTempTmpBufOpt.selector = 0; - bottomValueTempTmpBufOpt.value0 = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } else if (bottomValueTempTmpBufOptUnionSelector == 1) { - bottomValueTempTmpBufOpt.selector = 1; - const Ark_Int8 bottomValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length bottomValueTempTmpBufOptBufU = {}; - bottomValueTempTmpBufOptBufU.selector = bottomValueTempTmpBufOptBufUUnionSelector; - if (bottomValueTempTmpBufOptBufUUnionSelector == 0) { - bottomValueTempTmpBufOptBufU.selector = 0; - bottomValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (bottomValueTempTmpBufOptBufUUnionSelector == 1) { - bottomValueTempTmpBufOptBufU.selector = 1; - bottomValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (bottomValueTempTmpBufOptBufUUnionSelector == 2) { - bottomValueTempTmpBufOptBufU.selector = 2; - bottomValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for bottomValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - bottomValueTempTmpBufOpt.value1 = static_cast(bottomValueTempTmpBufOptBufU); - } else { - INTEROP_FATAL("One of the branches for bottomValueTempTmpBufOpt has to be chosen through deserialisation."); - } - bottomValueTempTmpBuf.value = static_cast(bottomValueTempTmpBufOpt); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto bottomValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_LengthMetrics_Length bottomValueTempTmpBuf = {}; + bottomValueTempTmpBuf.tag = bottomValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((bottomValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 bottomValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_LengthMetrics_Length bottomValueTempTmpBufOpt = {}; + bottomValueTempTmpBufOpt.selector = bottomValueTempTmpBufOptUnionSelector; + if (bottomValueTempTmpBufOptUnionSelector == 0) { + bottomValueTempTmpBufOpt.selector = 0; + bottomValueTempTmpBufOpt.value0 = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } else if (bottomValueTempTmpBufOptUnionSelector == 1) { + bottomValueTempTmpBufOpt.selector = 1; + const Ark_Int8 bottomValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length bottomValueTempTmpBufOptBufU = {}; + bottomValueTempTmpBufOptBufU.selector = bottomValueTempTmpBufOptBufUUnionSelector; + if (bottomValueTempTmpBufOptBufUUnionSelector == 0) { + bottomValueTempTmpBufOptBufU.selector = 0; + bottomValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (bottomValueTempTmpBufOptBufUUnionSelector == 1) { + bottomValueTempTmpBufOptBufU.selector = 1; + bottomValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (bottomValueTempTmpBufOptBufUUnionSelector == 2) { + bottomValueTempTmpBufOptBufU.selector = 2; + bottomValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for bottomValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + bottomValueTempTmpBufOpt.value1 = static_cast(bottomValueTempTmpBufOptBufU); + } else { + INTEROP_FATAL("One of the branches for bottomValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_LengthMetrics_Length bottomValueTemp = bottomValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->bottom1(self, static_cast(&bottomValueTemp), ignoreSize); + bottomValueTempTmpBuf.value = static_cast(bottomValueTempTmpBufOpt); + } + Opt_Union_LengthMetrics_Length bottomValueTemp = bottomValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->bottom1(self, static_cast(&bottomValueTemp), ignoreSize); } KOALA_INTEROP_V4(Indicator_bottom1, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Boolean) void impl_Indicator_start(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->start(self, static_cast(&valueValueTemp)); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->start(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Indicator_start, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Indicator_end(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Indicator self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetrics valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); - } - Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getIndicatorAccessor()->end(self, static_cast(&valueValueTemp)); + Ark_Indicator self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetrics valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = static_cast(ArkuiGraphicsLengthMetricsSerializerImpl::read(thisDeserializer)); + } + Opt_LengthMetrics valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getIndicatorAccessor()->end(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Indicator_end, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Indicator_dot() { - return GetAccessors()->getIndicatorAccessor()->dot(); + return GetAccessors()->getIndicatorAccessor()->dot(); } KOALA_INTEROP_DIRECT_0(Indicator_dot, Ark_NativePointer) Ark_NativePointer impl_Indicator_digit() { - return GetAccessors()->getIndicatorAccessor()->digit(); + return GetAccessors()->getIndicatorAccessor()->digit(); } KOALA_INTEROP_DIRECT_0(Indicator_digit, Ark_NativePointer) Ark_NativePointer impl_IndicatorComponentController_construct() { - return GetAccessors()->getIndicatorComponentControllerAccessor()->construct(); + return GetAccessors()->getIndicatorComponentControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(IndicatorComponentController_construct, Ark_NativePointer) Ark_NativePointer impl_IndicatorComponentController_getFinalizer() { - return GetAccessors()->getIndicatorComponentControllerAccessor()->getFinalizer(); + return GetAccessors()->getIndicatorComponentControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(IndicatorComponentController_getFinalizer, Ark_NativePointer) +void impl_IndicatorComponentController_callHolder(Ark_NativePointer thisPtr) { + Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); + GetAccessors()->getIndicatorComponentControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_callHolder, Ark_NativePointer) void impl_IndicatorComponentController_showNext(Ark_NativePointer thisPtr) { - Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); - GetAccessors()->getIndicatorComponentControllerAccessor()->showNext(self); + Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); + GetAccessors()->getIndicatorComponentControllerAccessor()->showNext(self); } KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_showNext, Ark_NativePointer) void impl_IndicatorComponentController_showPrevious(Ark_NativePointer thisPtr) { - Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); - GetAccessors()->getIndicatorComponentControllerAccessor()->showPrevious(self); + Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); + GetAccessors()->getIndicatorComponentControllerAccessor()->showPrevious(self); } KOALA_INTEROP_DIRECT_V1(IndicatorComponentController_showPrevious, Ark_NativePointer) void impl_IndicatorComponentController_changeIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto indexValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 indexValueTempTmpBuf = {}; - indexValueTempTmpBuf.tag = indexValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((indexValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - indexValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 indexValueTemp = indexValueTempTmpBuf;; - const auto useAnimationValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean useAnimationValueTempTmpBuf = {}; - useAnimationValueTempTmpBuf.tag = useAnimationValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((useAnimationValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - useAnimationValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean useAnimationValueTemp = useAnimationValueTempTmpBuf;; - GetAccessors()->getIndicatorComponentControllerAccessor()->changeIndex(self, static_cast(&indexValueTemp), static_cast(&useAnimationValueTemp)); + Ark_IndicatorComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto indexValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 indexValueTempTmpBuf = {}; + indexValueTempTmpBuf.tag = indexValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((indexValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + indexValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 indexValueTemp = indexValueTempTmpBuf;; + const auto useAnimationValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean useAnimationValueTempTmpBuf = {}; + useAnimationValueTempTmpBuf.tag = useAnimationValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((useAnimationValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + useAnimationValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean useAnimationValueTemp = useAnimationValueTempTmpBuf;; + GetAccessors()->getIndicatorComponentControllerAccessor()->changeIndex(self, static_cast(&indexValueTemp), static_cast(&useAnimationValueTemp)); } KOALA_INTEROP_DIRECT_V3(IndicatorComponentController_changeIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_IUIContext_freezeUINode0(const KStringPtr& id, Ark_Boolean isFrozen) { - GetAccessors()->getIUIContextAccessor()->freezeUINode0((const Ark_String*) (&id), isFrozen); + GetAccessors()->getIUIContextAccessor()->freezeUINode0((const Ark_String*) (&id), isFrozen); } KOALA_INTEROP_V2(IUIContext_freezeUINode0, KStringPtr, Ark_Boolean) void impl_IUIContext_freezeUINode1(KInteropNumber id, Ark_Boolean isFrozen) { - GetAccessors()->getIUIContextAccessor()->freezeUINode1((const Ark_Number*) (&id), isFrozen); + GetAccessors()->getIUIContextAccessor()->freezeUINode1((const Ark_Number*) (&id), isFrozen); } KOALA_INTEROP_V2(IUIContext_freezeUINode1, KInteropNumber, Ark_Boolean) Ark_NativePointer impl_KeyEvent_construct() { - return GetAccessors()->getKeyEventAccessor()->construct(); + return GetAccessors()->getKeyEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(KeyEvent_construct, Ark_NativePointer) Ark_NativePointer impl_KeyEvent_getFinalizer() { - return GetAccessors()->getKeyEventAccessor()->getFinalizer(); + return GetAccessors()->getKeyEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(KeyEvent_getFinalizer, Ark_NativePointer) +void impl_KeyEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(KeyEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_KeyEvent_getType(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getType(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getType(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getType, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setType(self, static_cast(type)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setType(self, static_cast(type)); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setType, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_KeyEvent_getKeyCode(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getKeyCode(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeyCode(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getKeyCode, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setKeyCode(Ark_NativePointer thisPtr, Ark_Int32 keyCode) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setKeyCode(self, keyCode); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeyCode(self, keyCode); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeyCode, Ark_NativePointer, Ark_Int32) Ark_String impl_KeyEvent_getKeyText(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getKeyText(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeyText(self); } KOALA_INTEROP_1(KeyEvent_getKeyText, KStringPtr, Ark_NativePointer) void impl_KeyEvent_setKeyText(Ark_NativePointer thisPtr, const KStringPtr& keyText) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setKeyText(self, (const Ark_String*) (&keyText)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeyText(self, (const Ark_String*) (&keyText)); } KOALA_INTEROP_V2(KeyEvent_setKeyText, Ark_NativePointer, KStringPtr) Ark_Int32 impl_KeyEvent_getKeySource(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getKeySource(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeySource(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getKeySource, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setKeySource(Ark_NativePointer thisPtr, Ark_Int32 keySource) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setKeySource(self, static_cast(keySource)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeySource(self, static_cast(keySource)); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeySource, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_KeyEvent_getDeviceId(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getDeviceId(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getDeviceId(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getDeviceId, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setDeviceId(Ark_NativePointer thisPtr, Ark_Int32 deviceId) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setDeviceId(self, deviceId); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setDeviceId(self, deviceId); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setDeviceId, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_KeyEvent_getMetaKey(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getMetaKey(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getMetaKey(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getMetaKey, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setMetaKey(Ark_NativePointer thisPtr, Ark_Int32 metaKey) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setMetaKey(self, metaKey); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setMetaKey(self, metaKey); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setMetaKey, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_KeyEvent_getTimestamp(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getTimestamp(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getTimestamp(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getTimestamp, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setTimestamp(self, timestamp); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setTimestamp(self, timestamp); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setTimestamp, Ark_NativePointer, KLong) KInteropReturnBuffer impl_KeyEvent_getStopPropagation(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getKeyEventAccessor()->getStopPropagation(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getKeyEventAccessor()->getStopPropagation(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(KeyEvent_getStopPropagation, KInteropReturnBuffer, Ark_NativePointer) void impl_KeyEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - synthetic_Callback_Void stopPropagationValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; - GetAccessors()->getKeyEventAccessor()->setStopPropagation(self, static_cast(&stopPropagationValueTemp)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + synthetic_Callback_Void stopPropagationValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; + GetAccessors()->getKeyEventAccessor()->setStopPropagation(self, static_cast(&stopPropagationValueTemp)); } KOALA_INTEROP_DIRECT_V3(KeyEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_KeyEvent_getIntentionCode(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getIntentionCode(self); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getIntentionCode(self); } KOALA_INTEROP_DIRECT_1(KeyEvent_getIntentionCode, Ark_Int32, Ark_NativePointer) void impl_KeyEvent_setIntentionCode(Ark_NativePointer thisPtr, Ark_Int32 intentionCode) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setIntentionCode(self, static_cast(intentionCode)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setIntentionCode(self, static_cast(intentionCode)); } KOALA_INTEROP_DIRECT_V2(KeyEvent_setIntentionCode, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_KeyEvent_getGetModifierKeyState(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getKeyEventAccessor()->getGetModifierKeyState(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getKeyEventAccessor()->getGetModifierKeyState(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(KeyEvent_getGetModifierKeyState, KInteropReturnBuffer, Ark_NativePointer) void impl_KeyEvent_setGetModifierKeyState(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto getModifierKeyStateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ModifierKeyStateGetter getModifierKeyStateValueTempTmpBuf = {}; - getModifierKeyStateValueTempTmpBuf.tag = getModifierKeyStateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((getModifierKeyStateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - getModifierKeyStateValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MODIFIERKEYSTATEGETTER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MODIFIERKEYSTATEGETTER))))}; - } - Opt_ModifierKeyStateGetter getModifierKeyStateValueTemp = getModifierKeyStateValueTempTmpBuf;; - GetAccessors()->getKeyEventAccessor()->setGetModifierKeyState(self, static_cast(&getModifierKeyStateValueTemp)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto getModifierKeyStateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ModifierKeyStateGetter getModifierKeyStateValueTempTmpBuf = {}; + getModifierKeyStateValueTempTmpBuf.tag = getModifierKeyStateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((getModifierKeyStateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + getModifierKeyStateValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_MODIFIERKEYSTATEGETTER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_MODIFIERKEYSTATEGETTER))))}; + } + Opt_ModifierKeyStateGetter getModifierKeyStateValueTemp = getModifierKeyStateValueTempTmpBuf;; + GetAccessors()->getKeyEventAccessor()->setGetModifierKeyState(self, static_cast(&getModifierKeyStateValueTemp)); } KOALA_INTEROP_DIRECT_V3(KeyEvent_setGetModifierKeyState, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_KeyEvent_getUnicode(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getKeyEventAccessor()->getUnicode(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getKeyEventAccessor()->getUnicode(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(KeyEvent_getUnicode, KInteropReturnBuffer, Ark_NativePointer) void impl_KeyEvent_setUnicode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto unicodeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int64 unicodeValueTempTmpBuf = {}; - unicodeValueTempTmpBuf.tag = unicodeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unicodeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unicodeValueTempTmpBuf.value = thisDeserializer.readInt64(); - } - Opt_Int64 unicodeValueTemp = unicodeValueTempTmpBuf;; - GetAccessors()->getKeyEventAccessor()->setUnicode(self, static_cast(&unicodeValueTemp)); + Ark_KeyEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto unicodeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int64 unicodeValueTempTmpBuf = {}; + unicodeValueTempTmpBuf.tag = unicodeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unicodeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unicodeValueTempTmpBuf.value = thisDeserializer.readInt64(); + } + Opt_Int64 unicodeValueTemp = unicodeValueTempTmpBuf;; + GetAccessors()->getKeyEventAccessor()->setUnicode(self, static_cast(&unicodeValueTemp)); } KOALA_INTEROP_DIRECT_V3(KeyEvent_setUnicode, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Layoutable_construct() { - return GetAccessors()->getLayoutableAccessor()->construct(); + return GetAccessors()->getLayoutableAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(Layoutable_construct, Ark_NativePointer) Ark_NativePointer impl_Layoutable_getFinalizer() { - return GetAccessors()->getLayoutableAccessor()->getFinalizer(); + return GetAccessors()->getLayoutableAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Layoutable_getFinalizer, Ark_NativePointer) +void impl_Layoutable_callHolder(Ark_NativePointer thisPtr) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutableAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(Layoutable_callHolder, Ark_NativePointer) void impl_Layoutable_layout(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; - GetAccessors()->getLayoutableAccessor()->layout(self, static_cast(&positionValueTemp)); + Ark_Layoutable self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; + GetAccessors()->getLayoutableAccessor()->layout(self, static_cast(&positionValueTemp)); } KOALA_INTEROP_DIRECT_V3(Layoutable_layout, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Layoutable_getMargin(Ark_NativePointer thisPtr) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutableAccessor()->getMargin(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getMargin(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Layoutable_getMargin, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_Layoutable_getPadding(Ark_NativePointer thisPtr) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutableAccessor()->getPadding(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getPadding(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Layoutable_getPadding, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_Layoutable_getBorderWidth(Ark_NativePointer thisPtr) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutableAccessor()->getBorderWidth(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getBorderWidth(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Layoutable_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_Layoutable_getMeasureResult(Ark_NativePointer thisPtr) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutableAccessor()->getMeasureResult(self); - SerializerBase _retSerializer {}; - ArkuiComponentCommonMeasureResultSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getMeasureResult(self); + SerializerBase _retSerializer {}; + ArkuiComponentCommonMeasureResultSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Layoutable_getMeasureResult, KInteropReturnBuffer, Ark_NativePointer) void impl_Layoutable_setMeasureResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_MeasureResult measureResultValueTemp = ArkuiComponentCommonMeasureResultSerializerImpl::read(thisDeserializer);; - GetAccessors()->getLayoutableAccessor()->setMeasureResult(self, static_cast(&measureResultValueTemp)); + Ark_Layoutable self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_MeasureResult measureResultValueTemp = ArkuiComponentCommonMeasureResultSerializerImpl::read(thisDeserializer);; + GetAccessors()->getLayoutableAccessor()->setMeasureResult(self, static_cast(&measureResultValueTemp)); } KOALA_INTEROP_DIRECT_V3(Layoutable_setMeasureResult, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Layoutable_getUniqueId(Ark_NativePointer thisPtr) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutableAccessor()->getUniqueId(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getUniqueId(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Layoutable_getUniqueId, KInteropReturnBuffer, Ark_NativePointer) void impl_Layoutable_setUniqueId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Layoutable self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto uniqueIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int64 uniqueIdValueTempTmpBuf = {}; - uniqueIdValueTempTmpBuf.tag = uniqueIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((uniqueIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - uniqueIdValueTempTmpBuf.value = thisDeserializer.readInt64(); - } - Opt_Int64 uniqueIdValueTemp = uniqueIdValueTempTmpBuf;; - GetAccessors()->getLayoutableAccessor()->setUniqueId(self, static_cast(&uniqueIdValueTemp)); + Ark_Layoutable self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto uniqueIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int64 uniqueIdValueTempTmpBuf = {}; + uniqueIdValueTempTmpBuf.tag = uniqueIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((uniqueIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + uniqueIdValueTempTmpBuf.value = thisDeserializer.readInt64(); + } + Opt_Int64 uniqueIdValueTemp = uniqueIdValueTempTmpBuf;; + GetAccessors()->getLayoutableAccessor()->setUniqueId(self, static_cast(&uniqueIdValueTemp)); } KOALA_INTEROP_DIRECT_V3(Layoutable_setUniqueId, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_LayoutChild_construct() { - return GetAccessors()->getLayoutChildAccessor()->construct(); + return GetAccessors()->getLayoutChildAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(LayoutChild_construct, Ark_NativePointer) Ark_NativePointer impl_LayoutChild_getFinalizer() { - return GetAccessors()->getLayoutChildAccessor()->getFinalizer(); + return GetAccessors()->getLayoutChildAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LayoutChild_getFinalizer, Ark_NativePointer) +void impl_LayoutChild_callHolder(Ark_NativePointer thisPtr) { + Ark_LayoutChild self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutChildAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LayoutChild_callHolder, Ark_NativePointer) void impl_LayoutChild_measure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ConstraintSizeOptions childConstraintValueTemp = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getLayoutChildAccessor()->measure(self, static_cast(&childConstraintValueTemp)); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ConstraintSizeOptions childConstraintValueTemp = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getLayoutChildAccessor()->measure(self, static_cast(&childConstraintValueTemp)); } KOALA_INTEROP_DIRECT_V3(LayoutChild_measure, Ark_NativePointer, KSerializerBuffer, KInt) Ark_String impl_LayoutChild_getName(Ark_NativePointer thisPtr) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - return GetAccessors()->getLayoutChildAccessor()->getName(self); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + return GetAccessors()->getLayoutChildAccessor()->getName(self); } KOALA_INTEROP_1(LayoutChild_getName, KStringPtr, Ark_NativePointer) void impl_LayoutChild_setName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - GetAccessors()->getLayoutChildAccessor()->setName(self, (const Ark_String*) (&name)); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutChildAccessor()->setName(self, (const Ark_String*) (&name)); } KOALA_INTEROP_V2(LayoutChild_setName, Ark_NativePointer, KStringPtr) Ark_String impl_LayoutChild_getId(Ark_NativePointer thisPtr) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - return GetAccessors()->getLayoutChildAccessor()->getId(self); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + return GetAccessors()->getLayoutChildAccessor()->getId(self); } KOALA_INTEROP_1(LayoutChild_getId, KStringPtr, Ark_NativePointer) void impl_LayoutChild_setId(Ark_NativePointer thisPtr, const KStringPtr& id) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - GetAccessors()->getLayoutChildAccessor()->setId(self, (const Ark_String*) (&id)); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutChildAccessor()->setId(self, (const Ark_String*) (&id)); } KOALA_INTEROP_V2(LayoutChild_setId, Ark_NativePointer, KStringPtr) KInteropReturnBuffer impl_LayoutChild_getPosition(Ark_NativePointer thisPtr) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutChildAccessor()->getPosition(self); - SerializerBase _retSerializer {}; - ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutChildAccessor()->getPosition(self); + SerializerBase _retSerializer {}; + ArkuiComponentUnitsPositionSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(LayoutChild_getPosition, KInteropReturnBuffer, Ark_NativePointer) void impl_LayoutChild_setPosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_LayoutChild self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; - GetAccessors()->getLayoutChildAccessor()->setPosition(self, static_cast(&positionValueTemp)); + Ark_LayoutChild self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Position positionValueTemp = ArkuiComponentUnitsPositionSerializerImpl::read(thisDeserializer);; + GetAccessors()->getLayoutChildAccessor()->setPosition(self, static_cast(&positionValueTemp)); } KOALA_INTEROP_DIRECT_V3(LayoutChild_setPosition, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_LayoutManager_construct() { - return GetAccessors()->getLayoutManagerAccessor()->construct(); + return GetAccessors()->getLayoutManagerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(LayoutManager_construct, Ark_NativePointer) Ark_NativePointer impl_LayoutManager_getFinalizer() { - return GetAccessors()->getLayoutManagerAccessor()->getFinalizer(); + return GetAccessors()->getLayoutManagerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LayoutManager_getFinalizer, Ark_NativePointer) +void impl_LayoutManager_callHolder(Ark_NativePointer thisPtr) { + Ark_LayoutManager self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutManagerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LayoutManager_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_LayoutManager_getLineCount(Ark_NativePointer thisPtr) { - Ark_LayoutManager self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getLineCount(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_LayoutManager self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getLineCount(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(LayoutManager_getLineCount, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_LayoutManager_getGlyphPositionAtCoordinate(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_LayoutManager self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getGlyphPositionAtCoordinate(self, x, y); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonPositionWithAffinitySerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_LayoutManager self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getGlyphPositionAtCoordinate(self, x, y); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonPositionWithAffinitySerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(LayoutManager_getGlyphPositionAtCoordinate, KInteropReturnBuffer, Ark_NativePointer, KDouble, KDouble) KInteropReturnBuffer impl_LayoutManager_getLineMetrics(Ark_NativePointer thisPtr, Ark_Int32 lineNumber) { - Ark_LayoutManager self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getLineMetrics(self, lineNumber); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - OhosGraphicsTextTextLineMetricsSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_LayoutManager self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getLineMetrics(self, lineNumber); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + OhosGraphicsTextTextLineMetricsSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(LayoutManager_getLineMetrics, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_LayoutManager_getRectsForRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 widthStyle, Ark_Int32 heightStyle) { - Ark_LayoutManager self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TextRange rangeValueTemp = ArkuiComponentTextCommonTextRangeSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getRectsForRange(self, static_cast(&rangeValueTemp), static_cast(widthStyle), static_cast(heightStyle)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_text_TextBox retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - OhosGraphicsTextTextTextBoxSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_LayoutManager self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TextRange rangeValueTemp = ArkuiComponentTextCommonTextRangeSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getLayoutManagerAccessor()->getRectsForRange(self, static_cast(&rangeValueTemp), static_cast(widthStyle), static_cast(heightStyle)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_text_TextBox retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + OhosGraphicsTextTextTextBoxSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_5(LayoutManager_getRectsForRange, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32, Ark_Int32) Ark_NativePointer impl_LayoutPolicy_construct() { - return GetAccessors()->getLayoutPolicyAccessor()->construct(); + return GetAccessors()->getLayoutPolicyAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(LayoutPolicy_construct, Ark_NativePointer) Ark_NativePointer impl_LayoutPolicy_getFinalizer() { - return GetAccessors()->getLayoutPolicyAccessor()->getFinalizer(); + return GetAccessors()->getLayoutPolicyAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LayoutPolicy_getFinalizer, Ark_NativePointer) +void impl_LayoutPolicy_callHolder(Ark_NativePointer thisPtr) { + Ark_LayoutPolicy self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutPolicyAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LayoutPolicy_callHolder, Ark_NativePointer) Ark_NativePointer impl_LayoutPolicy_getMatchParent() { - return GetAccessors()->getLayoutPolicyAccessor()->getMatchParent(); + return GetAccessors()->getLayoutPolicyAccessor()->getMatchParent(); } KOALA_INTEROP_DIRECT_0(LayoutPolicy_getMatchParent, Ark_NativePointer) void impl_LazyBuild_ApplyLazyBuilder() { - GetAccessors()->getLazyBuildAccessor()->ApplyLazyBuilder(); + GetAccessors()->getLazyBuildAccessor()->ApplyLazyBuilder(); } KOALA_INTEROP_DIRECT_V0(LazyBuild_ApplyLazyBuilder) void impl_LazyBuild_SetListItemLazyBuilder(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - CustomNodeBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))};; - GetAccessors()->getLazyBuildAccessor()->SetListItemLazyBuilder(node, static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + CustomNodeBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))};; + GetAccessors()->getLazyBuildAccessor()->SetListItemLazyBuilder(node, static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(LazyBuild_SetListItemLazyBuilder, Ark_NativePointer, KSerializerBuffer, KInt) void impl_LazyBuild_SetTabContentLazyBuilder(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - CustomNodeBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))};; - GetAccessors()->getLazyBuildAccessor()->SetTabContentLazyBuilder(node, static_cast(&builderValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + CustomNodeBuilder builderValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))};; + GetAccessors()->getLazyBuildAccessor()->SetTabContentLazyBuilder(node, static_cast(&builderValueTemp)); } KOALA_INTEROP_DIRECT_V3(LazyBuild_SetTabContentLazyBuilder, Ark_NativePointer, KSerializerBuffer, KInt) void impl_LazyForEachOps_NotifyChange(Ark_NativePointer node, Ark_Int32 startIndex, Ark_Int32 endIndex, Ark_Int32 count) { - GetAccessors()->getLazyForEachOpsAccessor()->NotifyChange(node, startIndex, endIndex, count); + GetAccessors()->getLazyForEachOpsAccessor()->NotifyChange(node, startIndex, endIndex, count); } KOALA_INTEROP_DIRECT_V4(LazyForEachOps_NotifyChange, Ark_NativePointer, Ark_Int32, Ark_Int32, Ark_Int32) void impl_LazyForEachOps_Sync(Ark_NativePointer node, Ark_Int32 totalCount, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_CreateItem creatorValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CREATEITEM)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CREATEITEM))))};; - Callback_RangeUpdate updaterValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RANGEUPDATE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RANGEUPDATE))))};; - GetAccessors()->getLazyForEachOpsAccessor()->Sync(node, totalCount, static_cast(&creatorValueTemp), static_cast(&updaterValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_CreateItem creatorValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CREATEITEM)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CREATEITEM))))};; + Callback_RangeUpdate updaterValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_RANGEUPDATE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_RANGEUPDATE))))};; + GetAccessors()->getLazyForEachOpsAccessor()->Sync(node, totalCount, static_cast(&creatorValueTemp), static_cast(&updaterValueTemp)); } KOALA_INTEROP_DIRECT_V4(LazyForEachOps_Sync, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) void impl_LazyForEachOps_SyncOnMoveOps(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_OnMoveFromTo onMoveFromToOpsValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONMOVEFROMTO)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONMOVEFROMTO))))};; - const auto onMoveOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnMoveHandler onMoveOpsValueTempTmpBuf = {}; - onMoveOpsValueTempTmpBuf.tag = onMoveOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onMoveOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onMoveOpsValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONMOVEHANDLER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONMOVEHANDLER))))}; - } - Opt_OnMoveHandler onMoveOpsValueTemp = onMoveOpsValueTempTmpBuf;; - const auto onMoveDragEventOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ItemDragEventHandler onMoveDragEventOpsValueTempTmpBuf = {}; - onMoveDragEventOpsValueTempTmpBuf.tag = onMoveDragEventOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onMoveDragEventOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onMoveDragEventOpsValueTempTmpBuf.value = ArkuiComponentCommonItemDragEventHandlerSerializerImpl::read(thisDeserializer); - } - Opt_ItemDragEventHandler onMoveDragEventOpsValueTemp = onMoveDragEventOpsValueTempTmpBuf;; - GetAccessors()->getLazyForEachOpsAccessor()->SyncOnMoveOps(node, static_cast(&onMoveFromToOpsValueTemp), static_cast(&onMoveOpsValueTemp), static_cast(&onMoveDragEventOpsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_OnMoveFromTo onMoveFromToOpsValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONMOVEFROMTO)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONMOVEFROMTO))))};; + const auto onMoveOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnMoveHandler onMoveOpsValueTempTmpBuf = {}; + onMoveOpsValueTempTmpBuf.tag = onMoveOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onMoveOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onMoveOpsValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONMOVEHANDLER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONMOVEHANDLER))))}; + } + Opt_OnMoveHandler onMoveOpsValueTemp = onMoveOpsValueTempTmpBuf;; + const auto onMoveDragEventOpsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ItemDragEventHandler onMoveDragEventOpsValueTempTmpBuf = {}; + onMoveDragEventOpsValueTempTmpBuf.tag = onMoveDragEventOpsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onMoveDragEventOpsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onMoveDragEventOpsValueTempTmpBuf.value = ArkuiComponentCommonItemDragEventHandlerSerializerImpl::read(thisDeserializer); + } + Opt_ItemDragEventHandler onMoveDragEventOpsValueTemp = onMoveDragEventOpsValueTempTmpBuf;; + GetAccessors()->getLazyForEachOpsAccessor()->SyncOnMoveOps(node, static_cast(&onMoveFromToOpsValueTemp), static_cast(&onMoveOpsValueTemp), static_cast(&onMoveDragEventOpsValueTemp)); } KOALA_INTEROP_DIRECT_V3(LazyForEachOps_SyncOnMoveOps, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_LetterSpacingStyle_construct(Ark_NativePointer value) { - return GetAccessors()->getLetterSpacingStyleAccessor()->construct(static_cast(value)); + return GetAccessors()->getLetterSpacingStyleAccessor()->construct(static_cast(value)); } KOALA_INTEROP_DIRECT_1(LetterSpacingStyle_construct, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_LetterSpacingStyle_getFinalizer() { - return GetAccessors()->getLetterSpacingStyleAccessor()->getFinalizer(); + return GetAccessors()->getLetterSpacingStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LetterSpacingStyle_getFinalizer, Ark_NativePointer) +void impl_LetterSpacingStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_LetterSpacingStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getLetterSpacingStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LetterSpacingStyle_callHolder, Ark_NativePointer) Ark_Int32 impl_LetterSpacingStyle_getLetterSpacing(Ark_NativePointer thisPtr) { - Ark_LetterSpacingStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getLetterSpacingStyleAccessor()->getLetterSpacing(self); + Ark_LetterSpacingStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getLetterSpacingStyleAccessor()->getLetterSpacing(self); } KOALA_INTEROP_1(LetterSpacingStyle_getLetterSpacing, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_LinearGradient_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 colorStopsValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_ColorStop colorStopsValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 colorStopsValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_ColorStop colorStopsValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&colorStopsValueTempTmpBuf, colorStopsValueTempTmpBufLength); - for (int colorStopsValueTempTmpBufBufCounterI = 0; colorStopsValueTempTmpBufBufCounterI < colorStopsValueTempTmpBufLength; colorStopsValueTempTmpBufBufCounterI++) { - colorStopsValueTempTmpBuf.array[colorStopsValueTempTmpBufBufCounterI] = ArkuiComponentDataPanelColorStopSerializerImpl::read(thisDeserializer); - } - Array_ColorStop colorStopsValueTemp = colorStopsValueTempTmpBuf;; - return GetAccessors()->getLinearGradientAccessor()->construct(static_cast(&colorStopsValueTemp)); + for (int colorStopsValueTempTmpBufBufCounterI = 0; colorStopsValueTempTmpBufBufCounterI < colorStopsValueTempTmpBufLength; colorStopsValueTempTmpBufBufCounterI++) { + colorStopsValueTempTmpBuf.array[colorStopsValueTempTmpBufBufCounterI] = ArkuiComponentDataPanelColorStopSerializerImpl::read(thisDeserializer); + } + Array_ColorStop colorStopsValueTemp = colorStopsValueTempTmpBuf;; + return GetAccessors()->getLinearGradientAccessor()->construct(static_cast(&colorStopsValueTemp)); } KOALA_INTEROP_DIRECT_2(LinearGradient_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_LinearGradient_getFinalizer() { - return GetAccessors()->getLinearGradientAccessor()->getFinalizer(); + return GetAccessors()->getLinearGradientAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LinearGradient_getFinalizer, Ark_NativePointer) +void impl_LinearGradient_callHolder(Ark_NativePointer thisPtr) { + Ark_LinearGradient self = reinterpret_cast(thisPtr); + GetAccessors()->getLinearGradientAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LinearGradient_callHolder, Ark_NativePointer) Ark_NativePointer impl_LineHeightStyle_construct(Ark_NativePointer lineHeight) { - return GetAccessors()->getLineHeightStyleAccessor()->construct(static_cast(lineHeight)); + return GetAccessors()->getLineHeightStyleAccessor()->construct(static_cast(lineHeight)); } KOALA_INTEROP_DIRECT_1(LineHeightStyle_construct, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_LineHeightStyle_getFinalizer() { - return GetAccessors()->getLineHeightStyleAccessor()->getFinalizer(); + return GetAccessors()->getLineHeightStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LineHeightStyle_getFinalizer, Ark_NativePointer) +void impl_LineHeightStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_LineHeightStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getLineHeightStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LineHeightStyle_callHolder, Ark_NativePointer) Ark_Int32 impl_LineHeightStyle_getLineHeight(Ark_NativePointer thisPtr) { - Ark_LineHeightStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getLineHeightStyleAccessor()->getLineHeight(self); + Ark_LineHeightStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getLineHeightStyleAccessor()->getLineHeight(self); } KOALA_INTEROP_1(LineHeightStyle_getLineHeight, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_ListScroller_construct() { - return GetAccessors()->getListScrollerAccessor()->construct(); + return GetAccessors()->getListScrollerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(ListScroller_construct, Ark_NativePointer) Ark_NativePointer impl_ListScroller_getFinalizer() { - return GetAccessors()->getListScrollerAccessor()->getFinalizer(); + return GetAccessors()->getListScrollerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ListScroller_getFinalizer, Ark_NativePointer) +void impl_ListScroller_callHolder(Ark_NativePointer thisPtr) { + Ark_ListScroller self = reinterpret_cast(thisPtr); + GetAccessors()->getListScrollerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ListScroller_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ListScroller_getItemRectInGroup(Ark_NativePointer thisPtr, Ark_Int32 index, Ark_Int32 indexInGroup) { - Ark_ListScroller self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getListScrollerAccessor()->getItemRectInGroup(self, index, indexInGroup); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueValue); - } - } - return _retSerializer.toReturnBuffer(); + Ark_ListScroller self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getListScrollerAccessor()->getItemRectInGroup(self, index, indexInGroup); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueValue); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(ListScroller_getItemRectInGroup, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32) KInteropReturnBuffer impl_ListScroller_scrollToItemInGroup(Ark_NativePointer thisPtr, Ark_Int32 index, Ark_Int32 indexInGroup, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ListScroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto smoothValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean smoothValueTempTmpBuf = {}; - smoothValueTempTmpBuf.tag = smoothValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((smoothValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - smoothValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean smoothValueTemp = smoothValueTempTmpBuf;; - const auto alignValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollAlign alignValueTempTmpBuf = {}; - alignValueTempTmpBuf.tag = alignValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((alignValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - alignValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ScrollAlign alignValueTemp = alignValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getListScrollerAccessor()->scrollToItemInGroup(self, index, indexInGroup, static_cast(&smoothValueTemp), static_cast(&alignValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_ListScroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto smoothValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean smoothValueTempTmpBuf = {}; + smoothValueTempTmpBuf.tag = smoothValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((smoothValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + smoothValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean smoothValueTemp = smoothValueTempTmpBuf;; + const auto alignValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollAlign alignValueTempTmpBuf = {}; + alignValueTempTmpBuf.tag = alignValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((alignValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + alignValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ScrollAlign alignValueTemp = alignValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getListScrollerAccessor()->scrollToItemInGroup(self, index, indexInGroup, static_cast(&smoothValueTemp), static_cast(&alignValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_5(ListScroller_scrollToItemInGroup, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) KInteropReturnBuffer impl_ListScroller_closeAllSwipeActions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ListScroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_CloseSwipeActionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentListCloseSwipeActionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_CloseSwipeActionOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getListScrollerAccessor()->closeAllSwipeActions(self, static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_ListScroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_CloseSwipeActionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentListCloseSwipeActionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_CloseSwipeActionOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getListScrollerAccessor()->closeAllSwipeActions(self, static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(ListScroller_closeAllSwipeActions, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_ListScroller_getVisibleListContentInfo(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_ListScroller self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getListScrollerAccessor()->getVisibleListContentInfo(self, x, y); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - ArkuiComponentListVisibleListContentInfoSerializerImpl::write(_retSerializer, retValueValue); - } - } - return _retSerializer.toReturnBuffer(); + Ark_ListScroller self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getListScrollerAccessor()->getVisibleListContentInfo(self, x, y); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + ArkuiComponentListVisibleListContentInfoSerializerImpl::write(_retSerializer, retValueValue); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(ListScroller_getVisibleListContentInfo, KInteropReturnBuffer, Ark_NativePointer, KDouble, KDouble) Ark_NativePointer impl_LongPressGestureEvent_construct() { - return GetAccessors()->getLongPressGestureEventAccessor()->construct(); + return GetAccessors()->getLongPressGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(LongPressGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_LongPressGestureEvent_getFinalizer() { - return GetAccessors()->getLongPressGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getLongPressGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LongPressGestureEvent_getFinalizer, Ark_NativePointer) +void impl_LongPressGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_LongPressGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getLongPressGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LongPressGestureEvent_callHolder, Ark_NativePointer) Ark_Boolean impl_LongPressGestureEvent_getRepeat(Ark_NativePointer thisPtr) { - Ark_LongPressGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getLongPressGestureEventAccessor()->getRepeat(self); + Ark_LongPressGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getLongPressGestureEventAccessor()->getRepeat(self); } KOALA_INTEROP_DIRECT_1(LongPressGestureEvent_getRepeat, Ark_Boolean, Ark_NativePointer) void impl_LongPressGestureEvent_setRepeat(Ark_NativePointer thisPtr, Ark_Boolean repeat) { - Ark_LongPressGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getLongPressGestureEventAccessor()->setRepeat(self, repeat); + Ark_LongPressGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getLongPressGestureEventAccessor()->setRepeat(self, repeat); } KOALA_INTEROP_V2(LongPressGestureEvent_setRepeat, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_LongPressRecognizer_construct() { - return GetAccessors()->getLongPressRecognizerAccessor()->construct(); + return GetAccessors()->getLongPressRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(LongPressRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_LongPressRecognizer_getFinalizer() { - return GetAccessors()->getLongPressRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getLongPressRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(LongPressRecognizer_getFinalizer, Ark_NativePointer) +void impl_LongPressRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getLongPressRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(LongPressRecognizer_callHolder, Ark_NativePointer) Ark_Boolean impl_LongPressRecognizer_isRepeat(Ark_NativePointer thisPtr) { - Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getLongPressRecognizerAccessor()->isRepeat(self); + Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getLongPressRecognizerAccessor()->isRepeat(self); } KOALA_INTEROP_DIRECT_1(LongPressRecognizer_isRepeat, Ark_Boolean, Ark_NativePointer) Ark_Int32 impl_LongPressRecognizer_getDuration(Ark_NativePointer thisPtr) { - Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getLongPressRecognizerAccessor()->getDuration(self); + Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getLongPressRecognizerAccessor()->getDuration(self); } KOALA_INTEROP_DIRECT_1(LongPressRecognizer_getDuration, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_Matrix2D_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; - unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; - return GetAccessors()->getMatrix2DAccessor()->construct(static_cast(&unitValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; + unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; + return GetAccessors()->getMatrix2DAccessor()->construct(static_cast(&unitValueTemp)); } KOALA_INTEROP_DIRECT_2(Matrix2D_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Matrix2D_getFinalizer() { - return GetAccessors()->getMatrix2DAccessor()->getFinalizer(); + return GetAccessors()->getMatrix2DAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Matrix2D_getFinalizer, Ark_NativePointer) +void impl_Matrix2D_callHolder(Ark_NativePointer thisPtr) { + Ark_Matrix2D self = reinterpret_cast(thisPtr); + GetAccessors()->getMatrix2DAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(Matrix2D_callHolder, Ark_NativePointer) Ark_NativePointer impl_Matrix2D_identity(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - return GetAccessors()->getMatrix2DAccessor()->identity(self); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + return GetAccessors()->getMatrix2DAccessor()->identity(self); } KOALA_INTEROP_DIRECT_1(Matrix2D_identity, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_Matrix2D_invert(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - return GetAccessors()->getMatrix2DAccessor()->invert(self); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + return GetAccessors()->getMatrix2DAccessor()->invert(self); } KOALA_INTEROP_DIRECT_1(Matrix2D_invert, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_Matrix2D_rotate(Ark_NativePointer thisPtr, KDouble degree, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rxValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 rxValueTempTmpBuf = {}; - rxValueTempTmpBuf.tag = rxValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rxValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rxValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 rxValueTemp = rxValueTempTmpBuf;; - const auto ryValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 ryValueTempTmpBuf = {}; - ryValueTempTmpBuf.tag = ryValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((ryValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - ryValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 ryValueTemp = ryValueTempTmpBuf;; - return GetAccessors()->getMatrix2DAccessor()->rotate(self, degree, static_cast(&rxValueTemp), static_cast(&ryValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rxValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 rxValueTempTmpBuf = {}; + rxValueTempTmpBuf.tag = rxValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rxValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rxValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 rxValueTemp = rxValueTempTmpBuf;; + const auto ryValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 ryValueTempTmpBuf = {}; + ryValueTempTmpBuf.tag = ryValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((ryValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + ryValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 ryValueTemp = ryValueTempTmpBuf;; + return GetAccessors()->getMatrix2DAccessor()->rotate(self, degree, static_cast(&rxValueTemp), static_cast(&ryValueTemp)); } KOALA_INTEROP_4(Matrix2D_rotate, Ark_NativePointer, Ark_NativePointer, KDouble, KSerializerBuffer, KInt) Ark_NativePointer impl_Matrix2D_translate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto txValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 txValueTempTmpBuf = {}; - txValueTempTmpBuf.tag = txValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((txValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - txValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 txValueTemp = txValueTempTmpBuf;; - const auto tyValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 tyValueTempTmpBuf = {}; - tyValueTempTmpBuf.tag = tyValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((tyValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - tyValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 tyValueTemp = tyValueTempTmpBuf;; - return GetAccessors()->getMatrix2DAccessor()->translate(self, static_cast(&txValueTemp), static_cast(&tyValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto txValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 txValueTempTmpBuf = {}; + txValueTempTmpBuf.tag = txValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((txValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + txValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 txValueTemp = txValueTempTmpBuf;; + const auto tyValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 tyValueTempTmpBuf = {}; + tyValueTempTmpBuf.tag = tyValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((tyValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + tyValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 tyValueTemp = tyValueTempTmpBuf;; + return GetAccessors()->getMatrix2DAccessor()->translate(self, static_cast(&txValueTemp), static_cast(&tyValueTemp)); } KOALA_INTEROP_DIRECT_3(Matrix2D_translate, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Matrix2D_scale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto sxValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 sxValueTempTmpBuf = {}; - sxValueTempTmpBuf.tag = sxValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sxValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - sxValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 sxValueTemp = sxValueTempTmpBuf;; - const auto syValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 syValueTempTmpBuf = {}; - syValueTempTmpBuf.tag = syValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((syValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - syValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 syValueTemp = syValueTempTmpBuf;; - return GetAccessors()->getMatrix2DAccessor()->scale(self, static_cast(&sxValueTemp), static_cast(&syValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto sxValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 sxValueTempTmpBuf = {}; + sxValueTempTmpBuf.tag = sxValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sxValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + sxValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 sxValueTemp = sxValueTempTmpBuf;; + const auto syValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 syValueTempTmpBuf = {}; + syValueTempTmpBuf.tag = syValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((syValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + syValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 syValueTemp = syValueTempTmpBuf;; + return GetAccessors()->getMatrix2DAccessor()->scale(self, static_cast(&sxValueTemp), static_cast(&syValueTemp)); } KOALA_INTEROP_DIRECT_3(Matrix2D_scale, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Matrix2D_getScaleX(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Matrix2D_getScaleX, KInteropReturnBuffer, Ark_NativePointer) void impl_Matrix2D_setScaleX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scaleXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 scaleXValueTempTmpBuf = {}; - scaleXValueTempTmpBuf.tag = scaleXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scaleXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scaleXValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 scaleXValueTemp = scaleXValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setScaleX(self, static_cast(&scaleXValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scaleXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 scaleXValueTempTmpBuf = {}; + scaleXValueTempTmpBuf.tag = scaleXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scaleXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scaleXValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 scaleXValueTemp = scaleXValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setScaleX(self, static_cast(&scaleXValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setScaleX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Matrix2D_getScaleY(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getScaleY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Matrix2D_getScaleY, KInteropReturnBuffer, Ark_NativePointer) void impl_Matrix2D_setScaleY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scaleYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 scaleYValueTempTmpBuf = {}; - scaleYValueTempTmpBuf.tag = scaleYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scaleYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scaleYValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 scaleYValueTemp = scaleYValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setScaleY(self, static_cast(&scaleYValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scaleYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 scaleYValueTempTmpBuf = {}; + scaleYValueTempTmpBuf.tag = scaleYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scaleYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scaleYValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 scaleYValueTemp = scaleYValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setScaleY(self, static_cast(&scaleYValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setScaleY, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Matrix2D_getRotateX(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Matrix2D_getRotateX, KInteropReturnBuffer, Ark_NativePointer) void impl_Matrix2D_setRotateX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rotateXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 rotateXValueTempTmpBuf = {}; - rotateXValueTempTmpBuf.tag = rotateXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rotateXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rotateXValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 rotateXValueTemp = rotateXValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setRotateX(self, static_cast(&rotateXValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rotateXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 rotateXValueTempTmpBuf = {}; + rotateXValueTempTmpBuf.tag = rotateXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rotateXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rotateXValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 rotateXValueTemp = rotateXValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setRotateX(self, static_cast(&rotateXValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setRotateX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Matrix2D_getRotateY(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getRotateY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Matrix2D_getRotateY, KInteropReturnBuffer, Ark_NativePointer) void impl_Matrix2D_setRotateY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rotateYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 rotateYValueTempTmpBuf = {}; - rotateYValueTempTmpBuf.tag = rotateYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rotateYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rotateYValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 rotateYValueTemp = rotateYValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setRotateY(self, static_cast(&rotateYValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rotateYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 rotateYValueTempTmpBuf = {}; + rotateYValueTempTmpBuf.tag = rotateYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rotateYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rotateYValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 rotateYValueTemp = rotateYValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setRotateY(self, static_cast(&rotateYValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setRotateY, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Matrix2D_getTranslateX(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Matrix2D_getTranslateX, KInteropReturnBuffer, Ark_NativePointer) void impl_Matrix2D_setTranslateX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto translateXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 translateXValueTempTmpBuf = {}; - translateXValueTempTmpBuf.tag = translateXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((translateXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - translateXValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 translateXValueTemp = translateXValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setTranslateX(self, static_cast(&translateXValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto translateXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 translateXValueTempTmpBuf = {}; + translateXValueTempTmpBuf.tag = translateXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((translateXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + translateXValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 translateXValueTemp = translateXValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setTranslateX(self, static_cast(&translateXValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setTranslateX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Matrix2D_getTranslateY(Ark_NativePointer thisPtr) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMatrix2DAccessor()->getTranslateY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Matrix2D_getTranslateY, KInteropReturnBuffer, Ark_NativePointer) void impl_Matrix2D_setTranslateY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Matrix2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto translateYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 translateYValueTempTmpBuf = {}; - translateYValueTempTmpBuf.tag = translateYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((translateYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - translateYValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 translateYValueTemp = translateYValueTempTmpBuf;; - GetAccessors()->getMatrix2DAccessor()->setTranslateY(self, static_cast(&translateYValueTemp)); + Ark_Matrix2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto translateYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 translateYValueTempTmpBuf = {}; + translateYValueTempTmpBuf.tag = translateYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((translateYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + translateYValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 translateYValueTemp = translateYValueTempTmpBuf;; + GetAccessors()->getMatrix2DAccessor()->setTranslateY(self, static_cast(&translateYValueTemp)); } KOALA_INTEROP_DIRECT_V3(Matrix2D_setTranslateY, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_Measurable_construct() { - return GetAccessors()->getMeasurableAccessor()->construct(); + return GetAccessors()->getMeasurableAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(Measurable_construct, Ark_NativePointer) Ark_NativePointer impl_Measurable_getFinalizer() { - return GetAccessors()->getMeasurableAccessor()->getFinalizer(); + return GetAccessors()->getMeasurableAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Measurable_getFinalizer, Ark_NativePointer) +void impl_Measurable_callHolder(Ark_NativePointer thisPtr) { + Ark_Measurable self = reinterpret_cast(thisPtr); + GetAccessors()->getMeasurableAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(Measurable_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_Measurable_measure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Measurable self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ConstraintSizeOptions constraintValueTemp = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getMeasurableAccessor()->measure(self, static_cast(&constraintValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentCommonMeasureResultSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Measurable self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ConstraintSizeOptions constraintValueTemp = ArkuiComponentUnitsConstraintSizeOptionsSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getMeasurableAccessor()->measure(self, static_cast(&constraintValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCommonMeasureResultSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(Measurable_measure, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Measurable_getMargin(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getMargin(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getMargin(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Measurable_getMargin, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_Measurable_getPadding(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getPadding(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getPadding(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Measurable_getPadding, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_Measurable_getBorderWidth(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getBorderWidth(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getBorderWidth(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentUnitsDirectionalEdgesT_F64SerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Measurable_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_Measurable_getUniqueId(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getUniqueId(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getUniqueId(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Measurable_getUniqueId, KInteropReturnBuffer, Ark_NativePointer) void impl_Measurable_setUniqueId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Measurable self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto uniqueIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int64 uniqueIdValueTempTmpBuf = {}; - uniqueIdValueTempTmpBuf.tag = uniqueIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((uniqueIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - uniqueIdValueTempTmpBuf.value = thisDeserializer.readInt64(); - } - Opt_Int64 uniqueIdValueTemp = uniqueIdValueTempTmpBuf;; - GetAccessors()->getMeasurableAccessor()->setUniqueId(self, static_cast(&uniqueIdValueTemp)); + Ark_Measurable self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto uniqueIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int64 uniqueIdValueTempTmpBuf = {}; + uniqueIdValueTempTmpBuf.tag = uniqueIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((uniqueIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + uniqueIdValueTempTmpBuf.value = thisDeserializer.readInt64(); + } + Opt_Int64 uniqueIdValueTemp = uniqueIdValueTempTmpBuf;; + GetAccessors()->getMeasurableAccessor()->setUniqueId(self, static_cast(&uniqueIdValueTemp)); } KOALA_INTEROP_DIRECT_V3(Measurable_setUniqueId, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_MouseEvent_construct() { - return GetAccessors()->getMouseEventAccessor()->construct(); + return GetAccessors()->getMouseEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(MouseEvent_construct, Ark_NativePointer) Ark_NativePointer impl_MouseEvent_getFinalizer() { - return GetAccessors()->getMouseEventAccessor()->getFinalizer(); + return GetAccessors()->getMouseEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(MouseEvent_getFinalizer, Ark_NativePointer) +void impl_MouseEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(MouseEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_MouseEvent_getButton(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getButton(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getButton(self); } KOALA_INTEROP_DIRECT_1(MouseEvent_getButton, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setButton(Ark_NativePointer thisPtr, Ark_Int32 button) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setButton(self, static_cast(button)); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setButton(self, static_cast(button)); } KOALA_INTEROP_DIRECT_V2(MouseEvent_setButton, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_MouseEvent_getAction(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getAction(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getAction(self); } KOALA_INTEROP_DIRECT_1(MouseEvent_getAction, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setAction(self, static_cast(action)); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setAction(self, static_cast(action)); } KOALA_INTEROP_DIRECT_V2(MouseEvent_setAction, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_MouseEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getDisplayX(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getDisplayX(self); } KOALA_INTEROP_1(MouseEvent_getDisplayX, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setDisplayX(Ark_NativePointer thisPtr, KDouble displayX) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setDisplayX(self, displayX); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setDisplayX(self, displayX); } KOALA_INTEROP_V2(MouseEvent_setDisplayX, Ark_NativePointer, KDouble) Ark_Int32 impl_MouseEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getDisplayY(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getDisplayY(self); } KOALA_INTEROP_1(MouseEvent_getDisplayY, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setDisplayY(Ark_NativePointer thisPtr, KDouble displayY) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setDisplayY(self, displayY); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setDisplayY(self, displayY); } KOALA_INTEROP_V2(MouseEvent_setDisplayY, Ark_NativePointer, KDouble) Ark_Int32 impl_MouseEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getWindowX(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getWindowX(self); } KOALA_INTEROP_1(MouseEvent_getWindowX, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setWindowX(Ark_NativePointer thisPtr, KDouble windowX) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setWindowX(self, windowX); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setWindowX(self, windowX); } KOALA_INTEROP_V2(MouseEvent_setWindowX, Ark_NativePointer, KDouble) Ark_Int32 impl_MouseEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getWindowY(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getWindowY(self); } KOALA_INTEROP_1(MouseEvent_getWindowY, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setWindowY(Ark_NativePointer thisPtr, KDouble windowY) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setWindowY(self, windowY); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setWindowY(self, windowY); } KOALA_INTEROP_V2(MouseEvent_setWindowY, Ark_NativePointer, KDouble) Ark_Int32 impl_MouseEvent_getX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getX(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getX(self); } KOALA_INTEROP_1(MouseEvent_getX, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setX(Ark_NativePointer thisPtr, KDouble x) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setX(self, x); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setX(self, x); } KOALA_INTEROP_V2(MouseEvent_setX, Ark_NativePointer, KDouble) Ark_Int32 impl_MouseEvent_getY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getY(self); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getY(self); } KOALA_INTEROP_1(MouseEvent_getY, Ark_Int32, Ark_NativePointer) void impl_MouseEvent_setY(Ark_NativePointer thisPtr, KDouble y) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setY(self, y); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setY(self, y); } KOALA_INTEROP_V2(MouseEvent_setY, Ark_NativePointer, KDouble) KInteropReturnBuffer impl_MouseEvent_getStopPropagation(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMouseEventAccessor()->getStopPropagation(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getStopPropagation(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(MouseEvent_getStopPropagation, KInteropReturnBuffer, Ark_NativePointer) void impl_MouseEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - synthetic_Callback_Void stopPropagationValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; - GetAccessors()->getMouseEventAccessor()->setStopPropagation(self, static_cast(&stopPropagationValueTemp)); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + synthetic_Callback_Void stopPropagationValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; + GetAccessors()->getMouseEventAccessor()->setStopPropagation(self, static_cast(&stopPropagationValueTemp)); } KOALA_INTEROP_DIRECT_V3(MouseEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_MouseEvent_getRawDeltaX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaX(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaX(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(MouseEvent_getRawDeltaX, KInteropReturnBuffer, Ark_NativePointer) void impl_MouseEvent_setRawDeltaX(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rawDeltaXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 rawDeltaXValueTempTmpBuf = {}; - rawDeltaXValueTempTmpBuf.tag = rawDeltaXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rawDeltaXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rawDeltaXValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 rawDeltaXValueTemp = rawDeltaXValueTempTmpBuf;; - GetAccessors()->getMouseEventAccessor()->setRawDeltaX(self, static_cast(&rawDeltaXValueTemp)); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rawDeltaXValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 rawDeltaXValueTempTmpBuf = {}; + rawDeltaXValueTempTmpBuf.tag = rawDeltaXValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rawDeltaXValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rawDeltaXValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 rawDeltaXValueTemp = rawDeltaXValueTempTmpBuf;; + GetAccessors()->getMouseEventAccessor()->setRawDeltaX(self, static_cast(&rawDeltaXValueTemp)); } KOALA_INTEROP_DIRECT_V3(MouseEvent_setRawDeltaX, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_MouseEvent_getRawDeltaY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaY(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaY(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(MouseEvent_getRawDeltaY, KInteropReturnBuffer, Ark_NativePointer) void impl_MouseEvent_setRawDeltaY(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rawDeltaYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 rawDeltaYValueTempTmpBuf = {}; - rawDeltaYValueTempTmpBuf.tag = rawDeltaYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rawDeltaYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rawDeltaYValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 rawDeltaYValueTemp = rawDeltaYValueTempTmpBuf;; - GetAccessors()->getMouseEventAccessor()->setRawDeltaY(self, static_cast(&rawDeltaYValueTemp)); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rawDeltaYValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 rawDeltaYValueTempTmpBuf = {}; + rawDeltaYValueTempTmpBuf.tag = rawDeltaYValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rawDeltaYValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rawDeltaYValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 rawDeltaYValueTemp = rawDeltaYValueTempTmpBuf;; + GetAccessors()->getMouseEventAccessor()->setRawDeltaY(self, static_cast(&rawDeltaYValueTemp)); } KOALA_INTEROP_DIRECT_V3(MouseEvent_setRawDeltaY, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_MouseEvent_getPressedButtons(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMouseEventAccessor()->getPressedButtons(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_MouseButton retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - _retSerializer.writeInt32(static_cast(retValueTmpValueTmpElement)); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getPressedButtons(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_MouseButton retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + _retSerializer.writeInt32(static_cast(retValueTmpValueTmpElement)); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(MouseEvent_getPressedButtons, KInteropReturnBuffer, Ark_NativePointer) void impl_MouseEvent_setPressedButtons(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto pressedButtonsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_MouseButton pressedButtonsValueTempTmpBuf = {}; - pressedButtonsValueTempTmpBuf.tag = pressedButtonsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((pressedButtonsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 pressedButtonsValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_MouseButton pressedButtonsValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_MouseEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto pressedButtonsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_MouseButton pressedButtonsValueTempTmpBuf = {}; + pressedButtonsValueTempTmpBuf.tag = pressedButtonsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((pressedButtonsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 pressedButtonsValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_MouseButton pressedButtonsValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&pressedButtonsValueTempTmpBufOpt, pressedButtonsValueTempTmpBufOptLength); - for (int pressedButtonsValueTempTmpBufOptBufCounterI = 0; pressedButtonsValueTempTmpBufOptBufCounterI < pressedButtonsValueTempTmpBufOptLength; pressedButtonsValueTempTmpBufOptBufCounterI++) { - pressedButtonsValueTempTmpBufOpt.array[pressedButtonsValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); - } - pressedButtonsValueTempTmpBuf.value = pressedButtonsValueTempTmpBufOpt; + for (int pressedButtonsValueTempTmpBufOptBufCounterI = 0; pressedButtonsValueTempTmpBufOptBufCounterI < pressedButtonsValueTempTmpBufOptLength; pressedButtonsValueTempTmpBufOptBufCounterI++) { + pressedButtonsValueTempTmpBufOpt.array[pressedButtonsValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readInt32()); } - Opt_Array_MouseButton pressedButtonsValueTemp = pressedButtonsValueTempTmpBuf;; - GetAccessors()->getMouseEventAccessor()->setPressedButtons(self, static_cast(&pressedButtonsValueTemp)); + pressedButtonsValueTempTmpBuf.value = pressedButtonsValueTempTmpBufOpt; + } + Opt_Array_MouseButton pressedButtonsValueTemp = pressedButtonsValueTempTmpBuf;; + GetAccessors()->getMouseEventAccessor()->setPressedButtons(self, static_cast(&pressedButtonsValueTemp)); } KOALA_INTEROP_DIRECT_V3(MouseEvent_setPressedButtons, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_MutableStyledString_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_ImageAttachment_CustomSpan valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = static_cast(ArkuiComponentStyledStringImageAttachmentSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufUnionSelector == 2) { - valueValueTempTmpBuf.selector = 2; - valueValueTempTmpBuf.value2 = static_cast(ArkuiComponentStyledStringCustomSpanSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_ImageAttachment_CustomSpan valueValueTemp = static_cast(valueValueTempTmpBuf);; - const auto stylesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_StyleOptions stylesValueTempTmpBuf = {}; - stylesValueTempTmpBuf.tag = stylesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((stylesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 stylesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_StyleOptions stylesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_ImageAttachment_CustomSpan valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = static_cast(ArkuiComponentStyledStringImageAttachmentSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufUnionSelector == 2) { + valueValueTempTmpBuf.selector = 2; + valueValueTempTmpBuf.value2 = static_cast(ArkuiComponentStyledStringCustomSpanSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_ImageAttachment_CustomSpan valueValueTemp = static_cast(valueValueTempTmpBuf);; + const auto stylesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_StyleOptions stylesValueTempTmpBuf = {}; + stylesValueTempTmpBuf.tag = stylesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((stylesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 stylesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_StyleOptions stylesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&stylesValueTempTmpBufOpt, stylesValueTempTmpBufOptLength); - for (int stylesValueTempTmpBufOptBufCounterI = 0; stylesValueTempTmpBufOptBufCounterI < stylesValueTempTmpBufOptLength; stylesValueTempTmpBufOptBufCounterI++) { - stylesValueTempTmpBufOpt.array[stylesValueTempTmpBufOptBufCounterI] = ArkuiComponentStyledStringStyleOptionsSerializerImpl::read(thisDeserializer); - } - stylesValueTempTmpBuf.value = stylesValueTempTmpBufOpt; + for (int stylesValueTempTmpBufOptBufCounterI = 0; stylesValueTempTmpBufOptBufCounterI < stylesValueTempTmpBufOptLength; stylesValueTempTmpBufOptBufCounterI++) { + stylesValueTempTmpBufOpt.array[stylesValueTempTmpBufOptBufCounterI] = ArkuiComponentStyledStringStyleOptionsSerializerImpl::read(thisDeserializer); } - Opt_Array_StyleOptions stylesValueTemp = stylesValueTempTmpBuf;; - return GetAccessors()->getMutableStyledStringAccessor()->construct(static_cast(&valueValueTemp), static_cast(&stylesValueTemp)); + stylesValueTempTmpBuf.value = stylesValueTempTmpBufOpt; + } + Opt_Array_StyleOptions stylesValueTemp = stylesValueTempTmpBuf;; + return GetAccessors()->getMutableStyledStringAccessor()->construct(static_cast(&valueValueTemp), static_cast(&stylesValueTemp)); } KOALA_INTEROP_DIRECT_2(MutableStyledString_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_MutableStyledString_getFinalizer() { - return GetAccessors()->getMutableStyledStringAccessor()->getFinalizer(); + return GetAccessors()->getMutableStyledStringAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(MutableStyledString_getFinalizer, Ark_NativePointer) +void impl_MutableStyledString_callHolder(Ark_NativePointer thisPtr) { + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + GetAccessors()->getMutableStyledStringAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(MutableStyledString_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_MutableStyledString_replaceString(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_Int32 length, const KStringPtr& other) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->replaceString(self, start, length, (const Ark_String*) (&other)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->replaceString(self, start, length, (const Ark_String*) (&other)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(MutableStyledString_replaceString, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32, KStringPtr) KInteropReturnBuffer impl_MutableStyledString_insertString(Ark_NativePointer thisPtr, Ark_Int32 start, const KStringPtr& other) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->insertString(self, start, (const Ark_String*) (&other)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->insertString(self, start, (const Ark_String*) (&other)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(MutableStyledString_insertString, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, KStringPtr) KInteropReturnBuffer impl_MutableStyledString_removeString(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_Int32 length) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->removeString(self, start, length); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->removeString(self, start, length); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(MutableStyledString_removeString, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32) KInteropReturnBuffer impl_MutableStyledString_replaceStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SpanStyle spanStyleValueTemp = ArkuiComponentStyledStringSpanStyleSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->replaceStyle(self, static_cast(&spanStyleValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SpanStyle spanStyleValueTemp = ArkuiComponentStyledStringSpanStyleSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->replaceStyle(self, static_cast(&spanStyleValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(MutableStyledString_replaceStyle, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_MutableStyledString_setStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SpanStyle spanStyleValueTemp = ArkuiComponentStyledStringSpanStyleSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->setStyle(self, static_cast(&spanStyleValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SpanStyle spanStyleValueTemp = ArkuiComponentStyledStringSpanStyleSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->setStyle(self, static_cast(&spanStyleValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(MutableStyledString_setStyle, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_MutableStyledString_removeStyle(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_Int32 length, Ark_Int32 styledKey) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->removeStyle(self, start, length, static_cast(styledKey)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->removeStyle(self, start, length, static_cast(styledKey)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(MutableStyledString_removeStyle, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32, Ark_Int32) KInteropReturnBuffer impl_MutableStyledString_removeStyles(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_Int32 length) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->removeStyles(self, start, length); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->removeStyles(self, start, length); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(MutableStyledString_removeStyles, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_MutableStyledString_clearStyles(Ark_NativePointer thisPtr) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->clearStyles(self); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + GetAccessors()->getMutableStyledStringAccessor()->clearStyles(self); } KOALA_INTEROP_DIRECT_V1(MutableStyledString_clearStyles, Ark_NativePointer) KInteropReturnBuffer impl_MutableStyledString_replaceStyledString(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_Int32 length, Ark_NativePointer other) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->replaceStyledString(self, start, length, static_cast(other)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->replaceStyledString(self, start, length, static_cast(other)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(MutableStyledString_replaceStyledString, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32, Ark_NativePointer) KInteropReturnBuffer impl_MutableStyledString_insertStyledString(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_NativePointer other) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->insertStyledString(self, start, static_cast(other)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMutableStyledStringAccessor()->insertStyledString(self, start, static_cast(other)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(MutableStyledString_insertStyledString, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_NativePointer) void impl_MutableStyledString_appendStyledString(Ark_NativePointer thisPtr, Ark_NativePointer other) { - Ark_MutableStyledString self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->appendStyledString(self, static_cast(other)); + Ark_MutableStyledString self = reinterpret_cast(thisPtr); + GetAccessors()->getMutableStyledStringAccessor()->appendStyledString(self, static_cast(other)); } KOALA_INTEROP_DIRECT_V2(MutableStyledString_appendStyledString, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_NavDestinationContext_construct() { - return GetAccessors()->getNavDestinationContextAccessor()->construct(); + return GetAccessors()->getNavDestinationContextAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(NavDestinationContext_construct, Ark_NativePointer) Ark_NativePointer impl_NavDestinationContext_getFinalizer() { - return GetAccessors()->getNavDestinationContextAccessor()->getFinalizer(); + return GetAccessors()->getNavDestinationContextAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(NavDestinationContext_getFinalizer, Ark_NativePointer) +void impl_NavDestinationContext_callHolder(Ark_NativePointer thisPtr) { + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + GetAccessors()->getNavDestinationContextAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(NavDestinationContext_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_NavDestinationContext_getConfigInRouteMap(Ark_NativePointer thisPtr) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavDestinationContextAccessor()->getConfigInRouteMap(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentNavDestinationRouteMapConfigSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavDestinationContextAccessor()->getConfigInRouteMap(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentNavDestinationRouteMapConfigSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavDestinationContext_getConfigInRouteMap, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_NavDestinationContext_getPathInfo(Ark_NativePointer thisPtr) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavDestinationContextAccessor()->getPathInfo(self); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavDestinationContextAccessor()->getPathInfo(self); } KOALA_INTEROP_DIRECT_1(NavDestinationContext_getPathInfo, Ark_NativePointer, Ark_NativePointer) void impl_NavDestinationContext_setPathInfo(Ark_NativePointer thisPtr, Ark_NativePointer pathInfo) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - GetAccessors()->getNavDestinationContextAccessor()->setPathInfo(self, static_cast(pathInfo)); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + GetAccessors()->getNavDestinationContextAccessor()->setPathInfo(self, static_cast(pathInfo)); } KOALA_INTEROP_DIRECT_V2(NavDestinationContext_setPathInfo, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_NavDestinationContext_getPathStack(Ark_NativePointer thisPtr) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavDestinationContextAccessor()->getPathStack(self); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavDestinationContextAccessor()->getPathStack(self); } KOALA_INTEROP_DIRECT_1(NavDestinationContext_getPathStack, Ark_NativePointer, Ark_NativePointer) void impl_NavDestinationContext_setPathStack(Ark_NativePointer thisPtr, Ark_NativePointer pathStack) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - GetAccessors()->getNavDestinationContextAccessor()->setPathStack(self, static_cast(pathStack)); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + GetAccessors()->getNavDestinationContextAccessor()->setPathStack(self, static_cast(pathStack)); } KOALA_INTEROP_DIRECT_V2(NavDestinationContext_setPathStack, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_NavDestinationContext_getNavDestinationId(Ark_NativePointer thisPtr) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavDestinationContextAccessor()->getNavDestinationId(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeString(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavDestinationContextAccessor()->getNavDestinationId(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeString(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavDestinationContext_getNavDestinationId, KInteropReturnBuffer, Ark_NativePointer) void impl_NavDestinationContext_setNavDestinationId(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavDestinationContext self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto navDestinationIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String navDestinationIdValueTempTmpBuf = {}; - navDestinationIdValueTempTmpBuf.tag = navDestinationIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((navDestinationIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - navDestinationIdValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String navDestinationIdValueTemp = navDestinationIdValueTempTmpBuf;; - GetAccessors()->getNavDestinationContextAccessor()->setNavDestinationId(self, static_cast(&navDestinationIdValueTemp)); + Ark_NavDestinationContext self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto navDestinationIdValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String navDestinationIdValueTempTmpBuf = {}; + navDestinationIdValueTempTmpBuf.tag = navDestinationIdValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((navDestinationIdValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + navDestinationIdValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String navDestinationIdValueTemp = navDestinationIdValueTempTmpBuf;; + GetAccessors()->getNavDestinationContextAccessor()->setNavDestinationId(self, static_cast(&navDestinationIdValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavDestinationContext_setNavDestinationId, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavExtender_setNavigationOptions(Ark_NativePointer ptr, Ark_NativePointer pathStack) { - GetAccessors()->getNavExtenderAccessor()->setNavigationOptions(ptr, static_cast(pathStack)); + GetAccessors()->getNavExtenderAccessor()->setNavigationOptions(ptr, static_cast(pathStack)); } KOALA_INTEROP_DIRECT_V2(NavExtender_setNavigationOptions, Ark_NativePointer, Ark_NativePointer) void impl_NavExtender_setUpdateStackCallback(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - NavExtender_OnUpdateStack callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_NAVEXTENDER_ONUPDATESTACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_NAVEXTENDER_ONUPDATESTACK))))};; - GetAccessors()->getNavExtenderAccessor()->setUpdateStackCallback(static_cast(peer), static_cast(&callbackValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + NavExtender_OnUpdateStack callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_NAVEXTENDER_ONUPDATESTACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_NAVEXTENDER_ONUPDATESTACK))))};; + GetAccessors()->getNavExtenderAccessor()->setUpdateStackCallback(static_cast(peer), static_cast(&callbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavExtender_setUpdateStackCallback, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavExtender_syncStack(Ark_NativePointer peer) { - GetAccessors()->getNavExtenderAccessor()->syncStack(static_cast(peer)); + GetAccessors()->getNavExtenderAccessor()->syncStack(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(NavExtender_syncStack, Ark_NativePointer) Ark_Boolean impl_NavExtender_checkNeedCreate(Ark_NativePointer navigation, Ark_Int32 index) { - return GetAccessors()->getNavExtenderAccessor()->checkNeedCreate(navigation, index); + return GetAccessors()->getNavExtenderAccessor()->checkNeedCreate(navigation, index); } KOALA_INTEROP_DIRECT_2(NavExtender_checkNeedCreate, Ark_Boolean, Ark_NativePointer, Ark_Int32) void impl_NavExtender_setNavDestinationNode(Ark_NativePointer peer, Ark_Int32 index, Ark_NativePointer node) { - GetAccessors()->getNavExtenderAccessor()->setNavDestinationNode(static_cast(peer), index, node); + GetAccessors()->getNavExtenderAccessor()->setNavDestinationNode(static_cast(peer), index, node); } KOALA_INTEROP_DIRECT_V3(NavExtender_setNavDestinationNode, Ark_NativePointer, Ark_Int32, Ark_NativePointer) void impl_NavExtender_pushPath(Ark_NativePointer pathStack, Ark_NativePointer info, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NavigationOptions optionsValueTemp = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getNavExtenderAccessor()->pushPath(static_cast(pathStack), static_cast(info), static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_NavigationOptions optionsValueTemp = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getNavExtenderAccessor()->pushPath(static_cast(pathStack), static_cast(info), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V4(NavExtender_pushPath, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavExtender_replacePath(Ark_NativePointer pathStack, Ark_NativePointer info, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NavigationOptions optionsValueTemp = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getNavExtenderAccessor()->replacePath(static_cast(pathStack), static_cast(info), static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_NavigationOptions optionsValueTemp = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getNavExtenderAccessor()->replacePath(static_cast(pathStack), static_cast(info), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V4(NavExtender_replacePath, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_String impl_NavExtender_pop(Ark_NativePointer pathStack, Ark_Boolean animated) { - return GetAccessors()->getNavExtenderAccessor()->pop(static_cast(pathStack), animated); + return GetAccessors()->getNavExtenderAccessor()->pop(static_cast(pathStack), animated); } KOALA_INTEROP_2(NavExtender_pop, KStringPtr, Ark_NativePointer, Ark_Boolean) void impl_NavExtender_setOnPopCallback(Ark_NativePointer pathStack, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - OnPopCallback popCallbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONPOPCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONPOPCALLBACK))))};; - GetAccessors()->getNavExtenderAccessor()->setOnPopCallback(static_cast(pathStack), static_cast(&popCallbackValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + OnPopCallback popCallbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ONPOPCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ONPOPCALLBACK))))};; + GetAccessors()->getNavExtenderAccessor()->setOnPopCallback(static_cast(pathStack), static_cast(&popCallbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavExtender_setOnPopCallback, Ark_NativePointer, KSerializerBuffer, KInt) Ark_String impl_NavExtender_getIdByIndex(Ark_NativePointer pathStack, Ark_Int32 index) { - return GetAccessors()->getNavExtenderAccessor()->getIdByIndex(static_cast(pathStack), index); + return GetAccessors()->getNavExtenderAccessor()->getIdByIndex(static_cast(pathStack), index); } KOALA_INTEROP_2(NavExtender_getIdByIndex, KStringPtr, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_NavExtender_getIdByName(Ark_NativePointer pathStack, const KStringPtr& name) { - const auto &retValue = GetAccessors()->getNavExtenderAccessor()->getIdByName(static_cast(pathStack), (const Ark_String*) (&name)); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeString(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getNavExtenderAccessor()->getIdByName(static_cast(pathStack), (const Ark_String*) (&name)); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeString(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(NavExtender_getIdByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) void impl_NavExtender_popToIndex(Ark_NativePointer pathStack, Ark_Int32 index, Ark_Boolean animated) { - GetAccessors()->getNavExtenderAccessor()->popToIndex(static_cast(pathStack), index, animated); + GetAccessors()->getNavExtenderAccessor()->popToIndex(static_cast(pathStack), index, animated); } KOALA_INTEROP_V3(NavExtender_popToIndex, Ark_NativePointer, Ark_Int32, Ark_Boolean) Ark_Number impl_NavExtender_popToName(Ark_NativePointer pathStack, const KStringPtr& name, Ark_Boolean animated) { - return GetAccessors()->getNavExtenderAccessor()->popToName(static_cast(pathStack), (const Ark_String*) (&name), animated); + return GetAccessors()->getNavExtenderAccessor()->popToName(static_cast(pathStack), (const Ark_String*) (&name), animated); } KOALA_INTEROP_3(NavExtender_popToName, KInteropNumber, Ark_NativePointer, KStringPtr, Ark_Boolean) Ark_NativePointer impl_NavigationTransitionProxy_construct() { - return GetAccessors()->getNavigationTransitionProxyAccessor()->construct(); + return GetAccessors()->getNavigationTransitionProxyAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_construct, Ark_NativePointer) Ark_NativePointer impl_NavigationTransitionProxy_getFinalizer() { - return GetAccessors()->getNavigationTransitionProxyAccessor()->getFinalizer(); + return GetAccessors()->getNavigationTransitionProxyAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_getFinalizer, Ark_NativePointer) +void impl_NavigationTransitionProxy_callHolder(Ark_NativePointer thisPtr) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getNavigationTransitionProxyAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_callHolder, Ark_NativePointer) void impl_NavigationTransitionProxy_finishTransition(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getNavigationTransitionProxyAccessor()->finishTransition(self); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getNavigationTransitionProxyAccessor()->finishTransition(self); } KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_finishTransition, Ark_NativePointer) KInteropReturnBuffer impl_NavigationTransitionProxy_getFrom(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getFrom(self); - SerializerBase _retSerializer {}; - ArkuiComponentNavigationNavContentInfoSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getFrom(self); + SerializerBase _retSerializer {}; + ArkuiComponentNavigationNavContentInfoSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavigationTransitionProxy_getFrom, KInteropReturnBuffer, Ark_NativePointer) void impl_NavigationTransitionProxy_setFrom(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NavContentInfo fromValueTemp = ArkuiComponentNavigationNavContentInfoSerializerImpl::read(thisDeserializer);; - GetAccessors()->getNavigationTransitionProxyAccessor()->setFrom(self, static_cast(&fromValueTemp)); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_NavContentInfo fromValueTemp = ArkuiComponentNavigationNavContentInfoSerializerImpl::read(thisDeserializer);; + GetAccessors()->getNavigationTransitionProxyAccessor()->setFrom(self, static_cast(&fromValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setFrom, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavigationTransitionProxy_getTo(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getTo(self); - SerializerBase _retSerializer {}; - ArkuiComponentNavigationNavContentInfoSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getTo(self); + SerializerBase _retSerializer {}; + ArkuiComponentNavigationNavContentInfoSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavigationTransitionProxy_getTo, KInteropReturnBuffer, Ark_NativePointer) void impl_NavigationTransitionProxy_setTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NavContentInfo toValueTemp = ArkuiComponentNavigationNavContentInfoSerializerImpl::read(thisDeserializer);; - GetAccessors()->getNavigationTransitionProxyAccessor()->setTo(self, static_cast(&toValueTemp)); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_NavContentInfo toValueTemp = ArkuiComponentNavigationNavContentInfoSerializerImpl::read(thisDeserializer);; + GetAccessors()->getNavigationTransitionProxyAccessor()->setTo(self, static_cast(&toValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setTo, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavigationTransitionProxy_getIsInteractive(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getIsInteractive(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getIsInteractive(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavigationTransitionProxy_getIsInteractive, KInteropReturnBuffer, Ark_NativePointer) void impl_NavigationTransitionProxy_setIsInteractive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isInteractiveValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isInteractiveValueTempTmpBuf = {}; - isInteractiveValueTempTmpBuf.tag = isInteractiveValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isInteractiveValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isInteractiveValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isInteractiveValueTemp = isInteractiveValueTempTmpBuf;; - GetAccessors()->getNavigationTransitionProxyAccessor()->setIsInteractive(self, static_cast(&isInteractiveValueTemp)); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isInteractiveValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isInteractiveValueTempTmpBuf = {}; + isInteractiveValueTempTmpBuf.tag = isInteractiveValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isInteractiveValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isInteractiveValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isInteractiveValueTemp = isInteractiveValueTempTmpBuf;; + GetAccessors()->getNavigationTransitionProxyAccessor()->setIsInteractive(self, static_cast(&isInteractiveValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setIsInteractive, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavigationTransitionProxy_getCancelTransition(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getCancelTransition(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getCancelTransition(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavigationTransitionProxy_getCancelTransition, KInteropReturnBuffer, Ark_NativePointer) void impl_NavigationTransitionProxy_setCancelTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto cancelTransitionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback cancelTransitionValueTempTmpBuf = {}; - cancelTransitionValueTempTmpBuf.tag = cancelTransitionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((cancelTransitionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - cancelTransitionValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback cancelTransitionValueTemp = cancelTransitionValueTempTmpBuf;; - GetAccessors()->getNavigationTransitionProxyAccessor()->setCancelTransition(self, static_cast(&cancelTransitionValueTemp)); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto cancelTransitionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback cancelTransitionValueTempTmpBuf = {}; + cancelTransitionValueTempTmpBuf.tag = cancelTransitionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((cancelTransitionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + cancelTransitionValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback cancelTransitionValueTemp = cancelTransitionValueTempTmpBuf;; + GetAccessors()->getNavigationTransitionProxyAccessor()->setCancelTransition(self, static_cast(&cancelTransitionValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setCancelTransition, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavigationTransitionProxy_getUpdateTransition(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getUpdateTransition(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getUpdateTransition(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavigationTransitionProxy_getUpdateTransition, KInteropReturnBuffer, Ark_NativePointer) void impl_NavigationTransitionProxy_setUpdateTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto updateTransitionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_UpdateTransitionCallback updateTransitionValueTempTmpBuf = {}; - updateTransitionValueTempTmpBuf.tag = updateTransitionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((updateTransitionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - updateTransitionValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_UPDATETRANSITIONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_UPDATETRANSITIONCALLBACK))))}; - } - Opt_UpdateTransitionCallback updateTransitionValueTemp = updateTransitionValueTempTmpBuf;; - GetAccessors()->getNavigationTransitionProxyAccessor()->setUpdateTransition(self, static_cast(&updateTransitionValueTemp)); + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto updateTransitionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_UpdateTransitionCallback updateTransitionValueTempTmpBuf = {}; + updateTransitionValueTempTmpBuf.tag = updateTransitionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((updateTransitionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + updateTransitionValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_UPDATETRANSITIONCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_UPDATETRANSITIONCALLBACK))))}; + } + Opt_UpdateTransitionCallback updateTransitionValueTemp = updateTransitionValueTempTmpBuf;; + GetAccessors()->getNavigationTransitionProxyAccessor()->setUpdateTransition(self, static_cast(&updateTransitionValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setUpdateTransition, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_NavPathInfo_construct(const KStringPtr& name, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto paramValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object paramValueTempTmpBuf = {}; - paramValueTempTmpBuf.tag = paramValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((paramValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - paramValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); - } - Opt_Object paramValueTemp = paramValueTempTmpBuf;; - const auto onPopValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PopInfo_Void onPopValueTempTmpBuf = {}; - onPopValueTempTmpBuf.tag = onPopValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onPopValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onPopValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_POPINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_POPINFO_VOID))))}; - } - Opt_Callback_PopInfo_Void onPopValueTemp = onPopValueTempTmpBuf;; - const auto isEntryValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isEntryValueTempTmpBuf = {}; - isEntryValueTempTmpBuf.tag = isEntryValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isEntryValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isEntryValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isEntryValueTemp = isEntryValueTempTmpBuf;; - return GetAccessors()->getNavPathInfoAccessor()->construct((const Ark_String*) (&name), static_cast(¶mValueTemp), static_cast(&onPopValueTemp), static_cast(&isEntryValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto paramValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object paramValueTempTmpBuf = {}; + paramValueTempTmpBuf.tag = paramValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((paramValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + paramValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object paramValueTemp = paramValueTempTmpBuf;; + const auto onPopValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PopInfo_Void onPopValueTempTmpBuf = {}; + onPopValueTempTmpBuf.tag = onPopValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onPopValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onPopValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_POPINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_POPINFO_VOID))))}; + } + Opt_Callback_PopInfo_Void onPopValueTemp = onPopValueTempTmpBuf;; + const auto isEntryValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isEntryValueTempTmpBuf = {}; + isEntryValueTempTmpBuf.tag = isEntryValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isEntryValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isEntryValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isEntryValueTemp = isEntryValueTempTmpBuf;; + return GetAccessors()->getNavPathInfoAccessor()->construct((const Ark_String*) (&name), static_cast(¶mValueTemp), static_cast(&onPopValueTemp), static_cast(&isEntryValueTemp)); } KOALA_INTEROP_3(NavPathInfo_construct, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) Ark_NativePointer impl_NavPathInfo_getFinalizer() { - return GetAccessors()->getNavPathInfoAccessor()->getFinalizer(); + return GetAccessors()->getNavPathInfoAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(NavPathInfo_getFinalizer, Ark_NativePointer) +void impl_NavPathInfo_callHolder(Ark_NativePointer thisPtr) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathInfoAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(NavPathInfo_callHolder, Ark_NativePointer) Ark_String impl_NavPathInfo_getName(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathInfoAccessor()->getName(self); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathInfoAccessor()->getName(self); } KOALA_INTEROP_1(NavPathInfo_getName, KStringPtr, Ark_NativePointer) void impl_NavPathInfo_setName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathInfoAccessor()->setName(self, (const Ark_String*) (&name)); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathInfoAccessor()->setName(self, (const Ark_String*) (&name)); } KOALA_INTEROP_V2(NavPathInfo_setName, Ark_NativePointer, KStringPtr) KInteropReturnBuffer impl_NavPathInfo_getParam(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getParam(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeObject(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getParam(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeObject(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathInfo_getParam, KInteropReturnBuffer, Ark_NativePointer) void impl_NavPathInfo_setParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto paramValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object paramValueTempTmpBuf = {}; - paramValueTempTmpBuf.tag = paramValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((paramValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - paramValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); - } - Opt_Object paramValueTemp = paramValueTempTmpBuf;; - GetAccessors()->getNavPathInfoAccessor()->setParam(self, static_cast(¶mValueTemp)); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto paramValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object paramValueTempTmpBuf = {}; + paramValueTempTmpBuf.tag = paramValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((paramValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + paramValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object paramValueTemp = paramValueTempTmpBuf;; + GetAccessors()->getNavPathInfoAccessor()->setParam(self, static_cast(¶mValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavPathInfo_setParam, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavPathInfo_getOnPop(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getOnPop(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getOnPop(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathInfo_getOnPop, KInteropReturnBuffer, Ark_NativePointer) void impl_NavPathInfo_setOnPop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto onPopValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PopInfo_Void onPopValueTempTmpBuf = {}; - onPopValueTempTmpBuf.tag = onPopValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onPopValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onPopValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_POPINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_POPINFO_VOID))))}; - } - Opt_Callback_PopInfo_Void onPopValueTemp = onPopValueTempTmpBuf;; - GetAccessors()->getNavPathInfoAccessor()->setOnPop(self, static_cast(&onPopValueTemp)); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto onPopValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PopInfo_Void onPopValueTempTmpBuf = {}; + onPopValueTempTmpBuf.tag = onPopValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onPopValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onPopValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_POPINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_POPINFO_VOID))))}; + } + Opt_Callback_PopInfo_Void onPopValueTemp = onPopValueTempTmpBuf;; + GetAccessors()->getNavPathInfoAccessor()->setOnPop(self, static_cast(&onPopValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavPathInfo_setOnPop, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavPathInfo_getIsEntry(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getIsEntry(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getIsEntry(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathInfo_getIsEntry, KInteropReturnBuffer, Ark_NativePointer) void impl_NavPathInfo_setIsEntry(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto isEntryValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isEntryValueTempTmpBuf = {}; - isEntryValueTempTmpBuf.tag = isEntryValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((isEntryValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - isEntryValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isEntryValueTemp = isEntryValueTempTmpBuf;; - GetAccessors()->getNavPathInfoAccessor()->setIsEntry(self, static_cast(&isEntryValueTemp)); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto isEntryValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isEntryValueTempTmpBuf = {}; + isEntryValueTempTmpBuf.tag = isEntryValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((isEntryValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + isEntryValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean isEntryValueTemp = isEntryValueTempTmpBuf;; + GetAccessors()->getNavPathInfoAccessor()->setIsEntry(self, static_cast(&isEntryValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavPathInfo_setIsEntry, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavPathInfo_getNavDestinationId(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getNavDestinationId(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeString(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getNavDestinationId(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeString(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathInfo_getNavDestinationId, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_NavPathStack_construct() { - return GetAccessors()->getNavPathStackAccessor()->construct(); + return GetAccessors()->getNavPathStackAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(NavPathStack_construct, Ark_NativePointer) Ark_NativePointer impl_NavPathStack_getFinalizer() { - return GetAccessors()->getNavPathStackAccessor()->getFinalizer(); + return GetAccessors()->getNavPathStackAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(NavPathStack_getFinalizer, Ark_NativePointer) +void impl_NavPathStack_callHolder(Ark_NativePointer thisPtr) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathStackAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(NavPathStack_callHolder, Ark_NativePointer) void impl_NavPathStack_pushDestination0(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestination0(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), static_cast(&animatedValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestination0(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), static_cast(&animatedValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavPathStack_pushDestination1(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationOptions optionsValueTemp = optionsValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestination1(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationOptions optionsValueTemp = optionsValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestination1(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NavPathStack_pushDestinationByName0(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object paramValueTemp = static_cast(thisDeserializer.readObject());; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestinationByName0(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), static_cast(¶mValueTemp), static_cast(&animatedValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object paramValueTemp = static_cast(thisDeserializer.readObject());; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestinationByName0(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), static_cast(¶mValueTemp), static_cast(&animatedValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) void impl_NavPathStack_pushDestinationByName1(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object paramValueTemp = static_cast(thisDeserializer.readObject());; - Callback_PopInfo_Void onPopValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_POPINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_POPINFO_VOID))))};; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestinationByName1(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), static_cast(¶mValueTemp), static_cast(&onPopValueTemp), static_cast(&animatedValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object paramValueTemp = static_cast(thisDeserializer.readObject());; + Callback_PopInfo_Void onPopValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_POPINFO_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_POPINFO_VOID))))};; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestinationByName1(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), static_cast(¶mValueTemp), static_cast(&onPopValueTemp), static_cast(&animatedValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) void impl_NavPathStack_replaceDestination(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer); - } - Opt_NavigationOptions optionsValueTemp = optionsValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getNavPathStackAccessor()->replaceDestination(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentNavigationNavigationOptionsSerializerImpl::read(thisDeserializer); + } + Opt_NavigationOptions optionsValueTemp = optionsValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getNavPathStackAccessor()->replaceDestination(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V4(NavPathStack_replaceDestination, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_NavPathStack_removeByIndexes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 indexesValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_I32 indexesValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 indexesValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_I32 indexesValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&indexesValueTempTmpBuf, indexesValueTempTmpBufLength); - for (int indexesValueTempTmpBufBufCounterI = 0; indexesValueTempTmpBufBufCounterI < indexesValueTempTmpBufLength; indexesValueTempTmpBufBufCounterI++) { - indexesValueTempTmpBuf.array[indexesValueTempTmpBufBufCounterI] = thisDeserializer.readInt32(); - } - Array_I32 indexesValueTemp = indexesValueTempTmpBuf;; - return GetAccessors()->getNavPathStackAccessor()->removeByIndexes(self, static_cast(&indexesValueTemp)); + for (int indexesValueTempTmpBufBufCounterI = 0; indexesValueTempTmpBufBufCounterI < indexesValueTempTmpBufLength; indexesValueTempTmpBufBufCounterI++) { + indexesValueTempTmpBuf.array[indexesValueTempTmpBufBufCounterI] = thisDeserializer.readInt32(); + } + Array_I32 indexesValueTemp = indexesValueTempTmpBuf;; + return GetAccessors()->getNavPathStackAccessor()->removeByIndexes(self, static_cast(&indexesValueTemp)); } KOALA_INTEROP_DIRECT_3(NavPathStack_removeByIndexes, Ark_Int32, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_NavPathStack_removeByName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*) (&name)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*) (&name)); } KOALA_INTEROP_2(NavPathStack_removeByName, Ark_Int32, Ark_NativePointer, KStringPtr) Ark_Boolean impl_NavPathStack_removeByNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*) (&navDestinationId)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*) (&navDestinationId)); } KOALA_INTEROP_2(NavPathStack_removeByNavDestinationId, Ark_Boolean, Ark_NativePointer, KStringPtr) Ark_Int32 impl_NavPathStack_moveToTop(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - return GetAccessors()->getNavPathStackAccessor()->moveToTop(self, (const Ark_String*) (&name), static_cast(&animatedValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + return GetAccessors()->getNavPathStackAccessor()->moveToTop(self, (const Ark_String*) (&name), static_cast(&animatedValueTemp)); } KOALA_INTEROP_4(NavPathStack_moveToTop, Ark_Int32, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) void impl_NavPathStack_moveIndexToTop(Ark_NativePointer thisPtr, Ark_Int32 index, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetAccessors()->getNavPathStackAccessor()->moveIndexToTop(self, index, static_cast(&animatedValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetAccessors()->getNavPathStackAccessor()->moveIndexToTop(self, index, static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V4(NavPathStack_moveIndexToTop, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) void impl_NavPathStack_clear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetAccessors()->getNavPathStackAccessor()->clear(self, static_cast(&animatedValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetAccessors()->getNavPathStackAccessor()->clear(self, static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavPathStack_clear, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavPathStack_getAllPathName(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getAllPathName(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeString(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getAllPathName(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_String retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeString(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathStack_getAllPathName, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_NavPathStack_getIndexByName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*) (&name)); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_Int32 retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeInt32(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*) (&name)); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Int32 retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeInt32(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(NavPathStack_getIndexByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) KInteropReturnBuffer impl_NavPathStack_getParent(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParent(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentNavigationNavPathStackSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParent(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentNavigationNavPathStackSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathStack_getParent, KInteropReturnBuffer, Ark_NativePointer) Ark_Int32 impl_NavPathStack_size(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->size(self); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathStackAccessor()->size(self); } KOALA_INTEROP_DIRECT_1(NavPathStack_size, Ark_Int32, Ark_NativePointer) void impl_NavPathStack_disableAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathStackAccessor()->disableAnimation(self, value); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathStackAccessor()->disableAnimation(self, value); } KOALA_INTEROP_V2(NavPathStack_disableAnimation, Ark_NativePointer, Ark_Boolean) void impl_NavPathStack_setInterception(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NavigationInterception interceptionValueTemp = ArkuiComponentNavigationNavigationInterceptionSerializerImpl::read(thisDeserializer);; - GetAccessors()->getNavPathStackAccessor()->setInterception(self, static_cast(&interceptionValueTemp)); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_NavigationInterception interceptionValueTemp = ArkuiComponentNavigationNavigationInterceptionSerializerImpl::read(thisDeserializer);; + GetAccessors()->getNavPathStackAccessor()->setInterception(self, static_cast(&interceptionValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavPathStack_setInterception, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_NavPathStack_getPathStack(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getPathStack(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_NavPathInfo retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentNavigationNavPathInfoSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getPathStack(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_NavPathInfo retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentNavigationNavPathInfoSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(NavPathStack_getPathStack, KInteropReturnBuffer, Ark_NativePointer) void impl_NavPathStack_setPathStack(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 pathStackValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_NavPathInfo pathStackValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_NavPathStack self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 pathStackValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_NavPathInfo pathStackValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&pathStackValueTempTmpBuf, pathStackValueTempTmpBufLength); - for (int pathStackValueTempTmpBufBufCounterI = 0; pathStackValueTempTmpBufBufCounterI < pathStackValueTempTmpBufLength; pathStackValueTempTmpBufBufCounterI++) { - pathStackValueTempTmpBuf.array[pathStackValueTempTmpBufBufCounterI] = static_cast(ArkuiComponentNavigationNavPathInfoSerializerImpl::read(thisDeserializer)); - } - Array_NavPathInfo pathStackValueTemp = pathStackValueTempTmpBuf;; - const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animatedValueTempTmpBuf = {}; - animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; - GetAccessors()->getNavPathStackAccessor()->setPathStack(self, static_cast(&pathStackValueTemp), static_cast(&animatedValueTemp)); + for (int pathStackValueTempTmpBufBufCounterI = 0; pathStackValueTempTmpBufBufCounterI < pathStackValueTempTmpBufLength; pathStackValueTempTmpBufBufCounterI++) { + pathStackValueTempTmpBuf.array[pathStackValueTempTmpBufBufCounterI] = static_cast(ArkuiComponentNavigationNavPathInfoSerializerImpl::read(thisDeserializer)); + } + Array_NavPathInfo pathStackValueTemp = pathStackValueTempTmpBuf;; + const auto animatedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animatedValueTempTmpBuf = {}; + animatedValueTempTmpBuf.tag = animatedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animatedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + animatedValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animatedValueTemp = animatedValueTempTmpBuf;; + GetAccessors()->getNavPathStackAccessor()->setPathStack(self, static_cast(&pathStackValueTemp), static_cast(&animatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(NavPathStack_setPathStack, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_NodeContainerOps_nodeContainerOpsConstruct(Ark_Int32 id, Ark_Int32 flags) { - return GetAccessors()->getNodeContainerOpsAccessor()->nodeContainerOpsConstruct(id, flags); + return GetAccessors()->getNodeContainerOpsAccessor()->nodeContainerOpsConstruct(id, flags); } KOALA_INTEROP_DIRECT_2(NodeContainerOps_nodeContainerOpsConstruct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_NodeContainerOps_nodeContainerSetNodeContainerOptions(Ark_NativePointer ptr, Ark_NativePointer controller) { - GetAccessors()->getNodeContainerOpsAccessor()->nodeContainerSetNodeContainerOptions(ptr, controller); + GetAccessors()->getNodeContainerOpsAccessor()->nodeContainerSetNodeContainerOptions(ptr, controller); } KOALA_INTEROP_DIRECT_V2(NodeContainerOps_nodeContainerSetNodeContainerOptions, Ark_NativePointer, Ark_NativePointer) void impl_NodeContainerOps_addNodeContainerRootNode(Ark_NativePointer self, Ark_NativePointer child) { - GetAccessors()->getNodeContainerOpsAccessor()->addNodeContainerRootNode(self, child); + GetAccessors()->getNodeContainerOpsAccessor()->addNodeContainerRootNode(self, child); } KOALA_INTEROP_DIRECT_V2(NodeContainerOps_addNodeContainerRootNode, Ark_NativePointer, Ark_NativePointer) void impl_NodeContainerOps_setAboutToAppear(Ark_NativePointer self, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getNodeContainerOpsAccessor()->setAboutToAppear(self, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getNodeContainerOpsAccessor()->setAboutToAppear(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NodeContainerOps_setAboutToAppear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NodeContainerOps_setAboutToDisappear(Ark_NativePointer self, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getNodeContainerOpsAccessor()->setAboutToDisappear(self, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getNodeContainerOpsAccessor()->setAboutToDisappear(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NodeContainerOps_setAboutToDisappear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NodeContainerOps_setAboutToResize(Ark_NativePointer self, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - NodeContainerOps_onAboutToResize valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_NODECONTAINEROPS_ONABOUTTORESIZE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_NODECONTAINEROPS_ONABOUTTORESIZE))))};; - GetAccessors()->getNodeContainerOpsAccessor()->setAboutToResize(self, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + NodeContainerOps_onAboutToResize valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_NODECONTAINEROPS_ONABOUTTORESIZE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_NODECONTAINEROPS_ONABOUTTORESIZE))))};; + GetAccessors()->getNodeContainerOpsAccessor()->setAboutToResize(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NodeContainerOps_setAboutToResize, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NodeContainerOps_setOnAttach(Ark_NativePointer self, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getNodeContainerOpsAccessor()->setOnAttach(self, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getNodeContainerOpsAccessor()->setOnAttach(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NodeContainerOps_setOnAttach, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NodeContainerOps_setOnDetach(Ark_NativePointer self, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; - GetAccessors()->getNodeContainerOpsAccessor()->setOnDetach(self, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Custom_Callback_Void valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOM_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOM_CALLBACK_VOID))))};; + GetAccessors()->getNodeContainerOpsAccessor()->setOnDetach(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NodeContainerOps_setOnDetach, Ark_NativePointer, KSerializerBuffer, KInt) void impl_NodeContainerOps_setOnTouchEvent(Ark_NativePointer self, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TouchEvent_Void valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_VOID))))}; - } - Opt_Callback_TouchEvent_Void valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getNodeContainerOpsAccessor()->setOnTouchEvent(self, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TouchEvent_Void valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_VOID))))}; + } + Opt_Callback_TouchEvent_Void valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getNodeContainerOpsAccessor()->setOnTouchEvent(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(NodeContainerOps_setOnTouchEvent, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_NodeContentExtender_constructorNodeContent() { - return GetAccessors()->getNodeContentExtenderAccessor()->constructorNodeContent(); + return GetAccessors()->getNodeContentExtenderAccessor()->constructorNodeContent(); } KOALA_INTEROP_DIRECT_0(NodeContentExtender_constructorNodeContent, Ark_NativePointer) Ark_NativePointer impl_NodeContentExtender_getDestroy() { - return GetAccessors()->getNodeContentExtenderAccessor()->getDestroy(); + return GetAccessors()->getNodeContentExtenderAccessor()->getDestroy(); } KOALA_INTEROP_DIRECT_0(NodeContentExtender_getDestroy, Ark_NativePointer) Ark_Boolean impl_NodeContentExtender_addFrameNode(Ark_NativePointer content, Ark_NativePointer node) { - return GetAccessors()->getNodeContentExtenderAccessor()->addFrameNode(content, node); + return GetAccessors()->getNodeContentExtenderAccessor()->addFrameNode(content, node); } KOALA_INTEROP_DIRECT_2(NodeContentExtender_addFrameNode, Ark_Boolean, Ark_NativePointer, Ark_NativePointer) Ark_Boolean impl_NodeContentExtender_removeFrameNode(Ark_NativePointer content, Ark_NativePointer node) { - return GetAccessors()->getNodeContentExtenderAccessor()->removeFrameNode(content, node); + return GetAccessors()->getNodeContentExtenderAccessor()->removeFrameNode(content, node); } KOALA_INTEROP_DIRECT_2(NodeContentExtender_removeFrameNode, Ark_Boolean, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_OffscreenCanvas_construct(KDouble width, KDouble height, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; - unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; - return GetAccessors()->getOffscreenCanvasAccessor()->construct(width, height, static_cast(&unitValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; + unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; + return GetAccessors()->getOffscreenCanvasAccessor()->construct(width, height, static_cast(&unitValueTemp)); } KOALA_INTEROP_4(OffscreenCanvas_construct, Ark_NativePointer, KDouble, KDouble, KSerializerBuffer, KInt) Ark_NativePointer impl_OffscreenCanvas_getFinalizer() { - return GetAccessors()->getOffscreenCanvasAccessor()->getFinalizer(); + return GetAccessors()->getOffscreenCanvasAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(OffscreenCanvas_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_OffscreenCanvas_transferToImageBitmap(Ark_NativePointer thisPtr) { - Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); - return GetAccessors()->getOffscreenCanvasAccessor()->transferToImageBitmap(self); -} -KOALA_INTEROP_DIRECT_1(OffscreenCanvas_transferToImageBitmap, Ark_NativePointer, Ark_NativePointer) +void impl_OffscreenCanvas_callHolder(Ark_NativePointer thisPtr) { + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + GetAccessors()->getOffscreenCanvasAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(OffscreenCanvas_callHolder, Ark_NativePointer) +KInteropReturnBuffer impl_OffscreenCanvas_transferToImageBitmap(Ark_NativePointer thisPtr) { + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getOffscreenCanvasAccessor()->transferToImageBitmap(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCanvasImageBitmapSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(OffscreenCanvas_transferToImageBitmap, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_OffscreenCanvas_getContext2d(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RenderingContextSettings optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasRenderingContextSettingsSerializerImpl::read(thisDeserializer)); - } - Opt_RenderingContextSettings optionsValueTemp = optionsValueTempTmpBuf;; - return GetAccessors()->getOffscreenCanvasAccessor()->getContext2d(self, static_cast(&optionsValueTemp)); + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RenderingContextSettings optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasRenderingContextSettingsSerializerImpl::read(thisDeserializer)); + } + Opt_RenderingContextSettings optionsValueTemp = optionsValueTempTmpBuf;; + return GetAccessors()->getOffscreenCanvasAccessor()->getContext2d(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_3(OffscreenCanvas_getContext2d, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Int32 impl_OffscreenCanvas_getHeight(Ark_NativePointer thisPtr) { - Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); - return GetAccessors()->getOffscreenCanvasAccessor()->getHeight(self); + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + return GetAccessors()->getOffscreenCanvasAccessor()->getHeight(self); } KOALA_INTEROP_1(OffscreenCanvas_getHeight, Ark_Int32, Ark_NativePointer) void impl_OffscreenCanvas_setHeight(Ark_NativePointer thisPtr, KDouble height) { - Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); - GetAccessors()->getOffscreenCanvasAccessor()->setHeight(self, height); + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + GetAccessors()->getOffscreenCanvasAccessor()->setHeight(self, height); } KOALA_INTEROP_V2(OffscreenCanvas_setHeight, Ark_NativePointer, KDouble) Ark_Int32 impl_OffscreenCanvas_getWidth(Ark_NativePointer thisPtr) { - Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); - return GetAccessors()->getOffscreenCanvasAccessor()->getWidth(self); + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + return GetAccessors()->getOffscreenCanvasAccessor()->getWidth(self); } KOALA_INTEROP_1(OffscreenCanvas_getWidth, Ark_Int32, Ark_NativePointer) void impl_OffscreenCanvas_setWidth(Ark_NativePointer thisPtr, KDouble width) { - Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); - GetAccessors()->getOffscreenCanvasAccessor()->setWidth(self, width); + Ark_OffscreenCanvas self = reinterpret_cast(thisPtr); + GetAccessors()->getOffscreenCanvasAccessor()->setWidth(self, width); } KOALA_INTEROP_V2(OffscreenCanvas_setWidth, Ark_NativePointer, KDouble) Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_construct(KDouble width, KDouble height, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto settingsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RenderingContextSettings settingsValueTempTmpBuf = {}; - settingsValueTempTmpBuf.tag = settingsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((settingsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - settingsValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasRenderingContextSettingsSerializerImpl::read(thisDeserializer)); - } - Opt_RenderingContextSettings settingsValueTemp = settingsValueTempTmpBuf;; - const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; - unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; - return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->construct(width, height, static_cast(&settingsValueTemp), static_cast(&unitValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto settingsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RenderingContextSettings settingsValueTempTmpBuf = {}; + settingsValueTempTmpBuf.tag = settingsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((settingsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + settingsValueTempTmpBuf.value = static_cast(ArkuiComponentCanvasRenderingContextSettingsSerializerImpl::read(thisDeserializer)); + } + Opt_RenderingContextSettings settingsValueTemp = settingsValueTempTmpBuf;; + const auto unitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_LengthMetricsUnit unitValueTempTmpBuf = {}; + unitValueTempTmpBuf.tag = unitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((unitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + unitValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_LengthMetricsUnit unitValueTemp = unitValueTempTmpBuf;; + return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->construct(width, height, static_cast(&settingsValueTemp), static_cast(&unitValueTemp)); } KOALA_INTEROP_4(OffscreenCanvasRenderingContext2D_construct, Ark_NativePointer, KDouble, KDouble, KSerializerBuffer, KInt) Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_getFinalizer() { - return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->getFinalizer(); + return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(OffscreenCanvasRenderingContext2D_getFinalizer, Ark_NativePointer) +void impl_OffscreenCanvasRenderingContext2D_callHolder(Ark_NativePointer thisPtr) { + Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast(thisPtr); + GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(OffscreenCanvasRenderingContext2D_callHolder, Ark_NativePointer) Ark_String impl_OffscreenCanvasRenderingContext2D_toDataURL(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String typeValueTempTmpBuf = {}; - typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - typeValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String typeValueTemp = typeValueTempTmpBuf;; - const auto qualityValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Float64 qualityValueTempTmpBuf = {}; - qualityValueTempTmpBuf.tag = qualityValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((qualityValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - qualityValueTempTmpBuf.value = thisDeserializer.readFloat64(); - } - Opt_Float64 qualityValueTemp = qualityValueTempTmpBuf;; - return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->toDataURL(self, static_cast(&typeValueTemp), static_cast(&qualityValueTemp)); + Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto typeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String typeValueTempTmpBuf = {}; + typeValueTempTmpBuf.tag = typeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((typeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + typeValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String typeValueTemp = typeValueTempTmpBuf;; + const auto qualityValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Float64 qualityValueTempTmpBuf = {}; + qualityValueTempTmpBuf.tag = qualityValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((qualityValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + qualityValueTempTmpBuf.value = thisDeserializer.readFloat64(); + } + Opt_Float64 qualityValueTemp = qualityValueTempTmpBuf;; + return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->toDataURL(self, static_cast(&typeValueTemp), static_cast(&qualityValueTemp)); } KOALA_INTEROP_3(OffscreenCanvasRenderingContext2D_toDataURL, KStringPtr, Ark_NativePointer, KSerializerBuffer, KInt) -Ark_NativePointer impl_OffscreenCanvasRenderingContext2D_transferToImageBitmap(Ark_NativePointer thisPtr) { - Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast(thisPtr); - return GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->transferToImageBitmap(self); -} -KOALA_INTEROP_DIRECT_1(OffscreenCanvasRenderingContext2D_transferToImageBitmap, Ark_NativePointer, Ark_NativePointer) +KInteropReturnBuffer impl_OffscreenCanvasRenderingContext2D_transferToImageBitmap(Ark_NativePointer thisPtr) { + Ark_OffscreenCanvasRenderingContext2D self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getOffscreenCanvasRenderingContext2DAccessor()->transferToImageBitmap(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCanvasImageBitmapSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(OffscreenCanvasRenderingContext2D_transferToImageBitmap, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_PanGestureEvent_construct() { - return GetAccessors()->getPanGestureEventAccessor()->construct(); + return GetAccessors()->getPanGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PanGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_PanGestureEvent_getFinalizer() { - return GetAccessors()->getPanGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getPanGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PanGestureEvent_getFinalizer, Ark_NativePointer) +void impl_PanGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PanGestureEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_PanGestureEvent_getOffsetX(Ark_NativePointer thisPtr) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureEventAccessor()->getOffsetX(self); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getOffsetX(self); } KOALA_INTEROP_1(PanGestureEvent_getOffsetX, Ark_Int32, Ark_NativePointer) void impl_PanGestureEvent_setOffsetX(Ark_NativePointer thisPtr, KDouble offsetX) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureEventAccessor()->setOffsetX(self, offsetX); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setOffsetX(self, offsetX); } KOALA_INTEROP_V2(PanGestureEvent_setOffsetX, Ark_NativePointer, KDouble) Ark_Int32 impl_PanGestureEvent_getOffsetY(Ark_NativePointer thisPtr) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureEventAccessor()->getOffsetY(self); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getOffsetY(self); } KOALA_INTEROP_1(PanGestureEvent_getOffsetY, Ark_Int32, Ark_NativePointer) void impl_PanGestureEvent_setOffsetY(Ark_NativePointer thisPtr, KDouble offsetY) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureEventAccessor()->setOffsetY(self, offsetY); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setOffsetY(self, offsetY); } KOALA_INTEROP_V2(PanGestureEvent_setOffsetY, Ark_NativePointer, KDouble) Ark_Int32 impl_PanGestureEvent_getVelocityX(Ark_NativePointer thisPtr) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureEventAccessor()->getVelocityX(self); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getVelocityX(self); } KOALA_INTEROP_1(PanGestureEvent_getVelocityX, Ark_Int32, Ark_NativePointer) void impl_PanGestureEvent_setVelocityX(Ark_NativePointer thisPtr, KDouble velocityX) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureEventAccessor()->setVelocityX(self, velocityX); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setVelocityX(self, velocityX); } KOALA_INTEROP_V2(PanGestureEvent_setVelocityX, Ark_NativePointer, KDouble) Ark_Int32 impl_PanGestureEvent_getVelocityY(Ark_NativePointer thisPtr) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureEventAccessor()->getVelocityY(self); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getVelocityY(self); } KOALA_INTEROP_1(PanGestureEvent_getVelocityY, Ark_Int32, Ark_NativePointer) void impl_PanGestureEvent_setVelocityY(Ark_NativePointer thisPtr, KDouble velocityY) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureEventAccessor()->setVelocityY(self, velocityY); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setVelocityY(self, velocityY); } KOALA_INTEROP_V2(PanGestureEvent_setVelocityY, Ark_NativePointer, KDouble) Ark_Int32 impl_PanGestureEvent_getVelocity(Ark_NativePointer thisPtr) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureEventAccessor()->getVelocity(self); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getVelocity(self); } KOALA_INTEROP_1(PanGestureEvent_getVelocity, Ark_Int32, Ark_NativePointer) void impl_PanGestureEvent_setVelocity(Ark_NativePointer thisPtr, KDouble velocity) { - Ark_PanGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureEventAccessor()->setVelocity(self, velocity); + Ark_PanGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setVelocity(self, velocity); } KOALA_INTEROP_V2(PanGestureEvent_setVelocity, Ark_NativePointer, KDouble) Ark_NativePointer impl_PanGestureOptions_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PanGestureHandlerOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentGesturePanGestureHandlerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PanGestureHandlerOptions valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getPanGestureOptionsAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PanGestureHandlerOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentGesturePanGestureHandlerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PanGestureHandlerOptions valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getPanGestureOptionsAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(PanGestureOptions_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_PanGestureOptions_getFinalizer() { - return GetAccessors()->getPanGestureOptionsAccessor()->getFinalizer(); + return GetAccessors()->getPanGestureOptionsAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PanGestureOptions_getFinalizer, Ark_NativePointer) +void impl_PanGestureOptions_callHolder(Ark_NativePointer thisPtr) { + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PanGestureOptions_callHolder, Ark_NativePointer) void impl_PanGestureOptions_setDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_PanGestureOptions self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureOptionsAccessor()->setDirection(self, static_cast(value)); + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->setDirection(self, static_cast(value)); } KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setDirection, Ark_NativePointer, Ark_Int32) void impl_PanGestureOptions_setDistance(Ark_NativePointer thisPtr, KDouble value) { - Ark_PanGestureOptions self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureOptionsAccessor()->setDistance(self, value); + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->setDistance(self, value); } KOALA_INTEROP_V2(PanGestureOptions_setDistance, Ark_NativePointer, KDouble) void impl_PanGestureOptions_setFingers(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_PanGestureOptions self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureOptionsAccessor()->setFingers(self, value); + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureOptionsAccessor()->setFingers(self, value); } KOALA_INTEROP_DIRECT_V2(PanGestureOptions_setFingers, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_PanGestureOptions_getDirection(Ark_NativePointer thisPtr) { - Ark_PanGestureOptions self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self); + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self); } KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDirection, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_PanGestureOptions_getDistance(Ark_NativePointer thisPtr) { - Ark_PanGestureOptions self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanGestureOptionsAccessor()->getDistance(self); + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureOptionsAccessor()->getDistance(self); } KOALA_INTEROP_1(PanGestureOptions_getDistance, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_PanRecognizer_construct() { - return GetAccessors()->getPanRecognizerAccessor()->construct(); + return GetAccessors()->getPanRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PanRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_PanRecognizer_getFinalizer() { - return GetAccessors()->getPanRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getPanRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PanRecognizer_getFinalizer, Ark_NativePointer) +void impl_PanRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_PanRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getPanRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PanRecognizer_callHolder, Ark_NativePointer) Ark_NativePointer impl_PanRecognizer_getPanGestureOptions(Ark_NativePointer thisPtr) { - Ark_PanRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getPanRecognizerAccessor()->getPanGestureOptions(self); + Ark_PanRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanRecognizerAccessor()->getPanGestureOptions(self); } KOALA_INTEROP_DIRECT_1(PanRecognizer_getPanGestureOptions, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_ParagraphStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ParagraphStyleInterface valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentStyledStringParagraphStyleInterfaceSerializerImpl::read(thisDeserializer); - } - Opt_ParagraphStyleInterface valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getParagraphStyleAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ParagraphStyleInterface valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentStyledStringParagraphStyleInterfaceSerializerImpl::read(thisDeserializer); + } + Opt_ParagraphStyleInterface valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getParagraphStyleAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(ParagraphStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ParagraphStyle_getFinalizer() { - return GetAccessors()->getParagraphStyleAccessor()->getFinalizer(); + return GetAccessors()->getParagraphStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ParagraphStyle_getFinalizer, Ark_NativePointer) +void impl_ParagraphStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getParagraphStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ParagraphStyle_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getTextAlign(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getTextAlign(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getTextAlign(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getTextAlign, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getTextIndent(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getTextIndent(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getTextIndent(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getTextIndent, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getMaxLines(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getMaxLines(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getMaxLines(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getMaxLines, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getOverflow(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getOverflow(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getOverflow(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getOverflow, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getWordBreak(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getWordBreak(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getWordBreak(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getWordBreak, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getLeadingMargin(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getLeadingMargin(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - if (retValueTmpValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; - _retSerializer.writeFloat64(retValueTmpValueForIdx0); - } else if (retValueTmpValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; - ArkuiComponentRichEditorLeadingMarginPlaceholderSerializerImpl::write(_retSerializer, retValueTmpValueForIdx1); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getLeadingMargin(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + if (retValueTmpValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; + _retSerializer.writeFloat64(retValueTmpValueForIdx0); + } else if (retValueTmpValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; + ArkuiComponentRichEditorLeadingMarginPlaceholderSerializerImpl::write(_retSerializer, retValueTmpValueForIdx1); } - return _retSerializer.toReturnBuffer(); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getLeadingMargin, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_ParagraphStyle_getParagraphSpacing(Ark_NativePointer thisPtr) { - Ark_ParagraphStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getParagraphSpacing(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getParagraphSpacing(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getParagraphSpacing, KInteropReturnBuffer, Ark_NativePointer) void impl_ParticleHelper_SetDisturbanceFields(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto disturbanceFieldsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_DisturbanceFieldOptionsInner disturbanceFieldsValueTempTmpBuf = {}; - disturbanceFieldsValueTempTmpBuf.tag = disturbanceFieldsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((disturbanceFieldsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 disturbanceFieldsValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_DisturbanceFieldOptionsInner disturbanceFieldsValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto disturbanceFieldsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_DisturbanceFieldOptionsInner disturbanceFieldsValueTempTmpBuf = {}; + disturbanceFieldsValueTempTmpBuf.tag = disturbanceFieldsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((disturbanceFieldsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 disturbanceFieldsValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_DisturbanceFieldOptionsInner disturbanceFieldsValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&disturbanceFieldsValueTempTmpBufOpt, disturbanceFieldsValueTempTmpBufOptLength); - for (int disturbanceFieldsValueTempTmpBufOptBufCounterI = 0; disturbanceFieldsValueTempTmpBufOptBufCounterI < disturbanceFieldsValueTempTmpBufOptLength; disturbanceFieldsValueTempTmpBufOptBufCounterI++) { - disturbanceFieldsValueTempTmpBufOpt.array[disturbanceFieldsValueTempTmpBufOptBufCounterI] = ArkuiComponentIdlizeDisturbanceFieldOptionsInnerSerializerImpl::read(thisDeserializer); - } - disturbanceFieldsValueTempTmpBuf.value = disturbanceFieldsValueTempTmpBufOpt; + for (int disturbanceFieldsValueTempTmpBufOptBufCounterI = 0; disturbanceFieldsValueTempTmpBufOptBufCounterI < disturbanceFieldsValueTempTmpBufOptLength; disturbanceFieldsValueTempTmpBufOptBufCounterI++) { + disturbanceFieldsValueTempTmpBufOpt.array[disturbanceFieldsValueTempTmpBufOptBufCounterI] = ArkuiComponentIdlizeDisturbanceFieldOptionsInnerSerializerImpl::read(thisDeserializer); } - Opt_Array_DisturbanceFieldOptionsInner disturbanceFieldsValueTemp = disturbanceFieldsValueTempTmpBuf;; - GetAccessors()->getParticleHelperAccessor()->SetDisturbanceFields(node, static_cast(&disturbanceFieldsValueTemp)); + disturbanceFieldsValueTempTmpBuf.value = disturbanceFieldsValueTempTmpBufOpt; + } + Opt_Array_DisturbanceFieldOptionsInner disturbanceFieldsValueTemp = disturbanceFieldsValueTempTmpBuf;; + GetAccessors()->getParticleHelperAccessor()->SetDisturbanceFields(node, static_cast(&disturbanceFieldsValueTemp)); } KOALA_INTEROP_DIRECT_V3(ParticleHelper_SetDisturbanceFields, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ParticleHelper_SetEmitterProperty(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto emitterValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_EmitterPropertyInner emitterValueTempTmpBuf = {}; - emitterValueTempTmpBuf.tag = emitterValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((emitterValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 emitterValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_EmitterPropertyInner emitterValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto emitterValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_EmitterPropertyInner emitterValueTempTmpBuf = {}; + emitterValueTempTmpBuf.tag = emitterValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((emitterValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 emitterValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_EmitterPropertyInner emitterValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&emitterValueTempTmpBufOpt, emitterValueTempTmpBufOptLength); - for (int emitterValueTempTmpBufOptBufCounterI = 0; emitterValueTempTmpBufOptBufCounterI < emitterValueTempTmpBufOptLength; emitterValueTempTmpBufOptBufCounterI++) { - emitterValueTempTmpBufOpt.array[emitterValueTempTmpBufOptBufCounterI] = ArkuiComponentIdlizeEmitterPropertyInnerSerializerImpl::read(thisDeserializer); - } - emitterValueTempTmpBuf.value = emitterValueTempTmpBufOpt; + for (int emitterValueTempTmpBufOptBufCounterI = 0; emitterValueTempTmpBufOptBufCounterI < emitterValueTempTmpBufOptLength; emitterValueTempTmpBufOptBufCounterI++) { + emitterValueTempTmpBufOpt.array[emitterValueTempTmpBufOptBufCounterI] = ArkuiComponentIdlizeEmitterPropertyInnerSerializerImpl::read(thisDeserializer); } - Opt_Array_EmitterPropertyInner emitterValueTemp = emitterValueTempTmpBuf;; - GetAccessors()->getParticleHelperAccessor()->SetEmitterProperty(node, static_cast(&emitterValueTemp)); + emitterValueTempTmpBuf.value = emitterValueTempTmpBufOpt; + } + Opt_Array_EmitterPropertyInner emitterValueTemp = emitterValueTempTmpBuf;; + GetAccessors()->getParticleHelperAccessor()->SetEmitterProperty(node, static_cast(&emitterValueTemp)); } KOALA_INTEROP_DIRECT_V3(ParticleHelper_SetEmitterProperty, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ParticleHelper_ParticleConstruct(Ark_Int32 id, Ark_Int32 flags) { - return GetAccessors()->getParticleHelperAccessor()->ParticleConstruct(id, flags); + return GetAccessors()->getParticleHelperAccessor()->ParticleConstruct(id, flags); } KOALA_INTEROP_DIRECT_2(ParticleHelper_ParticleConstruct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_ParticleHelper_SetParticleOptions(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ParticlesInner particlesValueTemp = ArkuiComponentIdlizeParticlesInnerSerializerImpl::read(thisDeserializer);; - GetAccessors()->getParticleHelperAccessor()->SetParticleOptions(node, static_cast(&particlesValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ParticlesInner particlesValueTemp = ArkuiComponentIdlizeParticlesInnerSerializerImpl::read(thisDeserializer);; + GetAccessors()->getParticleHelperAccessor()->SetParticleOptions(node, static_cast(&particlesValueTemp)); } KOALA_INTEROP_DIRECT_V3(ParticleHelper_SetParticleOptions, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_PasteEvent_construct() { - return GetAccessors()->getPasteEventAccessor()->construct(); + return GetAccessors()->getPasteEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PasteEvent_construct, Ark_NativePointer) Ark_NativePointer impl_PasteEvent_getFinalizer() { - return GetAccessors()->getPasteEventAccessor()->getFinalizer(); + return GetAccessors()->getPasteEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PasteEvent_getFinalizer, Ark_NativePointer) +void impl_PasteEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_PasteEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPasteEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PasteEvent_callHolder, Ark_NativePointer) void impl_PasteEvent_preventDefault(Ark_NativePointer thisPtr) { - Ark_PasteEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPasteEventAccessor()->preventDefault(self); + Ark_PasteEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPasteEventAccessor()->preventDefault(self); } KOALA_INTEROP_DIRECT_V1(PasteEvent_preventDefault, Ark_NativePointer) Ark_NativePointer impl_Path2D_construct0() { - return GetAccessors()->getPath2DAccessor()->construct0(); + return GetAccessors()->getPath2DAccessor()->construct0(); } KOALA_INTEROP_DIRECT_0(Path2D_construct0, Ark_NativePointer) Ark_NativePointer impl_Path2D_construct1(Ark_Int32 unit) { - return GetAccessors()->getPath2DAccessor()->construct1(static_cast(unit)); + return GetAccessors()->getPath2DAccessor()->construct1(static_cast(unit)); } KOALA_INTEROP_DIRECT_1(Path2D_construct1, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_Path2D_construct2(Ark_NativePointer path) { - return GetAccessors()->getPath2DAccessor()->construct2(static_cast(path)); + return GetAccessors()->getPath2DAccessor()->construct2(static_cast(path)); } KOALA_INTEROP_DIRECT_1(Path2D_construct2, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_Path2D_construct3(Ark_NativePointer path, Ark_Int32 unit) { - return GetAccessors()->getPath2DAccessor()->construct3(static_cast(path), static_cast(unit)); + return GetAccessors()->getPath2DAccessor()->construct3(static_cast(path), static_cast(unit)); } KOALA_INTEROP_DIRECT_2(Path2D_construct3, Ark_NativePointer, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_Path2D_construct4(const KStringPtr& d) { - return GetAccessors()->getPath2DAccessor()->construct4((const Ark_String*) (&d)); + return GetAccessors()->getPath2DAccessor()->construct4((const Ark_String*) (&d)); } KOALA_INTEROP_1(Path2D_construct4, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_Path2D_construct5(const KStringPtr& description, Ark_Int32 unit) { - return GetAccessors()->getPath2DAccessor()->construct5((const Ark_String*) (&description), static_cast(unit)); + return GetAccessors()->getPath2DAccessor()->construct5((const Ark_String*) (&description), static_cast(unit)); } KOALA_INTEROP_2(Path2D_construct5, Ark_NativePointer, KStringPtr, Ark_Int32) Ark_NativePointer impl_Path2D_getFinalizer() { - return GetAccessors()->getPath2DAccessor()->getFinalizer(); + return GetAccessors()->getPath2DAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Path2D_getFinalizer, Ark_NativePointer) +void impl_Path2D_callHolder(Ark_NativePointer thisPtr) { + Ark_Path2D self = reinterpret_cast(thisPtr); + GetAccessors()->getPath2DAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(Path2D_callHolder, Ark_NativePointer) void impl_Path2D_addPath(Ark_NativePointer thisPtr, Ark_NativePointer path, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Path2D self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto transformValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Matrix2D transformValueTempTmpBuf = {}; - transformValueTempTmpBuf.tag = transformValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((transformValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - transformValueTempTmpBuf.value = static_cast(ArkuiComponentMatrix2dMatrix2DSerializerImpl::read(thisDeserializer)); - } - Opt_Matrix2D transformValueTemp = transformValueTempTmpBuf;; - GetAccessors()->getPath2DAccessor()->addPath(self, static_cast(path), static_cast(&transformValueTemp)); + Ark_Path2D self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto transformValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Matrix2D transformValueTempTmpBuf = {}; + transformValueTempTmpBuf.tag = transformValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((transformValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + transformValueTempTmpBuf.value = static_cast(ArkuiComponentMatrix2dMatrix2DSerializerImpl::read(thisDeserializer)); + } + Opt_Matrix2D transformValueTemp = transformValueTempTmpBuf;; + GetAccessors()->getPath2DAccessor()->addPath(self, static_cast(path), static_cast(&transformValueTemp)); } KOALA_INTEROP_DIRECT_V4(Path2D_addPath, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_PatternLockController_construct() { - return GetAccessors()->getPatternLockControllerAccessor()->construct(); + return GetAccessors()->getPatternLockControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PatternLockController_construct, Ark_NativePointer) Ark_NativePointer impl_PatternLockController_getFinalizer() { - return GetAccessors()->getPatternLockControllerAccessor()->getFinalizer(); + return GetAccessors()->getPatternLockControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PatternLockController_getFinalizer, Ark_NativePointer) +void impl_PatternLockController_callHolder(Ark_NativePointer thisPtr) { + Ark_PatternLockController self = reinterpret_cast(thisPtr); + GetAccessors()->getPatternLockControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PatternLockController_callHolder, Ark_NativePointer) void impl_PatternLockController_reset(Ark_NativePointer thisPtr) { - Ark_PatternLockController self = reinterpret_cast(thisPtr); - GetAccessors()->getPatternLockControllerAccessor()->reset(self); + Ark_PatternLockController self = reinterpret_cast(thisPtr); + GetAccessors()->getPatternLockControllerAccessor()->reset(self); } KOALA_INTEROP_DIRECT_V1(PatternLockController_reset, Ark_NativePointer) void impl_PatternLockController_setChallengeResult(Ark_NativePointer thisPtr, Ark_Int32 result) { - Ark_PatternLockController self = reinterpret_cast(thisPtr); - GetAccessors()->getPatternLockControllerAccessor()->setChallengeResult(self, static_cast(result)); + Ark_PatternLockController self = reinterpret_cast(thisPtr); + GetAccessors()->getPatternLockControllerAccessor()->setChallengeResult(self, static_cast(result)); } KOALA_INTEROP_DIRECT_V2(PatternLockController_setChallengeResult, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_PersistentStorageBackend_get(const KStringPtr& key) { - const auto &retValue = GetAccessors()->getPersistentStorageBackendAccessor()->get((const Ark_String*) (&key)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeString(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getPersistentStorageBackendAccessor()->get((const Ark_String*) (&key)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeString(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(PersistentStorageBackend_get, KInteropReturnBuffer, KStringPtr) Ark_Boolean impl_PersistentStorageBackend_has(const KStringPtr& key) { - return GetAccessors()->getPersistentStorageBackendAccessor()->has((const Ark_String*) (&key)); + return GetAccessors()->getPersistentStorageBackendAccessor()->has((const Ark_String*) (&key)); } KOALA_INTEROP_1(PersistentStorageBackend_has, Ark_Boolean, KStringPtr) void impl_PersistentStorageBackend_remove(const KStringPtr& key) { - GetAccessors()->getPersistentStorageBackendAccessor()->remove((const Ark_String*) (&key)); + GetAccessors()->getPersistentStorageBackendAccessor()->remove((const Ark_String*) (&key)); } KOALA_INTEROP_V1(PersistentStorageBackend_remove, KStringPtr) void impl_PersistentStorageBackend_set(const KStringPtr& key, const KStringPtr& value) { - GetAccessors()->getPersistentStorageBackendAccessor()->set((const Ark_String*) (&key), (const Ark_String*) (&value)); + GetAccessors()->getPersistentStorageBackendAccessor()->set((const Ark_String*) (&key), (const Ark_String*) (&value)); } KOALA_INTEROP_V2(PersistentStorageBackend_set, KStringPtr, KStringPtr) void impl_PersistentStorageBackend_clear() { - GetAccessors()->getPersistentStorageBackendAccessor()->clear(); + GetAccessors()->getPersistentStorageBackendAccessor()->clear(); } KOALA_INTEROP_DIRECT_V0(PersistentStorageBackend_clear) Ark_NativePointer impl_PinchGestureEvent_construct() { - return GetAccessors()->getPinchGestureEventAccessor()->construct(); + return GetAccessors()->getPinchGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PinchGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_PinchGestureEvent_getFinalizer() { - return GetAccessors()->getPinchGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getPinchGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PinchGestureEvent_getFinalizer, Ark_NativePointer) +void impl_PinchGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PinchGestureEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_PinchGestureEvent_getScale(Ark_NativePointer thisPtr) { - Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPinchGestureEventAccessor()->getScale(self); + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchGestureEventAccessor()->getScale(self); } KOALA_INTEROP_1(PinchGestureEvent_getScale, Ark_Int32, Ark_NativePointer) void impl_PinchGestureEvent_setScale(Ark_NativePointer thisPtr, KDouble scale) { - Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPinchGestureEventAccessor()->setScale(self, scale); + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->setScale(self, scale); } KOALA_INTEROP_V2(PinchGestureEvent_setScale, Ark_NativePointer, KDouble) Ark_Int32 impl_PinchGestureEvent_getPinchCenterX(Ark_NativePointer thisPtr) { - Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterX(self); + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterX(self); } KOALA_INTEROP_1(PinchGestureEvent_getPinchCenterX, Ark_Int32, Ark_NativePointer) void impl_PinchGestureEvent_setPinchCenterX(Ark_NativePointer thisPtr, KDouble pinchCenterX) { - Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterX(self, pinchCenterX); + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterX(self, pinchCenterX); } KOALA_INTEROP_V2(PinchGestureEvent_setPinchCenterX, Ark_NativePointer, KDouble) Ark_Int32 impl_PinchGestureEvent_getPinchCenterY(Ark_NativePointer thisPtr) { - Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterY(self); + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterY(self); } KOALA_INTEROP_1(PinchGestureEvent_getPinchCenterY, Ark_Int32, Ark_NativePointer) void impl_PinchGestureEvent_setPinchCenterY(Ark_NativePointer thisPtr, KDouble pinchCenterY) { - Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterY(self, pinchCenterY); + Ark_PinchGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterY(self, pinchCenterY); } KOALA_INTEROP_V2(PinchGestureEvent_setPinchCenterY, Ark_NativePointer, KDouble) Ark_NativePointer impl_PinchRecognizer_construct() { - return GetAccessors()->getPinchRecognizerAccessor()->construct(); + return GetAccessors()->getPinchRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PinchRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_PinchRecognizer_getFinalizer() { - return GetAccessors()->getPinchRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getPinchRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PinchRecognizer_getFinalizer, Ark_NativePointer) +void impl_PinchRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_PinchRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PinchRecognizer_callHolder, Ark_NativePointer) Ark_Int32 impl_PinchRecognizer_getDistance(Ark_NativePointer thisPtr) { - Ark_PinchRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getPinchRecognizerAccessor()->getDistance(self); + Ark_PinchRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchRecognizerAccessor()->getDistance(self); } KOALA_INTEROP_1(PinchRecognizer_getDistance, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_PixelMapMock_construct() { - return GetAccessors()->getPixelMapMockAccessor()->construct(); + return GetAccessors()->getPixelMapMockAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PixelMapMock_construct, Ark_NativePointer) Ark_NativePointer impl_PixelMapMock_getFinalizer() { - return GetAccessors()->getPixelMapMockAccessor()->getFinalizer(); + return GetAccessors()->getPixelMapMockAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PixelMapMock_getFinalizer, Ark_NativePointer) +void impl_PixelMapMock_callHolder(Ark_NativePointer thisPtr) { + Ark_PixelMapMock self = reinterpret_cast(thisPtr); + GetAccessors()->getPixelMapMockAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PixelMapMock_callHolder, Ark_NativePointer) void impl_PixelMapMock_release(Ark_NativePointer thisPtr) { - Ark_PixelMapMock self = reinterpret_cast(thisPtr); - GetAccessors()->getPixelMapMockAccessor()->release(self); + Ark_PixelMapMock self = reinterpret_cast(thisPtr); + GetAccessors()->getPixelMapMockAccessor()->release(self); } KOALA_INTEROP_DIRECT_V1(PixelMapMock_release, Ark_NativePointer) Ark_NativePointer impl_ProgressMask_construct(KDouble value, KDouble total, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 colorValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor colorValueTempTmpBuf = {}; - colorValueTempTmpBuf.selector = colorValueTempTmpBufUnionSelector; - if (colorValueTempTmpBufUnionSelector == 0) { - colorValueTempTmpBuf.selector = 0; - colorValueTempTmpBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (colorValueTempTmpBufUnionSelector == 1) { - colorValueTempTmpBuf.selector = 1; - colorValueTempTmpBuf.value1 = thisDeserializer.readInt32(); - } else if (colorValueTempTmpBufUnionSelector == 2) { - colorValueTempTmpBuf.selector = 2; - colorValueTempTmpBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (colorValueTempTmpBufUnionSelector == 3) { - colorValueTempTmpBuf.selector = 3; - colorValueTempTmpBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for colorValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceColor colorValueTemp = static_cast(colorValueTempTmpBuf);; - return GetAccessors()->getProgressMaskAccessor()->construct(value, total, static_cast(&colorValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 colorValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor colorValueTempTmpBuf = {}; + colorValueTempTmpBuf.selector = colorValueTempTmpBufUnionSelector; + if (colorValueTempTmpBufUnionSelector == 0) { + colorValueTempTmpBuf.selector = 0; + colorValueTempTmpBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (colorValueTempTmpBufUnionSelector == 1) { + colorValueTempTmpBuf.selector = 1; + colorValueTempTmpBuf.value1 = thisDeserializer.readInt32(); + } else if (colorValueTempTmpBufUnionSelector == 2) { + colorValueTempTmpBuf.selector = 2; + colorValueTempTmpBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (colorValueTempTmpBufUnionSelector == 3) { + colorValueTempTmpBuf.selector = 3; + colorValueTempTmpBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for colorValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceColor colorValueTemp = static_cast(colorValueTempTmpBuf);; + return GetAccessors()->getProgressMaskAccessor()->construct(value, total, static_cast(&colorValueTemp)); } KOALA_INTEROP_4(ProgressMask_construct, Ark_NativePointer, KDouble, KDouble, KSerializerBuffer, KInt) Ark_NativePointer impl_ProgressMask_getFinalizer() { - return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); + return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ProgressMask_getFinalizer, Ark_NativePointer) +void impl_ProgressMask_callHolder(Ark_NativePointer thisPtr) { + Ark_ProgressMask self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ProgressMask_callHolder, Ark_NativePointer) void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KDouble value) { - Ark_ProgressMask self = reinterpret_cast(thisPtr); - GetAccessors()->getProgressMaskAccessor()->updateProgress(self, value); + Ark_ProgressMask self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->updateProgress(self, value); } KOALA_INTEROP_V2(ProgressMask_updateProgress, Ark_NativePointer, KDouble) void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ProgressMask self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufUnionSelector == 2) { - valueValueTempTmpBuf.selector = 2; - valueValueTempTmpBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufUnionSelector == 3) { - valueValueTempTmpBuf.selector = 3; - valueValueTempTmpBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceColor valueValueTemp = static_cast(valueValueTempTmpBuf);; - GetAccessors()->getProgressMaskAccessor()->updateColor(self, static_cast(&valueValueTemp)); + Ark_ProgressMask self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufUnionSelector == 2) { + valueValueTempTmpBuf.selector = 2; + valueValueTempTmpBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufUnionSelector == 3) { + valueValueTempTmpBuf.selector = 3; + valueValueTempTmpBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceColor valueValueTemp = static_cast(valueValueTempTmpBuf);; + GetAccessors()->getProgressMaskAccessor()->updateColor(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(ProgressMask_updateColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_ProgressMask self = reinterpret_cast(thisPtr); - GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); + Ark_ProgressMask self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); } KOALA_INTEROP_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) void impl_PromptActionExtender_openPopup(KVMContext vmContext, Ark_NativePointer content, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TargetInfo targetValueTemp = OhosArkuiUIContextTargetInfoSerializerImpl::read(thisDeserializer);; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PopupCommonOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonPopupCommonOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PopupCommonOptions optionsValueTemp = optionsValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getPromptActionExtenderAccessor()->openPopup(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&targetValueTemp), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TargetInfo targetValueTemp = OhosArkuiUIContextTargetInfoSerializerImpl::read(thisDeserializer);; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PopupCommonOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonPopupCommonOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PopupCommonOptions optionsValueTemp = optionsValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getPromptActionExtenderAccessor()->openPopup(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&targetValueTemp), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(PromptActionExtender_openPopup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PromptActionExtender_updatePopup(KVMContext vmContext, Ark_NativePointer content, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PopupCommonOptions optionsValueTemp = ArkuiComponentCommonPopupCommonOptionsSerializerImpl::read(thisDeserializer);; - const auto partialUpdateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean partialUpdateValueTempTmpBuf = {}; - partialUpdateValueTempTmpBuf.tag = partialUpdateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((partialUpdateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - partialUpdateValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean partialUpdateValueTemp = partialUpdateValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getPromptActionExtenderAccessor()->updatePopup(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&optionsValueTemp), static_cast(&partialUpdateValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PopupCommonOptions optionsValueTemp = ArkuiComponentCommonPopupCommonOptionsSerializerImpl::read(thisDeserializer);; + const auto partialUpdateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean partialUpdateValueTempTmpBuf = {}; + partialUpdateValueTempTmpBuf.tag = partialUpdateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((partialUpdateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + partialUpdateValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean partialUpdateValueTemp = partialUpdateValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getPromptActionExtenderAccessor()->updatePopup(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&optionsValueTemp), static_cast(&partialUpdateValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(PromptActionExtender_updatePopup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PromptActionExtender_closePopup(KVMContext vmContext, Ark_NativePointer content, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getPromptActionExtenderAccessor()->closePopup(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getPromptActionExtenderAccessor()->closePopup(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(PromptActionExtender_closePopup, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PromptActionExtender_openMenu(KVMContext vmContext, Ark_NativePointer content, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TargetInfo targetValueTemp = OhosArkuiUIContextTargetInfoSerializerImpl::read(thisDeserializer);; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer); - } - Opt_MenuOptions optionsValueTemp = optionsValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getPromptActionExtenderAccessor()->openMenu(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&targetValueTemp), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TargetInfo targetValueTemp = OhosArkuiUIContextTargetInfoSerializerImpl::read(thisDeserializer);; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer); + } + Opt_MenuOptions optionsValueTemp = optionsValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getPromptActionExtenderAccessor()->openMenu(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&targetValueTemp), static_cast(&optionsValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(PromptActionExtender_openMenu, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PromptActionExtender_updateMenu(KVMContext vmContext, Ark_NativePointer content, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_MenuOptions optionsValueTemp = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer);; - const auto partialUpdateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean partialUpdateValueTempTmpBuf = {}; - partialUpdateValueTempTmpBuf.tag = partialUpdateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((partialUpdateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - partialUpdateValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean partialUpdateValueTemp = partialUpdateValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getPromptActionExtenderAccessor()->updateMenu(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&optionsValueTemp), static_cast(&partialUpdateValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_MenuOptions optionsValueTemp = ArkuiComponentCommonMenuOptionsSerializerImpl::read(thisDeserializer);; + const auto partialUpdateValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean partialUpdateValueTempTmpBuf = {}; + partialUpdateValueTempTmpBuf.tag = partialUpdateValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((partialUpdateValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + partialUpdateValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean partialUpdateValueTemp = partialUpdateValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getPromptActionExtenderAccessor()->updateMenu(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&optionsValueTemp), static_cast(&partialUpdateValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(PromptActionExtender_updateMenu, Ark_NativePointer, KSerializerBuffer, KInt) void impl_PromptActionExtender_closeMenu(KVMContext vmContext, Ark_NativePointer content, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getPromptActionExtenderAccessor()->closeMenu(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getPromptActionExtenderAccessor()->closeMenu(reinterpret_cast(vmContext), GetAsyncWorker(), content, static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(PromptActionExtender_closeMenu, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_PulseSymbolEffect_construct() { - return GetAccessors()->getPulseSymbolEffectAccessor()->construct(); + return GetAccessors()->getPulseSymbolEffectAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_construct, Ark_NativePointer) Ark_NativePointer impl_PulseSymbolEffect_getFinalizer() { - return GetAccessors()->getPulseSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getPulseSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(PulseSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_PulseSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_PulseSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getPulseSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(PulseSymbolEffect_callHolder, Ark_NativePointer) Ark_NativePointer impl_RenderingContextSettings_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto antialiasValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean antialiasValueTempTmpBuf = {}; - antialiasValueTempTmpBuf.tag = antialiasValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((antialiasValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - antialiasValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean antialiasValueTemp = antialiasValueTempTmpBuf;; - return GetAccessors()->getRenderingContextSettingsAccessor()->construct(static_cast(&antialiasValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto antialiasValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean antialiasValueTempTmpBuf = {}; + antialiasValueTempTmpBuf.tag = antialiasValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((antialiasValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + antialiasValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean antialiasValueTemp = antialiasValueTempTmpBuf;; + return GetAccessors()->getRenderingContextSettingsAccessor()->construct(static_cast(&antialiasValueTemp)); } KOALA_INTEROP_DIRECT_2(RenderingContextSettings_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RenderingContextSettings_getFinalizer() { - return GetAccessors()->getRenderingContextSettingsAccessor()->getFinalizer(); + return GetAccessors()->getRenderingContextSettingsAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RenderingContextSettings_getFinalizer, Ark_NativePointer) +void impl_RenderingContextSettings_callHolder(Ark_NativePointer thisPtr) { + Ark_RenderingContextSettings self = reinterpret_cast(thisPtr); + GetAccessors()->getRenderingContextSettingsAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RenderingContextSettings_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_RenderingContextSettings_getAntialias(Ark_NativePointer thisPtr) { - Ark_RenderingContextSettings self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRenderingContextSettingsAccessor()->getAntialias(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RenderingContextSettings self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRenderingContextSettingsAccessor()->getAntialias(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RenderingContextSettings_getAntialias, KInteropReturnBuffer, Ark_NativePointer) void impl_RenderingContextSettings_setAntialias(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RenderingContextSettings self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto antialiasValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean antialiasValueTempTmpBuf = {}; - antialiasValueTempTmpBuf.tag = antialiasValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((antialiasValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - antialiasValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean antialiasValueTemp = antialiasValueTempTmpBuf;; - GetAccessors()->getRenderingContextSettingsAccessor()->setAntialias(self, static_cast(&antialiasValueTemp)); + Ark_RenderingContextSettings self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto antialiasValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean antialiasValueTempTmpBuf = {}; + antialiasValueTempTmpBuf.tag = antialiasValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((antialiasValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + antialiasValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean antialiasValueTemp = antialiasValueTempTmpBuf;; + GetAccessors()->getRenderingContextSettingsAccessor()->setAntialias(self, static_cast(&antialiasValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderingContextSettings_setAntialias, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RenderNodeExtender_constructorRenderNode(Ark_Int32 nodeId) { - return GetAccessors()->getRenderNodeExtenderAccessor()->constructorRenderNode(nodeId); + return GetAccessors()->getRenderNodeExtenderAccessor()->constructorRenderNode(nodeId); } KOALA_INTEROP_DIRECT_1(RenderNodeExtender_constructorRenderNode, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_RenderNodeExtender_getDestroy() { - return GetAccessors()->getRenderNodeExtenderAccessor()->getDestroy(); + return GetAccessors()->getRenderNodeExtenderAccessor()->getDestroy(); } KOALA_INTEROP_DIRECT_0(RenderNodeExtender_getDestroy, Ark_NativePointer) void impl_RenderNodeExtender_destroyPeer(Ark_NativePointer peer) { - GetAccessors()->getRenderNodeExtenderAccessor()->destroyPeer(static_cast(peer)); + GetAccessors()->getRenderNodeExtenderAccessor()->destroyPeer(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(RenderNodeExtender_destroyPeer, Ark_NativePointer) void impl_RenderNodeExtender_setBackgroundColor(Ark_NativePointer peer, KInteropNumber backgroundColor) { - GetAccessors()->getRenderNodeExtenderAccessor()->setBackgroundColor(static_cast(peer), (const Ark_Number*) (&backgroundColor)); + GetAccessors()->getRenderNodeExtenderAccessor()->setBackgroundColor(static_cast(peer), (const Ark_Number*) (&backgroundColor)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_setBackgroundColor, Ark_NativePointer, KInteropNumber) void impl_RenderNodeExtender_setClipToFrame(Ark_NativePointer peer, Ark_Boolean clipToFrame) { - GetAccessors()->getRenderNodeExtenderAccessor()->setClipToFrame(static_cast(peer), clipToFrame); + GetAccessors()->getRenderNodeExtenderAccessor()->setClipToFrame(static_cast(peer), clipToFrame); } KOALA_INTEROP_V2(RenderNodeExtender_setClipToFrame, Ark_NativePointer, Ark_Boolean) void impl_RenderNodeExtender_setOpacity(Ark_NativePointer peer, KInteropNumber opacity) { - GetAccessors()->getRenderNodeExtenderAccessor()->setOpacity(static_cast(peer), (const Ark_Number*) (&opacity)); + GetAccessors()->getRenderNodeExtenderAccessor()->setOpacity(static_cast(peer), (const Ark_Number*) (&opacity)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_setOpacity, Ark_NativePointer, KInteropNumber) void impl_RenderNodeExtender_setSize(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 unitValue) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Size sizeValueTemp = ArkuiGraphicsSizeSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setSize(static_cast(peer), static_cast(&sizeValueTemp), unitValue); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Size sizeValueTemp = ArkuiGraphicsSizeSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setSize(static_cast(peer), static_cast(&sizeValueTemp), unitValue); } KOALA_INTEROP_DIRECT_V4(RenderNodeExtender_setSize, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_RenderNodeExtender_setPosition(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 unitValue) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector2 positionValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setPosition(static_cast(peer), static_cast(&positionValueTemp), unitValue); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector2 positionValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setPosition(static_cast(peer), static_cast(&positionValueTemp), unitValue); } KOALA_INTEROP_DIRECT_V4(RenderNodeExtender_setPosition, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_RenderNodeExtender_setPivot(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector2 pivotValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setPivot(static_cast(peer), static_cast(&pivotValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector2 pivotValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setPivot(static_cast(peer), static_cast(&pivotValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setPivot, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setScale(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector2 scaleValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setScale(static_cast(peer), static_cast(&scaleValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector2 scaleValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setScale(static_cast(peer), static_cast(&scaleValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setScale, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setTranslation(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector2 translationValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setTranslation(static_cast(peer), static_cast(&translationValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector2 translationValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setTranslation(static_cast(peer), static_cast(&translationValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setTranslation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setRotation(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 unitValue) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector3 rotationValueTemp = ArkuiGraphicsVector3SerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setRotation(static_cast(peer), static_cast(&rotationValueTemp), unitValue); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector3 rotationValueTemp = ArkuiGraphicsVector3SerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setRotation(static_cast(peer), static_cast(&rotationValueTemp), unitValue); } KOALA_INTEROP_DIRECT_V4(RenderNodeExtender_setRotation, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_RenderNodeExtender_setTransform(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Matrix4 transformValueTempTmpBuf = {}; - transformValueTempTmpBuf.value0 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value2 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value3 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value4 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value5 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value6 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value7 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value8 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value9 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value10 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value11 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value12 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value13 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value14 = thisDeserializer.readFloat64(); - transformValueTempTmpBuf.value15 = thisDeserializer.readFloat64(); - Ark_Matrix4 transformValueTemp = transformValueTempTmpBuf;; - GetAccessors()->getRenderNodeExtenderAccessor()->setTransform(static_cast(peer), static_cast(&transformValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Matrix4 transformValueTempTmpBuf = {}; + transformValueTempTmpBuf.value0 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value2 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value3 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value4 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value5 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value6 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value7 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value8 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value9 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value10 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value11 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value12 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value13 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value14 = thisDeserializer.readFloat64(); + transformValueTempTmpBuf.value15 = thisDeserializer.readFloat64(); + Ark_Matrix4 transformValueTemp = transformValueTempTmpBuf;; + GetAccessors()->getRenderNodeExtenderAccessor()->setTransform(static_cast(peer), static_cast(&transformValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setTransform, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setShadowColor(Ark_NativePointer peer, KInteropNumber shadowColor) { - GetAccessors()->getRenderNodeExtenderAccessor()->setShadowColor(static_cast(peer), (const Ark_Number*) (&shadowColor)); + GetAccessors()->getRenderNodeExtenderAccessor()->setShadowColor(static_cast(peer), (const Ark_Number*) (&shadowColor)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_setShadowColor, Ark_NativePointer, KInteropNumber) void impl_RenderNodeExtender_setShadowOffset(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 unitValue) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Vector2 shadowOffsetValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setShadowOffset(static_cast(peer), static_cast(&shadowOffsetValueTemp), unitValue); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Vector2 shadowOffsetValueTemp = ArkuiGraphicsVector2SerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setShadowOffset(static_cast(peer), static_cast(&shadowOffsetValueTemp), unitValue); } KOALA_INTEROP_DIRECT_V4(RenderNodeExtender_setShadowOffset, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_RenderNodeExtender_setLabel(Ark_NativePointer peer, const KStringPtr& label) { - GetAccessors()->getRenderNodeExtenderAccessor()->setLabel(static_cast(peer), (const Ark_String*) (&label)); + GetAccessors()->getRenderNodeExtenderAccessor()->setLabel(static_cast(peer), (const Ark_String*) (&label)); } KOALA_INTEROP_V2(RenderNodeExtender_setLabel, Ark_NativePointer, KStringPtr) void impl_RenderNodeExtender_setShadowAlpha(Ark_NativePointer peer, KInteropNumber shadowAlpha) { - GetAccessors()->getRenderNodeExtenderAccessor()->setShadowAlpha(static_cast(peer), (const Ark_Number*) (&shadowAlpha)); + GetAccessors()->getRenderNodeExtenderAccessor()->setShadowAlpha(static_cast(peer), (const Ark_Number*) (&shadowAlpha)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_setShadowAlpha, Ark_NativePointer, KInteropNumber) void impl_RenderNodeExtender_setShadowElevation(Ark_NativePointer peer, KInteropNumber shadowElevation) { - GetAccessors()->getRenderNodeExtenderAccessor()->setShadowElevation(static_cast(peer), (const Ark_Number*) (&shadowElevation)); + GetAccessors()->getRenderNodeExtenderAccessor()->setShadowElevation(static_cast(peer), (const Ark_Number*) (&shadowElevation)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_setShadowElevation, Ark_NativePointer, KInteropNumber) void impl_RenderNodeExtender_setShadowRadius(Ark_NativePointer peer, KInteropNumber shadowRadius) { - GetAccessors()->getRenderNodeExtenderAccessor()->setShadowRadius(static_cast(peer), (const Ark_Number*) (&shadowRadius)); + GetAccessors()->getRenderNodeExtenderAccessor()->setShadowRadius(static_cast(peer), (const Ark_Number*) (&shadowRadius)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_setShadowRadius, Ark_NativePointer, KInteropNumber) void impl_RenderNodeExtender_setBorderStyle(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_NodeEdgeStyles borderStyleValueTemp = ArkuiComponentIdlizeNodeEdgeStylesSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setBorderStyle(static_cast(peer), static_cast(&borderStyleValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_NodeEdgeStyles borderStyleValueTemp = ArkuiComponentIdlizeNodeEdgeStylesSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setBorderStyle(static_cast(peer), static_cast(&borderStyleValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setBorderStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setBorderWidth(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 unitValue) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_EdgeNumber borderWidthValueTemp = ArkuiComponentIdlizeEdgeNumberSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setBorderWidth(static_cast(peer), static_cast(&borderWidthValueTemp), unitValue); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_EdgeNumber borderWidthValueTemp = ArkuiComponentIdlizeEdgeNumberSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setBorderWidth(static_cast(peer), static_cast(&borderWidthValueTemp), unitValue); } KOALA_INTEROP_DIRECT_V4(RenderNodeExtender_setBorderWidth, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_RenderNodeExtender_setBorderColor(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_EdgeNumber borderColorValueTemp = ArkuiComponentIdlizeEdgeNumberSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setBorderColor(static_cast(peer), static_cast(&borderColorValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_EdgeNumber borderColorValueTemp = ArkuiComponentIdlizeEdgeNumberSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setBorderColor(static_cast(peer), static_cast(&borderColorValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setBorderColor, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setBorderRadius(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 unitValue) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_BorderRadiuses_graphics borderRadiusValueTemp = ArkuiComponentIdlizeBorderRadiuses_graphicsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setBorderRadius(static_cast(peer), static_cast(&borderRadiusValueTemp), unitValue); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_BorderRadiuses_graphics borderRadiusValueTemp = ArkuiComponentIdlizeBorderRadiuses_graphicsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setBorderRadius(static_cast(peer), static_cast(&borderRadiusValueTemp), unitValue); } KOALA_INTEROP_DIRECT_V4(RenderNodeExtender_setBorderRadius, Ark_NativePointer, KSerializerBuffer, KInt, Ark_Int32) void impl_RenderNodeExtender_setMarkNodeGroup(Ark_NativePointer peer, Ark_Boolean markNodeGroup) { - GetAccessors()->getRenderNodeExtenderAccessor()->setMarkNodeGroup(static_cast(peer), markNodeGroup); + GetAccessors()->getRenderNodeExtenderAccessor()->setMarkNodeGroup(static_cast(peer), markNodeGroup); } KOALA_INTEROP_V2(RenderNodeExtender_setMarkNodeGroup, Ark_NativePointer, Ark_Boolean) void impl_RenderNodeExtender_setRectMask(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setRectMask(static_cast(peer), static_cast(&rectValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setRectMask(static_cast(peer), static_cast(&rectValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); } KOALA_INTEROP_DIRECT_V6(RenderNodeExtender_setRectMask, Ark_NativePointer, KSerializerBuffer, KInt, KInteropNumber, KInteropNumber, KInteropNumber) void impl_RenderNodeExtender_setCircleMask(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Circle circleValueTemp = ArkuiGraphicsCircleSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setCircleMask(static_cast(peer), static_cast(&circleValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Circle circleValueTemp = ArkuiGraphicsCircleSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setCircleMask(static_cast(peer), static_cast(&circleValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); } KOALA_INTEROP_DIRECT_V6(RenderNodeExtender_setCircleMask, Ark_NativePointer, KSerializerBuffer, KInt, KInteropNumber, KInteropNumber, KInteropNumber) void impl_RenderNodeExtender_setRoundRectMask(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RoundRect roundRectValueTemp = ArkuiGraphicsRoundRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setRoundRectMask(static_cast(peer), static_cast(&roundRectValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RoundRect roundRectValueTemp = ArkuiGraphicsRoundRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setRoundRectMask(static_cast(peer), static_cast(&roundRectValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); } KOALA_INTEROP_DIRECT_V6(RenderNodeExtender_setRoundRectMask, Ark_NativePointer, KSerializerBuffer, KInt, KInteropNumber, KInteropNumber, KInteropNumber) void impl_RenderNodeExtender_setOvalMask(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setOvalMask(static_cast(peer), static_cast(&rectValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setOvalMask(static_cast(peer), static_cast(&rectValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); } KOALA_INTEROP_DIRECT_V6(RenderNodeExtender_setOvalMask, Ark_NativePointer, KSerializerBuffer, KInt, KInteropNumber, KInteropNumber, KInteropNumber) void impl_RenderNodeExtender_setPath(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength, KInteropNumber fillColor, KInteropNumber strokeColor, KInteropNumber strokeWidth) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_CommandPath pathValueTemp = ArkuiGraphicsCommandPathSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setPath(static_cast(peer), static_cast(&pathValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_CommandPath pathValueTemp = ArkuiGraphicsCommandPathSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setPath(static_cast(peer), static_cast(&pathValueTemp), (const Ark_Number*) (&fillColor), (const Ark_Number*) (&strokeColor), (const Ark_Number*) (&strokeWidth)); } KOALA_INTEROP_DIRECT_V6(RenderNodeExtender_setPath, Ark_NativePointer, KSerializerBuffer, KInt, KInteropNumber, KInteropNumber, KInteropNumber) void impl_RenderNodeExtender_setRectClip(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setRectClip(static_cast(peer), static_cast(&rectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setRectClip(static_cast(peer), static_cast(&rectValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setRectClip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setCircleClip(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Circle circleValueTemp = ArkuiGraphicsCircleSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setCircleClip(static_cast(peer), static_cast(&circleValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Circle circleValueTemp = ArkuiGraphicsCircleSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setCircleClip(static_cast(peer), static_cast(&circleValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setCircleClip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setRoundRectClip(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RoundRect roundRectValueTemp = ArkuiGraphicsRoundRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setRoundRectClip(static_cast(peer), static_cast(&roundRectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RoundRect roundRectValueTemp = ArkuiGraphicsRoundRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setRoundRectClip(static_cast(peer), static_cast(&roundRectValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setRoundRectClip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setOvalClip(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setOvalClip(static_cast(peer), static_cast(&rectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_common2D_Rect rectValueTemp = OhosGraphicsCommon2DCommon2DRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setOvalClip(static_cast(peer), static_cast(&rectValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setOvalClip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_setPathClip(Ark_NativePointer peer, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_CommandPath pathValueTemp = ArkuiGraphicsCommandPathSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRenderNodeExtenderAccessor()->setPathClip(static_cast(peer), static_cast(&pathValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_CommandPath pathValueTemp = ArkuiGraphicsCommandPathSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRenderNodeExtenderAccessor()->setPathClip(static_cast(peer), static_cast(&pathValueTemp)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_setPathClip, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RenderNodeExtender_appendChild(Ark_NativePointer peer, Ark_NativePointer node) { - GetAccessors()->getRenderNodeExtenderAccessor()->appendChild(static_cast(peer), static_cast(node)); + GetAccessors()->getRenderNodeExtenderAccessor()->appendChild(static_cast(peer), static_cast(node)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_appendChild, Ark_NativePointer, Ark_NativePointer) void impl_RenderNodeExtender_insertChildAfter(Ark_NativePointer peer, Ark_NativePointer child, Ark_NativePointer sibling) { - GetAccessors()->getRenderNodeExtenderAccessor()->insertChildAfter(static_cast(peer), static_cast(child), static_cast(sibling)); + GetAccessors()->getRenderNodeExtenderAccessor()->insertChildAfter(static_cast(peer), static_cast(child), static_cast(sibling)); } KOALA_INTEROP_DIRECT_V3(RenderNodeExtender_insertChildAfter, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) void impl_RenderNodeExtender_removeChild(Ark_NativePointer peer, Ark_NativePointer node) { - GetAccessors()->getRenderNodeExtenderAccessor()->removeChild(static_cast(peer), static_cast(node)); + GetAccessors()->getRenderNodeExtenderAccessor()->removeChild(static_cast(peer), static_cast(node)); } KOALA_INTEROP_DIRECT_V2(RenderNodeExtender_removeChild, Ark_NativePointer, Ark_NativePointer) void impl_RenderNodeExtender_clearChildren(Ark_NativePointer peer) { - GetAccessors()->getRenderNodeExtenderAccessor()->clearChildren(static_cast(peer)); + GetAccessors()->getRenderNodeExtenderAccessor()->clearChildren(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(RenderNodeExtender_clearChildren, Ark_NativePointer) void impl_RenderNodeExtender_invalidate(Ark_NativePointer peer) { - GetAccessors()->getRenderNodeExtenderAccessor()->invalidate(static_cast(peer)); + GetAccessors()->getRenderNodeExtenderAccessor()->invalidate(static_cast(peer)); } KOALA_INTEROP_DIRECT_V1(RenderNodeExtender_invalidate, Ark_NativePointer) Ark_Int32 impl_RenderServiceNode_getNodeId(const KStringPtr& nodeId) { - return GetAccessors()->getRenderServiceNodeAccessor()->getNodeId((const Ark_String*) (&nodeId)); + return GetAccessors()->getRenderServiceNodeAccessor()->getNodeId((const Ark_String*) (&nodeId)); } KOALA_INTEROP_1(RenderServiceNode_getNodeId, Ark_Int32, KStringPtr) Ark_NativePointer impl_ReplaceSymbolEffect_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - return GetAccessors()->getReplaceSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + return GetAccessors()->getReplaceSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_2(ReplaceSymbolEffect_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ReplaceSymbolEffect_getFinalizer() { - return GetAccessors()->getReplaceSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getReplaceSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ReplaceSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_ReplaceSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_ReplaceSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getReplaceSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ReplaceSymbolEffect_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ReplaceSymbolEffect_getScope(Ark_NativePointer thisPtr) { - Ark_ReplaceSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getReplaceSymbolEffectAccessor()->getScope(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ReplaceSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getReplaceSymbolEffectAccessor()->getScope(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ReplaceSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer) void impl_ReplaceSymbolEffect_setScope(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ReplaceSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - GetAccessors()->getReplaceSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); + Ark_ReplaceSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + GetAccessors()->getReplaceSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_V3(ReplaceSymbolEffect_setScope, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RestrictedWorker_construct(const KStringPtr& scriptURL, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WorkerOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentIdlizeWorkerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_WorkerOptions optionsValueTemp = optionsValueTempTmpBuf;; - return GetAccessors()->getRestrictedWorkerAccessor()->construct((const Ark_String*) (&scriptURL), static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WorkerOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentIdlizeWorkerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_WorkerOptions optionsValueTemp = optionsValueTempTmpBuf;; + return GetAccessors()->getRestrictedWorkerAccessor()->construct((const Ark_String*) (&scriptURL), static_cast(&optionsValueTemp)); } KOALA_INTEROP_3(RestrictedWorker_construct, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) Ark_NativePointer impl_RestrictedWorker_getFinalizer() { - return GetAccessors()->getRestrictedWorkerAccessor()->getFinalizer(); + return GetAccessors()->getRestrictedWorkerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RestrictedWorker_getFinalizer, Ark_NativePointer) +void impl_RestrictedWorker_callHolder(Ark_NativePointer thisPtr) { + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + GetAccessors()->getRestrictedWorkerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RestrictedWorker_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_RestrictedWorker_postMessage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object messageValueTemp = static_cast(thisDeserializer.readObject());; - const Ark_Int32 transferValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_Buffer transferValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object messageValueTemp = static_cast(thisDeserializer.readObject());; + const Ark_Int32 transferValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_Buffer transferValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&transferValueTempTmpBuf, transferValueTempTmpBufLength); - for (int transferValueTempTmpBufBufCounterI = 0; transferValueTempTmpBufBufCounterI < transferValueTempTmpBufLength; transferValueTempTmpBufBufCounterI++) { - transferValueTempTmpBuf.array[transferValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readBuffer()); - } - Array_Buffer transferValueTemp = transferValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->postMessage0(self, static_cast(&messageValueTemp), static_cast(&transferValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + for (int transferValueTempTmpBufBufCounterI = 0; transferValueTempTmpBufBufCounterI < transferValueTempTmpBufLength; transferValueTempTmpBufBufCounterI++) { + transferValueTempTmpBuf.array[transferValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readBuffer()); + } + Array_Buffer transferValueTemp = transferValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->postMessage0(self, static_cast(&messageValueTemp), static_cast(&transferValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RestrictedWorker_postMessage0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_postMessage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object messageValueTemp = static_cast(thisDeserializer.readObject());; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_PostMessageOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentIdlizePostMessageOptionsSerializerImpl::read(thisDeserializer); - } - Opt_PostMessageOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->postMessage1(self, static_cast(&messageValueTemp), static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object messageValueTemp = static_cast(thisDeserializer.readObject());; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_PostMessageOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentIdlizePostMessageOptionsSerializerImpl::read(thisDeserializer); + } + Opt_PostMessageOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->postMessage1(self, static_cast(&messageValueTemp), static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RestrictedWorker_postMessage1, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_postMessageWithSharedSendable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object messageValueTemp = static_cast(thisDeserializer.readObject());; - const auto transferValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Buffer transferValueTempTmpBuf = {}; - transferValueTempTmpBuf.tag = transferValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((transferValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 transferValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_Buffer transferValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object messageValueTemp = static_cast(thisDeserializer.readObject());; + const auto transferValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Buffer transferValueTempTmpBuf = {}; + transferValueTempTmpBuf.tag = transferValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((transferValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 transferValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_Buffer transferValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&transferValueTempTmpBufOpt, transferValueTempTmpBufOptLength); - for (int transferValueTempTmpBufOptBufCounterI = 0; transferValueTempTmpBufOptBufCounterI < transferValueTempTmpBufOptLength; transferValueTempTmpBufOptBufCounterI++) { - transferValueTempTmpBufOpt.array[transferValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readBuffer()); - } - transferValueTempTmpBuf.value = transferValueTempTmpBufOpt; - } - Opt_Array_Buffer transferValueTemp = transferValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->postMessageWithSharedSendable(self, static_cast(&messageValueTemp), static_cast(&transferValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + for (int transferValueTempTmpBufOptBufCounterI = 0; transferValueTempTmpBufOptBufCounterI < transferValueTempTmpBufOptLength; transferValueTempTmpBufOptBufCounterI++) { + transferValueTempTmpBufOpt.array[transferValueTempTmpBufOptBufCounterI] = static_cast(thisDeserializer.readBuffer()); + } + transferValueTempTmpBuf.value = transferValueTempTmpBufOpt; + } + Opt_Array_Buffer transferValueTemp = transferValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->postMessageWithSharedSendable(self, static_cast(&messageValueTemp), static_cast(&transferValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RestrictedWorker_postMessageWithSharedSendable, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_on(Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))};; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->on(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))};; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->on(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(RestrictedWorker_on, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_once(Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))};; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->once(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))};; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->once(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(RestrictedWorker_once, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_off(Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto listenerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WorkerEventListener listenerValueTempTmpBuf = {}; - listenerValueTempTmpBuf.tag = listenerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((listenerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - listenerValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))}; - } - Opt_WorkerEventListener listenerValueTemp = listenerValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->off(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto listenerValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WorkerEventListener listenerValueTempTmpBuf = {}; + listenerValueTempTmpBuf.tag = listenerValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((listenerValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + listenerValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))}; + } + Opt_WorkerEventListener listenerValueTemp = listenerValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->off(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(RestrictedWorker_off, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_terminate(Ark_NativePointer thisPtr) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->terminate(self); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->terminate(self); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RestrictedWorker_terminate, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RestrictedWorker_addEventListener(Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))};; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->addEventListener(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + WorkerEventListener listenerValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))};; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->addEventListener(self, (const Ark_String*) (&Type), static_cast(&listenerValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(RestrictedWorker_addEventListener, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_dispatchEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Event eventValueTemp = ArkuiComponentIdlizeEventSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->dispatchEvent(self, static_cast(&eventValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - _retSerializer.writeBoolean(retValueValue); - } - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Event eventValueTemp = ArkuiComponentIdlizeEventSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->dispatchEvent(self, static_cast(&eventValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + _retSerializer.writeBoolean(retValueValue); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RestrictedWorker_dispatchEvent, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_removeEventListener(Ark_NativePointer thisPtr, const KStringPtr& Type, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_WorkerEventListener callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))}; - } - Opt_WorkerEventListener callback_ValueTemp = callback_ValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->removeEventListener(self, (const Ark_String*) (&Type), static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_WorkerEventListener callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_WORKEREVENTLISTENER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_WORKEREVENTLISTENER))))}; + } + Opt_WorkerEventListener callback_ValueTemp = callback_ValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->removeEventListener(self, (const Ark_String*) (&Type), static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(RestrictedWorker_removeEventListener, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_removeAllListener(Ark_NativePointer thisPtr) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->removeAllListener(self); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->removeAllListener(self); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RestrictedWorker_removeAllListener, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RestrictedWorker_registerGlobalCallObject(Ark_NativePointer thisPtr, const KStringPtr& instanceName, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object globalCallObjectValueTemp = static_cast(thisDeserializer.readObject());; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->registerGlobalCallObject(self, (const Ark_String*) (&instanceName), static_cast(&globalCallObjectValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object globalCallObjectValueTemp = static_cast(thisDeserializer.readObject());; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->registerGlobalCallObject(self, (const Ark_String*) (&instanceName), static_cast(&globalCallObjectValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(RestrictedWorker_registerGlobalCallObject, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_unregisterGlobalCallObject(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto instanceNameValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_String instanceNameValueTempTmpBuf = {}; - instanceNameValueTempTmpBuf.tag = instanceNameValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((instanceNameValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - instanceNameValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); - } - Opt_String instanceNameValueTemp = instanceNameValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->unregisterGlobalCallObject(self, static_cast(&instanceNameValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto instanceNameValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_String instanceNameValueTempTmpBuf = {}; + instanceNameValueTempTmpBuf.tag = instanceNameValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((instanceNameValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + instanceNameValueTempTmpBuf.value = static_cast(thisDeserializer.readString()); + } + Opt_String instanceNameValueTemp = instanceNameValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->unregisterGlobalCallObject(self, static_cast(&instanceNameValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RestrictedWorker_unregisterGlobalCallObject, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_getOnexit(Ark_NativePointer thisPtr) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnexit(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnexit(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RestrictedWorker_getOnexit, KInteropReturnBuffer, Ark_NativePointer) void impl_RestrictedWorker_setOnexit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto onexitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RestrictedWorker_onexit_Callback onexitValueTempTmpBuf = {}; - onexitValueTempTmpBuf.tag = onexitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onexitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onexitValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONEXIT_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONEXIT_CALLBACK))))}; - } - Opt_RestrictedWorker_onexit_Callback onexitValueTemp = onexitValueTempTmpBuf;; - GetAccessors()->getRestrictedWorkerAccessor()->setOnexit(self, static_cast(&onexitValueTemp)); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto onexitValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RestrictedWorker_onexit_Callback onexitValueTempTmpBuf = {}; + onexitValueTempTmpBuf.tag = onexitValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onexitValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onexitValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONEXIT_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONEXIT_CALLBACK))))}; + } + Opt_RestrictedWorker_onexit_Callback onexitValueTemp = onexitValueTempTmpBuf;; + GetAccessors()->getRestrictedWorkerAccessor()->setOnexit(self, static_cast(&onexitValueTemp)); } KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnexit, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_getOnerror(Ark_NativePointer thisPtr) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnerror(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnerror(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RestrictedWorker_getOnerror, KInteropReturnBuffer, Ark_NativePointer) void impl_RestrictedWorker_setOnerror(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto onerrorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RestrictedWorker_onerror_Callback onerrorValueTempTmpBuf = {}; - onerrorValueTempTmpBuf.tag = onerrorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onerrorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onerrorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONERROR_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONERROR_CALLBACK))))}; - } - Opt_RestrictedWorker_onerror_Callback onerrorValueTemp = onerrorValueTempTmpBuf;; - GetAccessors()->getRestrictedWorkerAccessor()->setOnerror(self, static_cast(&onerrorValueTemp)); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto onerrorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RestrictedWorker_onerror_Callback onerrorValueTempTmpBuf = {}; + onerrorValueTempTmpBuf.tag = onerrorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onerrorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onerrorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONERROR_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONERROR_CALLBACK))))}; + } + Opt_RestrictedWorker_onerror_Callback onerrorValueTemp = onerrorValueTempTmpBuf;; + GetAccessors()->getRestrictedWorkerAccessor()->setOnerror(self, static_cast(&onerrorValueTemp)); } KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnerror, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_getOnmessage(Ark_NativePointer thisPtr) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnmessage(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnmessage(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RestrictedWorker_getOnmessage, KInteropReturnBuffer, Ark_NativePointer) void impl_RestrictedWorker_setOnmessage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto onmessageValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RestrictedWorker_onmessage_Callback onmessageValueTempTmpBuf = {}; - onmessageValueTempTmpBuf.tag = onmessageValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onmessageValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onmessageValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK))))}; - } - Opt_RestrictedWorker_onmessage_Callback onmessageValueTemp = onmessageValueTempTmpBuf;; - GetAccessors()->getRestrictedWorkerAccessor()->setOnmessage(self, static_cast(&onmessageValueTemp)); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto onmessageValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RestrictedWorker_onmessage_Callback onmessageValueTempTmpBuf = {}; + onmessageValueTempTmpBuf.tag = onmessageValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onmessageValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onmessageValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK))))}; + } + Opt_RestrictedWorker_onmessage_Callback onmessageValueTemp = onmessageValueTempTmpBuf;; + GetAccessors()->getRestrictedWorkerAccessor()->setOnmessage(self, static_cast(&onmessageValueTemp)); } KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnmessage, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RestrictedWorker_getOnmessageerror(Ark_NativePointer thisPtr) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnmessageerror(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeCallbackResource(retValueTmpValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRestrictedWorkerAccessor()->getOnmessageerror(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeCallbackResource(retValueTmpValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValueTmpValue.callSync)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RestrictedWorker_getOnmessageerror, KInteropReturnBuffer, Ark_NativePointer) void impl_RestrictedWorker_setOnmessageerror(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RestrictedWorker self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto onmessageerrorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RestrictedWorker_onmessage_Callback onmessageerrorValueTempTmpBuf = {}; - onmessageerrorValueTempTmpBuf.tag = onmessageerrorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((onmessageerrorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - onmessageerrorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK))))}; - } - Opt_RestrictedWorker_onmessage_Callback onmessageerrorValueTemp = onmessageerrorValueTempTmpBuf;; - GetAccessors()->getRestrictedWorkerAccessor()->setOnmessageerror(self, static_cast(&onmessageerrorValueTemp)); + Ark_RestrictedWorker self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto onmessageerrorValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RestrictedWorker_onmessage_Callback onmessageerrorValueTempTmpBuf = {}; + onmessageerrorValueTempTmpBuf.tag = onmessageerrorValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((onmessageerrorValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + onmessageerrorValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_RESTRICTEDWORKER_ONMESSAGE_CALLBACK))))}; + } + Opt_RestrictedWorker_onmessage_Callback onmessageerrorValueTemp = onmessageerrorValueTempTmpBuf;; + GetAccessors()->getRestrictedWorkerAccessor()->setOnmessageerror(self, static_cast(&onmessageerrorValueTemp)); } KOALA_INTEROP_DIRECT_V3(RestrictedWorker_setOnmessageerror, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RichEditorBaseController_construct() { - return GetAccessors()->getRichEditorBaseControllerAccessor()->construct(); + return GetAccessors()->getRichEditorBaseControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(RichEditorBaseController_construct, Ark_NativePointer) Ark_NativePointer impl_RichEditorBaseController_getFinalizer() { - return GetAccessors()->getRichEditorBaseControllerAccessor()->getFinalizer(); + return GetAccessors()->getRichEditorBaseControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RichEditorBaseController_getFinalizer, Ark_NativePointer) +void impl_RichEditorBaseController_callHolder(Ark_NativePointer thisPtr) { + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + GetAccessors()->getRichEditorBaseControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorBaseController_getCaretOffset(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretOffset(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretOffset(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_getCaretOffset, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorBaseController_setCaretOffset(Ark_NativePointer thisPtr, Ark_Int32 offset) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->setCaretOffset(self, offset); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->setCaretOffset(self, offset); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(RichEditorBaseController_setCaretOffset, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32) void impl_RichEditorBaseController_closeSelectionMenu(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - GetAccessors()->getRichEditorBaseControllerAccessor()->closeSelectionMenu(self); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + GetAccessors()->getRichEditorBaseControllerAccessor()->closeSelectionMenu(self); } KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_closeSelectionMenu, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorBaseController_getTypingStyle(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getTypingStyle(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentRichEditorRichEditorTextStyleSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getTypingStyle(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentRichEditorRichEditorTextStyleSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_getTypingStyle, KInteropReturnBuffer, Ark_NativePointer) void impl_RichEditorBaseController_setTypingStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RichEditorTextStyle valueValueTemp = ArkuiComponentRichEditorRichEditorTextStyleSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRichEditorBaseControllerAccessor()->setTypingStyle(self, static_cast(&valueValueTemp)); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RichEditorTextStyle valueValueTemp = ArkuiComponentRichEditorRichEditorTextStyleSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRichEditorBaseControllerAccessor()->setTypingStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorBaseController_setTypingStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorBaseController_setSelection(Ark_NativePointer thisPtr, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getRichEditorBaseControllerAccessor()->setSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getRichEditorBaseControllerAccessor()->setSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V5(RichEditorBaseController_setSelection, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorBaseController_isEditing(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->isEditing(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->isEditing(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_isEditing, KInteropReturnBuffer, Ark_NativePointer) void impl_RichEditorBaseController_stopEditing(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - GetAccessors()->getRichEditorBaseControllerAccessor()->stopEditing(self); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + GetAccessors()->getRichEditorBaseControllerAccessor()->stopEditing(self); } KOALA_INTEROP_DIRECT_V1(RichEditorBaseController_stopEditing, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorBaseController_getLayoutManager(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getLayoutManager(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonLayoutManagerSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getLayoutManager(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonLayoutManagerSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_getLayoutManager, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorBaseController_getPreviewText(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getPreviewText(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonPreviewTextSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getPreviewText(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonPreviewTextSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_getPreviewText, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorBaseController_getCaretRect(Ark_NativePointer thisPtr) { - Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretRect(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretRect(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_getCaretRect, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_RichEditorController_construct() { - return GetAccessors()->getRichEditorControllerAccessor()->construct(); + return GetAccessors()->getRichEditorControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(RichEditorController_construct, Ark_NativePointer) Ark_NativePointer impl_RichEditorController_getFinalizer() { - return GetAccessors()->getRichEditorControllerAccessor()->getFinalizer(); + return GetAccessors()->getRichEditorControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RichEditorController_getFinalizer, Ark_NativePointer) +void impl_RichEditorController_callHolder(Ark_NativePointer thisPtr) { + Ark_RichEditorController self = reinterpret_cast(thisPtr); + GetAccessors()->getRichEditorControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RichEditorController_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorController_addTextSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; - if (contentValueTempTmpBufUnionSelector == 0) { - contentValueTempTmpBuf.selector = 0; - contentValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufUnionSelector == 1) { - contentValueTempTmpBuf.selector = 1; - contentValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr contentValueTemp = static_cast(contentValueTempTmpBuf);; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorTextSpanOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorTextSpanOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorTextSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addTextSpan(self, static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; + if (contentValueTempTmpBufUnionSelector == 0) { + contentValueTempTmpBuf.selector = 0; + contentValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufUnionSelector == 1) { + contentValueTempTmpBuf.selector = 1; + contentValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr contentValueTemp = static_cast(contentValueTempTmpBuf);; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorTextSpanOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorTextSpanOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorTextSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addTextSpan(self, static_cast(&contentValueTemp), static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_addTextSpan, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorController_addImageSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_image_PixelMap_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBufBufU = {}; - valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; - if (valueValueTempTmpBufBufUUnionSelector == 0) { - valueValueTempTmpBufBufU.selector = 0; - valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufBufUUnionSelector == 1) { - valueValueTempTmpBufBufU.selector = 1; - valueValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value1 = static_cast(valueValueTempTmpBufBufU); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_image_PixelMap_ResourceStr valueValueTemp = static_cast(valueValueTempTmpBuf);; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorImageSpanOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorImageSpanOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorImageSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addImageSpan(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_image_PixelMap_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(OhosMultimediaImageImagePixelMapSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBufBufU = {}; + valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; + if (valueValueTempTmpBufBufUUnionSelector == 0) { + valueValueTempTmpBufBufU.selector = 0; + valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufBufUUnionSelector == 1) { + valueValueTempTmpBufBufU.selector = 1; + valueValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBuf.value1 = static_cast(valueValueTempTmpBufBufU); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_image_PixelMap_ResourceStr valueValueTemp = static_cast(valueValueTempTmpBuf);; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorImageSpanOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorImageSpanOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorImageSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addImageSpan(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_addImageSpan, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorController_addBuilderSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - CustomNodeBuilder valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))};; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorBuilderSpanOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorBuilderSpanOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorBuilderSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addBuilderSpan(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + CustomNodeBuilder valueValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CUSTOMNODEBUILDER)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CUSTOMNODEBUILDER))))};; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorBuilderSpanOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorBuilderSpanOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorBuilderSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addBuilderSpan(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_addBuilderSpan, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorController_addSymbolSpan(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Resource valueValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorSymbolSpanOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorSymbolSpanOptionsSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorSymbolSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addSymbolSpan(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Resource valueValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorSymbolSpanOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorSymbolSpanOptionsSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorSymbolSpanOptions optionsValueTemp = optionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->addSymbolSpan(self, static_cast(&valueValueTemp), static_cast(&optionsValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_addSymbolSpan, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorController_updateSpanStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = ArkuiComponentRichEditorRichEditorUpdateTextSpanStyleOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = ArkuiComponentRichEditorRichEditorUpdateImageSpanStyleOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufUnionSelector == 2) { - valueValueTempTmpBuf.selector = 2; - valueValueTempTmpBuf.value2 = ArkuiComponentRichEditorRichEditorUpdateSymbolSpanStyleOptionsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions valueValueTemp = static_cast(valueValueTempTmpBuf);; - GetAccessors()->getRichEditorControllerAccessor()->updateSpanStyle(self, static_cast(&valueValueTemp)); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = ArkuiComponentRichEditorRichEditorUpdateTextSpanStyleOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = ArkuiComponentRichEditorRichEditorUpdateImageSpanStyleOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufUnionSelector == 2) { + valueValueTempTmpBuf.selector = 2; + valueValueTempTmpBuf.value2 = ArkuiComponentRichEditorRichEditorUpdateSymbolSpanStyleOptionsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_RichEditorUpdateTextSpanStyleOptions_RichEditorUpdateImageSpanStyleOptions_RichEditorUpdateSymbolSpanStyleOptions valueValueTemp = static_cast(valueValueTempTmpBuf);; + GetAccessors()->getRichEditorControllerAccessor()->updateSpanStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorController_updateSpanStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorController_updateParagraphStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RichEditorParagraphStyleOptions valueValueTemp = ArkuiComponentRichEditorRichEditorParagraphStyleOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRichEditorControllerAccessor()->updateParagraphStyle(self, static_cast(&valueValueTemp)); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RichEditorParagraphStyleOptions valueValueTemp = ArkuiComponentRichEditorRichEditorParagraphStyleOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRichEditorControllerAccessor()->updateParagraphStyle(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorController_updateParagraphStyle, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RichEditorController_deleteSpans(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorRange valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorRange valueValueTemp = valueValueTempTmpBuf;; - GetAccessors()->getRichEditorControllerAccessor()->deleteSpans(self, static_cast(&valueValueTemp)); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorRange valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorRange valueValueTemp = valueValueTempTmpBuf;; + GetAccessors()->getRichEditorControllerAccessor()->deleteSpans(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorController_deleteSpans, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorController_getSpans(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorRange valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorRange valueValueTemp = valueValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getSpans(self, static_cast(&valueValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - if (retValueTmpValueTmpElement.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueTmpValueTmpElementForIdx0 = retValueTmpValueTmpElement.value0; - ArkuiComponentRichEditorRichEditorImageSpanResultSerializerImpl::write(_retSerializer, retValueTmpValueTmpElementForIdx0); - } else if (retValueTmpValueTmpElement.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueTmpValueTmpElementForIdx1 = retValueTmpValueTmpElement.value1; - ArkuiComponentRichEditorRichEditorTextSpanResultSerializerImpl::write(_retSerializer, retValueTmpValueTmpElementForIdx1); - } + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorRange valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorRange valueValueTemp = valueValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getSpans(self, static_cast(&valueValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + if (retValueTmpValueTmpElement.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueTmpValueTmpElementForIdx0 = retValueTmpValueTmpElement.value0; + ArkuiComponentRichEditorRichEditorImageSpanResultSerializerImpl::write(_retSerializer, retValueTmpValueTmpElementForIdx0); + } else if (retValueTmpValueTmpElement.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueTmpValueTmpElementForIdx1 = retValueTmpValueTmpElement.value1; + ArkuiComponentRichEditorRichEditorTextSpanResultSerializerImpl::write(_retSerializer, retValueTmpValueTmpElementForIdx1); } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } - return _retSerializer.toReturnBuffer(); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_getSpans, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorController_getParagraphs(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RichEditorRange valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer); - } - Opt_RichEditorRange valueValueTemp = valueValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getParagraphs(self, static_cast(&valueValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_RichEditorParagraphResult retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - ArkuiComponentRichEditorRichEditorParagraphResultSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RichEditorRange valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer); + } + Opt_RichEditorRange valueValueTemp = valueValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getParagraphs(self, static_cast(&valueValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_RichEditorParagraphResult retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + ArkuiComponentRichEditorRichEditorParagraphResultSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_getParagraphs, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_RichEditorController_getSelection(Ark_NativePointer thisPtr) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getSelection(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentRichEditorRichEditorSelectionSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->getSelection(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentRichEditorRichEditorSelectionSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorController_getSelection, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorController_fromStyledString(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->fromStyledString(self, static_cast(value)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueValueTmpValue = retValueValue.value; - _retSerializer.writeInt32(retValueValueTmpValue.length); - for (int retValueValueTmpValueCounterI = 0; retValueValueTmpValueCounterI < retValueValueTmpValue.length; retValueValueTmpValueCounterI++) { - const Ark_RichEditorSpan retValueValueTmpValueTmpElement = retValueValueTmpValue.array[retValueValueTmpValueCounterI]; - if (retValueValueTmpValueTmpElement.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueValueTmpValueTmpElementForIdx0 = retValueValueTmpValueTmpElement.value0; - ArkuiComponentRichEditorRichEditorImageSpanResultSerializerImpl::write(_retSerializer, retValueValueTmpValueTmpElementForIdx0); - } else if (retValueValueTmpValueTmpElement.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueValueTmpValueTmpElementForIdx1 = retValueValueTmpValueTmpElement.value1; - ArkuiComponentRichEditorRichEditorTextSpanResultSerializerImpl::write(_retSerializer, retValueValueTmpValueTmpElementForIdx1); - } - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + Ark_RichEditorController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->fromStyledString(self, static_cast(value)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueTmpValue = retValueValue.value; + _retSerializer.writeInt32(retValueValueTmpValue.length); + for (int retValueValueTmpValueCounterI = 0; retValueValueTmpValueCounterI < retValueValueTmpValue.length; retValueValueTmpValueCounterI++) { + const Ark_RichEditorSpan retValueValueTmpValueTmpElement = retValueValueTmpValue.array[retValueValueTmpValueCounterI]; + if (retValueValueTmpValueTmpElement.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueValueTmpValueTmpElementForIdx0 = retValueValueTmpValueTmpElement.value0; + ArkuiComponentRichEditorRichEditorImageSpanResultSerializerImpl::write(_retSerializer, retValueValueTmpValueTmpElementForIdx0); + } else if (retValueValueTmpValueTmpElement.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueValueTmpValueTmpElementForIdx1 = retValueValueTmpValueTmpElement.value1; + ArkuiComponentRichEditorRichEditorTextSpanResultSerializerImpl::write(_retSerializer, retValueValueTmpValueTmpElementForIdx1); } } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } - return _retSerializer.toReturnBuffer(); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(RichEditorController_fromStyledString, KInteropReturnBuffer, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorController_toStyledString(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RichEditorRange valueValueTemp = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->toStyledString(self, static_cast(&valueValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueValueTmpValue = retValueValue.value; - ArkuiComponentStyledStringStyledStringSerializerImpl::write(_retSerializer, retValueValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - } + Ark_RichEditorController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RichEditorRange valueValueTemp = ArkuiComponentRichEditorRichEditorRangeSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getRichEditorControllerAccessor()->toStyledString(self, static_cast(&valueValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueTmpValue = retValueValue.value; + ArkuiComponentStyledStringStyledStringSerializerImpl::write(_retSerializer, retValueValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } - return _retSerializer.toReturnBuffer(); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(RichEditorController_toStyledString, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RichEditorStyledStringController_construct() { - return GetAccessors()->getRichEditorStyledStringControllerAccessor()->construct(); + return GetAccessors()->getRichEditorStyledStringControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(RichEditorStyledStringController_construct, Ark_NativePointer) Ark_NativePointer impl_RichEditorStyledStringController_getFinalizer() { - return GetAccessors()->getRichEditorStyledStringControllerAccessor()->getFinalizer(); + return GetAccessors()->getRichEditorStyledStringControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RichEditorStyledStringController_getFinalizer, Ark_NativePointer) +void impl_RichEditorStyledStringController_callHolder(Ark_NativePointer thisPtr) { + Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); + GetAccessors()->getRichEditorStyledStringControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RichEditorStyledStringController_callHolder, Ark_NativePointer) void impl_RichEditorStyledStringController_setStyledString(Ark_NativePointer thisPtr, Ark_NativePointer styledString) { - Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); - GetAccessors()->getRichEditorStyledStringControllerAccessor()->setStyledString(self, static_cast(styledString)); + Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); + GetAccessors()->getRichEditorStyledStringControllerAccessor()->setStyledString(self, static_cast(styledString)); } KOALA_INTEROP_DIRECT_V2(RichEditorStyledStringController_setStyledString, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorStyledStringController_getStyledString(Ark_NativePointer thisPtr) { - Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorStyledStringControllerAccessor()->getStyledString(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentStyledStringMutableStyledStringSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorStyledStringControllerAccessor()->getStyledString(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentStyledStringMutableStyledStringSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorStyledStringController_getStyledString, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_RichEditorStyledStringController_getSelection(Ark_NativePointer thisPtr) { - Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getRichEditorStyledStringControllerAccessor()->getSelection(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentRichEditorRichEditorRangeSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorStyledStringControllerAccessor()->getSelection(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentRichEditorRichEditorRangeSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorStyledStringController_getSelection, KInteropReturnBuffer, Ark_NativePointer) void impl_RichEditorStyledStringController_onContentChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_StyledStringChangedListener listenerValueTemp = ArkuiComponentTextCommonStyledStringChangedListenerSerializerImpl::read(thisDeserializer);; - GetAccessors()->getRichEditorStyledStringControllerAccessor()->onContentChanged(self, static_cast(&listenerValueTemp)); + Ark_RichEditorStyledStringController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_StyledStringChangedListener listenerValueTemp = ArkuiComponentTextCommonStyledStringChangedListenerSerializerImpl::read(thisDeserializer);; + GetAccessors()->getRichEditorStyledStringControllerAccessor()->onContentChanged(self, static_cast(&listenerValueTemp)); } KOALA_INTEROP_DIRECT_V3(RichEditorStyledStringController_onContentChanged, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_RotationGestureEvent_construct() { - return GetAccessors()->getRotationGestureEventAccessor()->construct(); + return GetAccessors()->getRotationGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(RotationGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_RotationGestureEvent_getFinalizer() { - return GetAccessors()->getRotationGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getRotationGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RotationGestureEvent_getFinalizer, Ark_NativePointer) +void impl_RotationGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_RotationGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getRotationGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RotationGestureEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_RotationGestureEvent_getAngle(Ark_NativePointer thisPtr) { - Ark_RotationGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getRotationGestureEventAccessor()->getAngle(self); + Ark_RotationGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getRotationGestureEventAccessor()->getAngle(self); } KOALA_INTEROP_1(RotationGestureEvent_getAngle, Ark_Int32, Ark_NativePointer) void impl_RotationGestureEvent_setAngle(Ark_NativePointer thisPtr, KDouble angle) { - Ark_RotationGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getRotationGestureEventAccessor()->setAngle(self, angle); + Ark_RotationGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getRotationGestureEventAccessor()->setAngle(self, angle); } KOALA_INTEROP_V2(RotationGestureEvent_setAngle, Ark_NativePointer, KDouble) Ark_NativePointer impl_RotationRecognizer_construct() { - return GetAccessors()->getRotationRecognizerAccessor()->construct(); + return GetAccessors()->getRotationRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(RotationRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_RotationRecognizer_getFinalizer() { - return GetAccessors()->getRotationRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getRotationRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(RotationRecognizer_getFinalizer, Ark_NativePointer) +void impl_RotationRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_RotationRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getRotationRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(RotationRecognizer_callHolder, Ark_NativePointer) Ark_Int32 impl_RotationRecognizer_getAngle(Ark_NativePointer thisPtr) { - Ark_RotationRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getRotationRecognizerAccessor()->getAngle(self); + Ark_RotationRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getRotationRecognizerAccessor()->getAngle(self); } KOALA_INTEROP_1(RotationRecognizer_getAngle, Ark_Int32, Ark_NativePointer) void impl_RouterExtender_push0(KVMContext vmContext, Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getRouterExtenderAccessor()->push0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getRouterExtenderAccessor()->push0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(RouterExtender_push0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_push1(Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; - } - Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->push1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; + } + Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->push1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(RouterExtender_push1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_replace0(KVMContext vmContext, Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto enterFinishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback enterFinishCallbackValueTempTmpBuf = {}; - enterFinishCallbackValueTempTmpBuf.tag = enterFinishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((enterFinishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - enterFinishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback enterFinishCallbackValueTemp = enterFinishCallbackValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getRouterExtenderAccessor()->replace0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&enterFinishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto enterFinishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback enterFinishCallbackValueTempTmpBuf = {}; + enterFinishCallbackValueTempTmpBuf.tag = enterFinishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((enterFinishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + enterFinishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback enterFinishCallbackValueTemp = enterFinishCallbackValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getRouterExtenderAccessor()->replace0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&enterFinishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(RouterExtender_replace0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_replace1(Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; - } - Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->replace1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; + } + Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->replace1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(RouterExtender_replace1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_back0(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_router_RouterOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = OhosRouterRouterRouterOptionsSerializerImpl::read(thisDeserializer); - } - Opt_router_RouterOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->back0(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_router_RouterOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = OhosRouterRouterRouterOptionsSerializerImpl::read(thisDeserializer); + } + Opt_router_RouterOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->back0(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V2(RouterExtender_back0, KSerializerBuffer, KInt) void impl_RouterExtender_back1(Ark_Int32 index, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto paramsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object paramsValueTempTmpBuf = {}; - paramsValueTempTmpBuf.tag = paramsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((paramsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - paramsValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); - } - Opt_Object paramsValueTemp = paramsValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->back1(index, static_cast(¶msValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto paramsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object paramsValueTempTmpBuf = {}; + paramsValueTempTmpBuf.tag = paramsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((paramsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + paramsValueTempTmpBuf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object paramsValueTemp = paramsValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->back1(index, static_cast(¶msValueTemp)); } KOALA_INTEROP_DIRECT_V3(RouterExtender_back1, Ark_Int32, KSerializerBuffer, KInt) void impl_RouterExtender_runPage(Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->runPage(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->runPage(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp)); } KOALA_INTEROP_DIRECT_V3(RouterExtender_runPage, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_clear() { - GetAccessors()->getRouterExtenderAccessor()->clear(); + GetAccessors()->getRouterExtenderAccessor()->clear(); } KOALA_INTEROP_DIRECT_V0(RouterExtender_clear) void impl_RouterExtender_showAlertBeforeBackPage(const KStringPtr& message) { - GetAccessors()->getRouterExtenderAccessor()->showAlertBeforeBackPage((const Ark_String*) (&message)); + GetAccessors()->getRouterExtenderAccessor()->showAlertBeforeBackPage((const Ark_String*) (&message)); } KOALA_INTEROP_V1(RouterExtender_showAlertBeforeBackPage, KStringPtr) void impl_RouterExtender_hideAlertBeforeBackPage() { - GetAccessors()->getRouterExtenderAccessor()->hideAlertBeforeBackPage(); + GetAccessors()->getRouterExtenderAccessor()->hideAlertBeforeBackPage(); } KOALA_INTEROP_DIRECT_V0(RouterExtender_hideAlertBeforeBackPage) Ark_String impl_RouterExtender_getLength() { - return GetAccessors()->getRouterExtenderAccessor()->getLength(); + return GetAccessors()->getRouterExtenderAccessor()->getLength(); } KOALA_INTEROP_0(RouterExtender_getLength, KStringPtr) KInteropReturnBuffer impl_RouterExtender_getState() { - const auto &retValue = GetAccessors()->getRouterExtenderAccessor()->getState(); - SerializerBase _retSerializer {}; - OhosRouterRouterRouterStateSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getRouterExtenderAccessor()->getState(); + SerializerBase _retSerializer {}; + OhosRouterRouterRouterStateSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_0(RouterExtender_getState, KInteropReturnBuffer) KInteropReturnBuffer impl_RouterExtender_getStateByIndex(Ark_Int32 index) { - const auto &retValue = GetAccessors()->getRouterExtenderAccessor()->getStateByIndex(index); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - OhosRouterRouterRouterStateSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getRouterExtenderAccessor()->getStateByIndex(index); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + OhosRouterRouterRouterStateSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RouterExtender_getStateByIndex, KInteropReturnBuffer, Ark_Int32) KInteropReturnBuffer impl_RouterExtender_getStateByUrl(const KStringPtr& url) { - const auto &retValue = GetAccessors()->getRouterExtenderAccessor()->getStateByUrl((const Ark_String*) (&url)); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_router_RouterState retValueTmpElement = retValue.array[retValueCounterI]; - OhosRouterRouterRouterStateSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getRouterExtenderAccessor()->getStateByUrl((const Ark_String*) (&url)); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_router_RouterState retValueTmpElement = retValue.array[retValueCounterI]; + OhosRouterRouterRouterStateSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RouterExtender_getStateByUrl, KInteropReturnBuffer, KStringPtr) void impl_RouterExtender_getParams() { - GetAccessors()->getRouterExtenderAccessor()->getParams(); + GetAccessors()->getRouterExtenderAccessor()->getParams(); } KOALA_INTEROP_V0(RouterExtender_getParams) void impl_RouterExtender_pushNamedRoute0(KVMContext vmContext, Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getRouterExtenderAccessor()->pushNamedRoute0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getRouterExtenderAccessor()->pushNamedRoute0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(RouterExtender_pushNamedRoute0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_pushNamedRoute1(Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; - } - Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->pushNamedRoute1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; + } + Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->pushNamedRoute1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(RouterExtender_pushNamedRoute1, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_replaceNamedRoute0(KVMContext vmContext, Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto enterFinishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback enterFinishCallbackValueTempTmpBuf = {}; - enterFinishCallbackValueTempTmpBuf.tag = enterFinishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((enterFinishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - enterFinishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback enterFinishCallbackValueTemp = enterFinishCallbackValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getRouterExtenderAccessor()->replaceNamedRoute0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&enterFinishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto enterFinishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback enterFinishCallbackValueTempTmpBuf = {}; + enterFinishCallbackValueTempTmpBuf.tag = enterFinishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((enterFinishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + enterFinishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback enterFinishCallbackValueTemp = enterFinishCallbackValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getRouterExtenderAccessor()->replaceNamedRoute0(reinterpret_cast(vmContext), GetAsyncWorker(), jsView, static_cast(&optionsValueTemp), static_cast(&enterFinishCallbackValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(RouterExtender_replaceNamedRoute0, Ark_NativePointer, KSerializerBuffer, KInt) void impl_RouterExtender_replaceNamedRoute1(Ark_NativePointer jsView, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; - const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; - finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; - } - Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; - } - Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getRouterExtenderAccessor()->replaceNamedRoute1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_PageRouterOptions optionsValueTemp = ArkuiComponentIdlizePageRouterOptionsSerializerImpl::read(thisDeserializer);; + const auto finishCallbackValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_RouterFinishCallback finishCallbackValueTempTmpBuf = {}; + finishCallbackValueTempTmpBuf.tag = finishCallbackValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((finishCallbackValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + finishCallbackValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ROUTERFINISHCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ROUTERFINISHCALLBACK))))}; + } + Opt_RouterFinishCallback finishCallbackValueTemp = finishCallbackValueTempTmpBuf;; + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_AsyncCallback_Void_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_ASYNCCALLBACK_VOID_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_ASYNCCALLBACK_VOID_VOID))))}; + } + Opt_AsyncCallback_Void_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getRouterExtenderAccessor()->replaceNamedRoute1(jsView, static_cast(&optionsValueTemp), static_cast(&finishCallbackValueTemp), static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(RouterExtender_replaceNamedRoute1, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ScaleSymbolEffect_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectDirection directionValueTempTmpBuf = {}; - directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; - return GetAccessors()->getScaleSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp), static_cast(&directionValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectDirection directionValueTempTmpBuf = {}; + directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; + return GetAccessors()->getScaleSymbolEffectAccessor()->construct(static_cast(&scopeValueTemp), static_cast(&directionValueTemp)); } KOALA_INTEROP_DIRECT_2(ScaleSymbolEffect_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_ScaleSymbolEffect_getFinalizer() { - return GetAccessors()->getScaleSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getScaleSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ScaleSymbolEffect_getFinalizer, Ark_NativePointer) +void impl_ScaleSymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getScaleSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ScaleSymbolEffect_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_ScaleSymbolEffect_getScope(Ark_NativePointer thisPtr) { - Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getScaleSymbolEffectAccessor()->getScope(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getScaleSymbolEffectAccessor()->getScope(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ScaleSymbolEffect_getScope, KInteropReturnBuffer, Ark_NativePointer) void impl_ScaleSymbolEffect_setScope(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectScope scopeValueTempTmpBuf = {}; - scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; - GetAccessors()->getScaleSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); + Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto scopeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectScope scopeValueTempTmpBuf = {}; + scopeValueTempTmpBuf.tag = scopeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((scopeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + scopeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectScope scopeValueTemp = scopeValueTempTmpBuf;; + GetAccessors()->getScaleSymbolEffectAccessor()->setScope(self, static_cast(&scopeValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScaleSymbolEffect_setScope, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_ScaleSymbolEffect_getDirection(Ark_NativePointer thisPtr) { - Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getScaleSymbolEffectAccessor()->getDirection(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getScaleSymbolEffectAccessor()->getDirection(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ScaleSymbolEffect_getDirection, KInteropReturnBuffer, Ark_NativePointer) void impl_ScaleSymbolEffect_setDirection(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EffectDirection directionValueTempTmpBuf = {}; - directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; - GetAccessors()->getScaleSymbolEffectAccessor()->setDirection(self, static_cast(&directionValueTemp)); + Ark_ScaleSymbolEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto directionValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectDirection directionValueTempTmpBuf = {}; + directionValueTempTmpBuf.tag = directionValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((directionValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + directionValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectDirection directionValueTemp = directionValueTempTmpBuf;; + GetAccessors()->getScaleSymbolEffectAccessor()->setDirection(self, static_cast(&directionValueTemp)); } KOALA_INTEROP_DIRECT_V3(ScaleSymbolEffect_setDirection, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Boolean impl_ScreenshotService_requestScreenshot(const KStringPtr& target, const KStringPtr& name) { - return GetAccessors()->getScreenshotServiceAccessor()->requestScreenshot((const Ark_String*) (&target), (const Ark_String*) (&name)); + return GetAccessors()->getScreenshotServiceAccessor()->requestScreenshot((const Ark_String*) (&target), (const Ark_String*) (&name)); } KOALA_INTEROP_2(ScreenshotService_requestScreenshot, Ark_Boolean, KStringPtr, KStringPtr) Ark_NativePointer impl_ScrollableTargetInfo_construct() { - return GetAccessors()->getScrollableTargetInfoAccessor()->construct(); + return GetAccessors()->getScrollableTargetInfoAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(ScrollableTargetInfo_construct, Ark_NativePointer) Ark_NativePointer impl_ScrollableTargetInfo_getFinalizer() { - return GetAccessors()->getScrollableTargetInfoAccessor()->getFinalizer(); + return GetAccessors()->getScrollableTargetInfoAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ScrollableTargetInfo_getFinalizer, Ark_NativePointer) +void impl_ScrollableTargetInfo_callHolder(Ark_NativePointer thisPtr) { + Ark_ScrollableTargetInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getScrollableTargetInfoAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ScrollableTargetInfo_callHolder, Ark_NativePointer) Ark_Boolean impl_ScrollableTargetInfo_isBegin(Ark_NativePointer thisPtr) { - Ark_ScrollableTargetInfo self = reinterpret_cast(thisPtr); - return GetAccessors()->getScrollableTargetInfoAccessor()->isBegin(self); + Ark_ScrollableTargetInfo self = reinterpret_cast(thisPtr); + return GetAccessors()->getScrollableTargetInfoAccessor()->isBegin(self); } KOALA_INTEROP_DIRECT_1(ScrollableTargetInfo_isBegin, Ark_Boolean, Ark_NativePointer) Ark_Boolean impl_ScrollableTargetInfo_isEnd(Ark_NativePointer thisPtr) { - Ark_ScrollableTargetInfo self = reinterpret_cast(thisPtr); - return GetAccessors()->getScrollableTargetInfoAccessor()->isEnd(self); + Ark_ScrollableTargetInfo self = reinterpret_cast(thisPtr); + return GetAccessors()->getScrollableTargetInfoAccessor()->isEnd(self); } KOALA_INTEROP_DIRECT_1(ScrollableTargetInfo_isEnd, Ark_Boolean, Ark_NativePointer) Ark_NativePointer impl_Scroller_construct() { - return GetAccessors()->getScrollerAccessor()->construct(); + return GetAccessors()->getScrollerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(Scroller_construct, Ark_NativePointer) Ark_NativePointer impl_Scroller_getFinalizer() { - return GetAccessors()->getScrollerAccessor()->getFinalizer(); + return GetAccessors()->getScrollerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Scroller_getFinalizer, Ark_NativePointer) +void impl_Scroller_callHolder(Ark_NativePointer thisPtr) { + Ark_Scroller self = reinterpret_cast(thisPtr); + GetAccessors()->getScrollerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(Scroller_callHolder, Ark_NativePointer) void impl_Scroller_scrollTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Scroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ScrollOptions optionsValueTemp = ArkuiComponentScrollScrollOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getScrollerAccessor()->scrollTo(self, static_cast(&optionsValueTemp)); + Ark_Scroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ScrollOptions optionsValueTemp = ArkuiComponentScrollScrollOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getScrollerAccessor()->scrollTo(self, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(Scroller_scrollTo, Ark_NativePointer, KSerializerBuffer, KInt) void impl_Scroller_scrollEdge(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Scroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollEdgeOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentScrollScrollEdgeOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ScrollEdgeOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getScrollerAccessor()->scrollEdge(self, static_cast(value), static_cast(&optionsValueTemp)); + Ark_Scroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollEdgeOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentScrollScrollEdgeOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ScrollEdgeOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getScrollerAccessor()->scrollEdge(self, static_cast(value), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V4(Scroller_scrollEdge, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Scroller_fling(Ark_NativePointer thisPtr, KDouble velocity) { - Ark_Scroller self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getScrollerAccessor()->fling(self, velocity); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_Scroller self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getScrollerAccessor()->fling(self, velocity); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(Scroller_fling, KInteropReturnBuffer, Ark_NativePointer, KDouble) void impl_Scroller_scrollPage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Scroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ScrollPageOptions valueValueTemp = ArkuiComponentScrollScrollPageOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getScrollerAccessor()->scrollPage(self, static_cast(&valueValueTemp)); + Ark_Scroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ScrollPageOptions valueValueTemp = ArkuiComponentScrollScrollPageOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getScrollerAccessor()->scrollPage(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_V3(Scroller_scrollPage, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_Scroller_currentOffset(Ark_NativePointer thisPtr) { - Ark_Scroller self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getScrollerAccessor()->currentOffset(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentScrollOffsetResultSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_Scroller self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getScrollerAccessor()->currentOffset(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentScrollOffsetResultSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(Scroller_currentOffset, KInteropReturnBuffer, Ark_NativePointer) void impl_Scroller_scrollToIndex(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Scroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto smoothValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean smoothValueTempTmpBuf = {}; - smoothValueTempTmpBuf.tag = smoothValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((smoothValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - smoothValueTempTmpBuf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean smoothValueTemp = smoothValueTempTmpBuf;; - const auto alignValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollAlign alignValueTempTmpBuf = {}; - alignValueTempTmpBuf.tag = alignValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((alignValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - alignValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_ScrollAlign alignValueTemp = alignValueTempTmpBuf;; - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollToIndexOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentScrollScrollToIndexOptionsSerializerImpl::read(thisDeserializer); - } - Opt_ScrollToIndexOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getScrollerAccessor()->scrollToIndex(self, value, static_cast(&smoothValueTemp), static_cast(&alignValueTemp), static_cast(&optionsValueTemp)); + Ark_Scroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto smoothValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean smoothValueTempTmpBuf = {}; + smoothValueTempTmpBuf.tag = smoothValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((smoothValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + smoothValueTempTmpBuf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean smoothValueTemp = smoothValueTempTmpBuf;; + const auto alignValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollAlign alignValueTempTmpBuf = {}; + alignValueTempTmpBuf.tag = alignValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((alignValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + alignValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ScrollAlign alignValueTemp = alignValueTempTmpBuf;; + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollToIndexOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentScrollScrollToIndexOptionsSerializerImpl::read(thisDeserializer); + } + Opt_ScrollToIndexOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getScrollerAccessor()->scrollToIndex(self, value, static_cast(&smoothValueTemp), static_cast(&alignValueTemp), static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V4(Scroller_scrollToIndex, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) void impl_Scroller_scrollBy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_Scroller self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 dxValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length dxValueTempTmpBuf = {}; - dxValueTempTmpBuf.selector = dxValueTempTmpBufUnionSelector; - if (dxValueTempTmpBufUnionSelector == 0) { - dxValueTempTmpBuf.selector = 0; - dxValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (dxValueTempTmpBufUnionSelector == 1) { - dxValueTempTmpBuf.selector = 1; - dxValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); - } else if (dxValueTempTmpBufUnionSelector == 2) { - dxValueTempTmpBuf.selector = 2; - dxValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for dxValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Length dxValueTemp = static_cast(dxValueTempTmpBuf);; - const Ark_Int8 dyValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Length dyValueTempTmpBuf = {}; - dyValueTempTmpBuf.selector = dyValueTempTmpBufUnionSelector; - if (dyValueTempTmpBufUnionSelector == 0) { - dyValueTempTmpBuf.selector = 0; - dyValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (dyValueTempTmpBufUnionSelector == 1) { - dyValueTempTmpBuf.selector = 1; - dyValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); - } else if (dyValueTempTmpBufUnionSelector == 2) { - dyValueTempTmpBuf.selector = 2; - dyValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for dyValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Length dyValueTemp = static_cast(dyValueTempTmpBuf);; - GetAccessors()->getScrollerAccessor()->scrollBy(self, static_cast(&dxValueTemp), static_cast(&dyValueTemp)); + Ark_Scroller self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 dxValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length dxValueTempTmpBuf = {}; + dxValueTempTmpBuf.selector = dxValueTempTmpBufUnionSelector; + if (dxValueTempTmpBufUnionSelector == 0) { + dxValueTempTmpBuf.selector = 0; + dxValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (dxValueTempTmpBufUnionSelector == 1) { + dxValueTempTmpBuf.selector = 1; + dxValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); + } else if (dxValueTempTmpBufUnionSelector == 2) { + dxValueTempTmpBuf.selector = 2; + dxValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for dxValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Length dxValueTemp = static_cast(dxValueTempTmpBuf);; + const Ark_Int8 dyValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Length dyValueTempTmpBuf = {}; + dyValueTempTmpBuf.selector = dyValueTempTmpBufUnionSelector; + if (dyValueTempTmpBufUnionSelector == 0) { + dyValueTempTmpBuf.selector = 0; + dyValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (dyValueTempTmpBufUnionSelector == 1) { + dyValueTempTmpBuf.selector = 1; + dyValueTempTmpBuf.value1 = thisDeserializer.readFloat64(); + } else if (dyValueTempTmpBufUnionSelector == 2) { + dyValueTempTmpBuf.selector = 2; + dyValueTempTmpBuf.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for dyValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Length dyValueTemp = static_cast(dyValueTempTmpBuf);; + GetAccessors()->getScrollerAccessor()->scrollBy(self, static_cast(&dxValueTemp), static_cast(&dyValueTemp)); } KOALA_INTEROP_DIRECT_V3(Scroller_scrollBy, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Boolean impl_Scroller_isAtEnd(Ark_NativePointer thisPtr) { - Ark_Scroller self = reinterpret_cast(thisPtr); - return GetAccessors()->getScrollerAccessor()->isAtEnd(self); + Ark_Scroller self = reinterpret_cast(thisPtr); + return GetAccessors()->getScrollerAccessor()->isAtEnd(self); } KOALA_INTEROP_DIRECT_1(Scroller_isAtEnd, Ark_Boolean, Ark_NativePointer) KInteropReturnBuffer impl_Scroller_getItemRect(Ark_NativePointer thisPtr, Ark_Int32 index) { - Ark_Scroller self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getScrollerAccessor()->getItemRect(self, index); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueValue); - } - } - return _retSerializer.toReturnBuffer(); + Ark_Scroller self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getScrollerAccessor()->getItemRect(self, index); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueValue); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(Scroller_getItemRect, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_Scroller_getItemIndex(Ark_NativePointer thisPtr, KDouble x, KDouble y) { - Ark_Scroller self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getScrollerAccessor()->getItemIndex(self, x, y); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - _retSerializer.writeInt32(retValueValue); - } - } - return _retSerializer.toReturnBuffer(); + Ark_Scroller self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getScrollerAccessor()->getItemIndex(self, x, y); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + _retSerializer.writeInt32(retValueValue); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(Scroller_getItemIndex, KInteropReturnBuffer, Ark_NativePointer, KDouble, KDouble) Ark_NativePointer impl_ScrollResult_construct() { - return GetAccessors()->getScrollResultAccessor()->construct(); + return GetAccessors()->getScrollResultAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(ScrollResult_construct, Ark_NativePointer) Ark_NativePointer impl_ScrollResult_getFinalizer() { - return GetAccessors()->getScrollResultAccessor()->getFinalizer(); + return GetAccessors()->getScrollResultAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(ScrollResult_getFinalizer, Ark_NativePointer) +void impl_ScrollResult_callHolder(Ark_NativePointer thisPtr) { + Ark_ScrollResult self = reinterpret_cast(thisPtr); + GetAccessors()->getScrollResultAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(ScrollResult_callHolder, Ark_NativePointer) Ark_Int32 impl_ScrollResult_getOffsetRemain(Ark_NativePointer thisPtr) { - Ark_ScrollResult self = reinterpret_cast(thisPtr); - return GetAccessors()->getScrollResultAccessor()->getOffsetRemain(self); + Ark_ScrollResult self = reinterpret_cast(thisPtr); + return GetAccessors()->getScrollResultAccessor()->getOffsetRemain(self); } KOALA_INTEROP_1(ScrollResult_getOffsetRemain, Ark_Int32, Ark_NativePointer) void impl_ScrollResult_setOffsetRemain(Ark_NativePointer thisPtr, KDouble offsetRemain) { - Ark_ScrollResult self = reinterpret_cast(thisPtr); - GetAccessors()->getScrollResultAccessor()->setOffsetRemain(self, offsetRemain); + Ark_ScrollResult self = reinterpret_cast(thisPtr); + GetAccessors()->getScrollResultAccessor()->setOffsetRemain(self, offsetRemain); } KOALA_INTEROP_V2(ScrollResult_setOffsetRemain, Ark_NativePointer, KDouble) Ark_NativePointer impl_SearchController_construct() { - return GetAccessors()->getSearchControllerAccessor()->construct(); + return GetAccessors()->getSearchControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SearchController_construct, Ark_NativePointer) Ark_NativePointer impl_SearchController_getFinalizer() { - return GetAccessors()->getSearchControllerAccessor()->getFinalizer(); + return GetAccessors()->getSearchControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SearchController_getFinalizer, Ark_NativePointer) +void impl_SearchController_callHolder(Ark_NativePointer thisPtr) { + Ark_SearchController self = reinterpret_cast(thisPtr); + GetAccessors()->getSearchControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SearchController_callHolder, Ark_NativePointer) void impl_SearchController_caretPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_SearchController self = reinterpret_cast(thisPtr); - GetAccessors()->getSearchControllerAccessor()->caretPosition(self, value); + Ark_SearchController self = reinterpret_cast(thisPtr); + GetAccessors()->getSearchControllerAccessor()->caretPosition(self, value); } KOALA_INTEROP_DIRECT_V2(SearchController_caretPosition, Ark_NativePointer, Ark_Int32) void impl_SearchController_stopEditing(Ark_NativePointer thisPtr) { - Ark_SearchController self = reinterpret_cast(thisPtr); - GetAccessors()->getSearchControllerAccessor()->stopEditing(self); + Ark_SearchController self = reinterpret_cast(thisPtr); + GetAccessors()->getSearchControllerAccessor()->stopEditing(self); } KOALA_INTEROP_DIRECT_V1(SearchController_stopEditing, Ark_NativePointer) void impl_SearchController_setTextSelection(Ark_NativePointer thisPtr, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SearchController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getSearchControllerAccessor()->setTextSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); + Ark_SearchController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getSearchControllerAccessor()->setTextSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V5(SearchController_setTextSelection, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) Ark_NativePointer impl_SearchOps_registerSearchValueCallback(Ark_NativePointer node, const KStringPtr& value, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - SearchValueCallback callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SEARCHVALUECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SEARCHVALUECALLBACK))))};; - return GetAccessors()->getSearchOpsAccessor()->registerSearchValueCallback(node, (const Ark_String*) (&value), static_cast(&callbackValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + SearchValueCallback callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SEARCHVALUECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SEARCHVALUECALLBACK))))};; + return GetAccessors()->getSearchOpsAccessor()->registerSearchValueCallback(node, (const Ark_String*) (&value), static_cast(&callbackValueTemp)); } KOALA_INTEROP_4(SearchOps_registerSearchValueCallback, Ark_NativePointer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) Ark_NativePointer impl_SpringBackAction_construct() { - return GetAccessors()->getSpringBackActionAccessor()->construct(); + return GetAccessors()->getSpringBackActionAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SpringBackAction_construct, Ark_NativePointer) Ark_NativePointer impl_SpringBackAction_getFinalizer() { - return GetAccessors()->getSpringBackActionAccessor()->getFinalizer(); + return GetAccessors()->getSpringBackActionAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SpringBackAction_getFinalizer, Ark_NativePointer) +void impl_SpringBackAction_callHolder(Ark_NativePointer thisPtr) { + Ark_SpringBackAction self = reinterpret_cast(thisPtr); + GetAccessors()->getSpringBackActionAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SpringBackAction_callHolder, Ark_NativePointer) void impl_SpringBackAction_springBack(Ark_NativePointer thisPtr) { - Ark_SpringBackAction self = reinterpret_cast(thisPtr); - GetAccessors()->getSpringBackActionAccessor()->springBack(self); + Ark_SpringBackAction self = reinterpret_cast(thisPtr); + GetAccessors()->getSpringBackActionAccessor()->springBack(self); } KOALA_INTEROP_DIRECT_V1(SpringBackAction_springBack, Ark_NativePointer) void impl_StageExtender_SetSrcPage(Ark_NativePointer node) { - GetAccessors()->getStageExtenderAccessor()->SetSrcPage(node); + GetAccessors()->getStageExtenderAccessor()->SetSrcPage(node); } KOALA_INTEROP_DIRECT_V1(StageExtender_SetSrcPage, Ark_NativePointer) void impl_StageExtender_PushPage(Ark_NativePointer node) { - GetAccessors()->getStageExtenderAccessor()->PushPage(node); + GetAccessors()->getStageExtenderAccessor()->PushPage(node); } KOALA_INTEROP_DIRECT_V1(StageExtender_PushPage, Ark_NativePointer) void impl_StageExtender_PopPageAndSwitchTo(Ark_NativePointer node) { - GetAccessors()->getStageExtenderAccessor()->PopPageAndSwitchTo(node); + GetAccessors()->getStageExtenderAccessor()->PopPageAndSwitchTo(node); } KOALA_INTEROP_DIRECT_V1(StageExtender_PopPageAndSwitchTo, Ark_NativePointer) void impl_StageExtender_ResetTransitions(Ark_NativePointer node) { - GetAccessors()->getStageExtenderAccessor()->ResetTransitions(node); + GetAccessors()->getStageExtenderAccessor()->ResetTransitions(node); } KOALA_INTEROP_DIRECT_V1(StageExtender_ResetTransitions, Ark_NativePointer) void impl_StageExtender_SetPageTransition(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TransitionParam paramValueTemp = ArkuiComponentIdlizeTransitionParamSerializerImpl::read(thisDeserializer);; - GetAccessors()->getStageExtenderAccessor()->SetPageTransition(node, static_cast(¶mValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TransitionParam paramValueTemp = ArkuiComponentIdlizeTransitionParamSerializerImpl::read(thisDeserializer);; + GetAccessors()->getStageExtenderAccessor()->SetPageTransition(node, static_cast(¶mValueTemp)); } KOALA_INTEROP_DIRECT_V3(StageExtender_SetPageTransition, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StateStylesOps_onStateStyleChange(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_StateStylesChange stateStyleChangeValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STATESTYLESCHANGE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STATESTYLESCHANGE))))};; - GetAccessors()->getStateStylesOpsAccessor()->onStateStyleChange(node, static_cast(&stateStyleChangeValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_StateStylesChange stateStyleChangeValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STATESTYLESCHANGE)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STATESTYLESCHANGE))))};; + GetAccessors()->getStateStylesOpsAccessor()->onStateStyleChange(node, static_cast(&stateStyleChangeValueTemp)); } KOALA_INTEROP_DIRECT_V3(StateStylesOps_onStateStyleChange, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_StyledString_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_String_ImageAttachment_CustomSpan valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = static_cast(ArkuiComponentStyledStringImageAttachmentSerializerImpl::read(thisDeserializer)); - } else if (valueValueTempTmpBufUnionSelector == 2) { - valueValueTempTmpBuf.selector = 2; - valueValueTempTmpBuf.value2 = static_cast(ArkuiComponentStyledStringCustomSpanSerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_String_ImageAttachment_CustomSpan valueValueTemp = static_cast(valueValueTempTmpBuf);; - const auto stylesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_StyleOptions stylesValueTempTmpBuf = {}; - stylesValueTempTmpBuf.tag = stylesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((stylesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 stylesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_StyleOptions stylesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_String_ImageAttachment_CustomSpan valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = static_cast(ArkuiComponentStyledStringImageAttachmentSerializerImpl::read(thisDeserializer)); + } else if (valueValueTempTmpBufUnionSelector == 2) { + valueValueTempTmpBuf.selector = 2; + valueValueTempTmpBuf.value2 = static_cast(ArkuiComponentStyledStringCustomSpanSerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_String_ImageAttachment_CustomSpan valueValueTemp = static_cast(valueValueTempTmpBuf);; + const auto stylesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_StyleOptions stylesValueTempTmpBuf = {}; + stylesValueTempTmpBuf.tag = stylesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((stylesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 stylesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_StyleOptions stylesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&stylesValueTempTmpBufOpt, stylesValueTempTmpBufOptLength); - for (int stylesValueTempTmpBufOptBufCounterI = 0; stylesValueTempTmpBufOptBufCounterI < stylesValueTempTmpBufOptLength; stylesValueTempTmpBufOptBufCounterI++) { - stylesValueTempTmpBufOpt.array[stylesValueTempTmpBufOptBufCounterI] = ArkuiComponentStyledStringStyleOptionsSerializerImpl::read(thisDeserializer); - } - stylesValueTempTmpBuf.value = stylesValueTempTmpBufOpt; + for (int stylesValueTempTmpBufOptBufCounterI = 0; stylesValueTempTmpBufOptBufCounterI < stylesValueTempTmpBufOptLength; stylesValueTempTmpBufOptBufCounterI++) { + stylesValueTempTmpBufOpt.array[stylesValueTempTmpBufOptBufCounterI] = ArkuiComponentStyledStringStyleOptionsSerializerImpl::read(thisDeserializer); } - Opt_Array_StyleOptions stylesValueTemp = stylesValueTempTmpBuf;; - return GetAccessors()->getStyledStringAccessor()->construct(static_cast(&valueValueTemp), static_cast(&stylesValueTemp)); + stylesValueTempTmpBuf.value = stylesValueTempTmpBufOpt; + } + Opt_Array_StyleOptions stylesValueTemp = stylesValueTempTmpBuf;; + return GetAccessors()->getStyledStringAccessor()->construct(static_cast(&valueValueTemp), static_cast(&stylesValueTemp)); } KOALA_INTEROP_DIRECT_2(StyledString_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_StyledString_getFinalizer() { - return GetAccessors()->getStyledStringAccessor()->getFinalizer(); + return GetAccessors()->getStyledStringAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(StyledString_getFinalizer, Ark_NativePointer) +void impl_StyledString_callHolder(Ark_NativePointer thisPtr) { + Ark_StyledString self = reinterpret_cast(thisPtr); + GetAccessors()->getStyledStringAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(StyledString_callHolder, Ark_NativePointer) Ark_String impl_StyledString_getString(Ark_NativePointer thisPtr) { - Ark_StyledString self = reinterpret_cast(thisPtr); - return GetAccessors()->getStyledStringAccessor()->getString(self); + Ark_StyledString self = reinterpret_cast(thisPtr); + return GetAccessors()->getStyledStringAccessor()->getString(self); } KOALA_INTEROP_1(StyledString_getString, KStringPtr, Ark_NativePointer) KInteropReturnBuffer impl_StyledString_getStyles(Ark_NativePointer thisPtr, Ark_Int32 start, Ark_Int32 length, KSerializerBuffer thisArray, KInt thisLength) { - Ark_StyledString self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto styledKeyValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_StyledStringKey styledKeyValueTempTmpBuf = {}; - styledKeyValueTempTmpBuf.tag = styledKeyValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((styledKeyValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - styledKeyValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_StyledStringKey styledKeyValueTemp = styledKeyValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getStyledStringAccessor()->getStyles(self, start, length, static_cast(&styledKeyValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueValueTmpValue = retValueValue.value; - _retSerializer.writeInt32(retValueValueTmpValue.length); - for (int retValueValueTmpValueCounterI = 0; retValueValueTmpValueCounterI < retValueValueTmpValue.length; retValueValueTmpValueCounterI++) { - const Ark_SpanStyle retValueValueTmpValueTmpElement = retValueValueTmpValue.array[retValueValueTmpValueCounterI]; - ArkuiComponentStyledStringSpanStyleSerializerImpl::write(_retSerializer, retValueValueTmpValueTmpElement); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } + Ark_StyledString self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto styledKeyValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_StyledStringKey styledKeyValueTempTmpBuf = {}; + styledKeyValueTempTmpBuf.tag = styledKeyValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((styledKeyValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + styledKeyValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_StyledStringKey styledKeyValueTemp = styledKeyValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getStyledStringAccessor()->getStyles(self, start, length, static_cast(&styledKeyValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueTmpValue = retValueValue.value; + _retSerializer.writeInt32(retValueValueTmpValue.length); + for (int retValueValueTmpValueCounterI = 0; retValueValueTmpValueCounterI < retValueValueTmpValue.length; retValueValueTmpValueCounterI++) { + const Ark_SpanStyle retValueValueTmpValueTmpElement = retValueValueTmpValue.array[retValueValueTmpValueCounterI]; + ArkuiComponentStyledStringSpanStyleSerializerImpl::write(_retSerializer, retValueValueTmpValueTmpElement); } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } - return _retSerializer.toReturnBuffer(); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_5(StyledString_getStyles, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) Ark_Boolean impl_StyledString_equals(Ark_NativePointer thisPtr, Ark_NativePointer other) { - Ark_StyledString self = reinterpret_cast(thisPtr); - return GetAccessors()->getStyledStringAccessor()->equals(self, static_cast(other)); + Ark_StyledString self = reinterpret_cast(thisPtr); + return GetAccessors()->getStyledStringAccessor()->equals(self, static_cast(other)); } KOALA_INTEROP_DIRECT_2(StyledString_equals, Ark_Boolean, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_StyledString_subStyledString(Ark_NativePointer thisPtr, Ark_Int32 start, KSerializerBuffer thisArray, KInt thisLength) { - Ark_StyledString self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto lengthValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 lengthValueTempTmpBuf = {}; - lengthValueTempTmpBuf.tag = lengthValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((lengthValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - lengthValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 lengthValueTemp = lengthValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getStyledStringAccessor()->subStyledString(self, start, static_cast(&lengthValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueValueTmpValue = retValueValue.value; - ArkuiComponentStyledStringStyledStringSerializerImpl::write(_retSerializer, retValueValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - } + Ark_StyledString self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto lengthValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 lengthValueTempTmpBuf = {}; + lengthValueTempTmpBuf.tag = lengthValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((lengthValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + lengthValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 lengthValueTemp = lengthValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getStyledStringAccessor()->subStyledString(self, start, static_cast(&lengthValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + if (runtimeType(retValueValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueTmpValue = retValueValue.value; + ArkuiComponentStyledStringStyledStringSerializerImpl::write(_retSerializer, retValueValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); } - return _retSerializer.toReturnBuffer(); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(StyledString_subStyledString, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) void impl_StyledString_fromHtml(KVMContext vmContext, const KStringPtr& html, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getStyledStringAccessor()->fromHtml(reinterpret_cast(vmContext), GetAsyncWorker(), (const Ark_String*) (&html), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getStyledStringAccessor()->fromHtml(reinterpret_cast(vmContext), GetAsyncWorker(), (const Ark_String*) (&html), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(StyledString_fromHtml, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_StyledString_toHtml(Ark_NativePointer styledString) { - const auto &retValue = GetAccessors()->getStyledStringAccessor()->toHtml(static_cast(styledString)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - _retSerializer.writeString(retValueValue); - } - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getStyledStringAccessor()->toHtml(static_cast(styledString)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + _retSerializer.writeString(retValueValue); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(StyledString_toHtml, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_StyledString_marshalling0(Ark_NativePointer styledString, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - StyledStringMarshallCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_STYLEDSTRINGMARSHALLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_STYLEDSTRINGMARSHALLCALLBACK))))};; - const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling0(static_cast(styledString), static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBuffer(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + DeserializerBase thisDeserializer(thisArray, thisLength); + StyledStringMarshallCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_STYLEDSTRINGMARSHALLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_STYLEDSTRINGMARSHALLCALLBACK))))};; + const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling0(static_cast(styledString), static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBuffer(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(StyledString_marshalling0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_StyledString_unmarshalling0(KVMContext vmContext, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Buffer bufferValueTemp = static_cast(thisDeserializer.readBuffer());; - StyledStringUnmarshallCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_STYLEDSTRINGUNMARSHALLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_STYLEDSTRINGUNMARSHALLCALLBACK))))};; - Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getStyledStringAccessor()->unmarshalling0(reinterpret_cast(vmContext), GetAsyncWorker(), static_cast(&bufferValueTemp), static_cast(&callback_ValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Buffer bufferValueTemp = static_cast(thisDeserializer.readBuffer());; + StyledStringUnmarshallCallback callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_STYLEDSTRINGUNMARSHALLCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_STYLEDSTRINGUNMARSHALLCALLBACK))))};; + Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getStyledStringAccessor()->unmarshalling0(reinterpret_cast(vmContext), GetAsyncWorker(), static_cast(&bufferValueTemp), static_cast(&callback_ValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V2(StyledString_unmarshalling0, KSerializerBuffer, KInt) KInteropReturnBuffer impl_StyledString_marshalling1(Ark_NativePointer styledString) { - const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling1(static_cast(styledString)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBuffer(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling1(static_cast(styledString)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBuffer(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(StyledString_marshalling1, KInteropReturnBuffer, Ark_NativePointer) void impl_StyledString_unmarshalling1(KVMContext vmContext, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Buffer bufferValueTemp = static_cast(thisDeserializer.readBuffer());; - Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getStyledStringAccessor()->unmarshalling1(reinterpret_cast(vmContext), GetAsyncWorker(), static_cast(&bufferValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Buffer bufferValueTemp = static_cast(thisDeserializer.readBuffer());; + Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_STYLEDSTRING_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getStyledStringAccessor()->unmarshalling1(reinterpret_cast(vmContext), GetAsyncWorker(), static_cast(&bufferValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V2(StyledString_unmarshalling1, KSerializerBuffer, KInt) Ark_Int32 impl_StyledString_getLength(Ark_NativePointer thisPtr) { - Ark_StyledString self = reinterpret_cast(thisPtr); - return GetAccessors()->getStyledStringAccessor()->getLength(self); + Ark_StyledString self = reinterpret_cast(thisPtr); + return GetAccessors()->getStyledStringAccessor()->getLength(self); } KOALA_INTEROP_DIRECT_1(StyledString_getLength, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_StyledStringController_construct() { - return GetAccessors()->getStyledStringControllerAccessor()->construct(); + return GetAccessors()->getStyledStringControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(StyledStringController_construct, Ark_NativePointer) Ark_NativePointer impl_StyledStringController_getFinalizer() { - return GetAccessors()->getStyledStringControllerAccessor()->getFinalizer(); + return GetAccessors()->getStyledStringControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(StyledStringController_getFinalizer, Ark_NativePointer) +void impl_StyledStringController_callHolder(Ark_NativePointer thisPtr) { + Ark_StyledStringController self = reinterpret_cast(thisPtr); + GetAccessors()->getStyledStringControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(StyledStringController_callHolder, Ark_NativePointer) void impl_StyledStringController_setStyledString(Ark_NativePointer thisPtr, Ark_NativePointer styledString) { - Ark_StyledStringController self = reinterpret_cast(thisPtr); - GetAccessors()->getStyledStringControllerAccessor()->setStyledString(self, static_cast(styledString)); + Ark_StyledStringController self = reinterpret_cast(thisPtr); + GetAccessors()->getStyledStringControllerAccessor()->setStyledString(self, static_cast(styledString)); } KOALA_INTEROP_DIRECT_V2(StyledStringController_setStyledString, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_StyledStringController_getStyledString(Ark_NativePointer thisPtr) { - Ark_StyledStringController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getStyledStringControllerAccessor()->getStyledString(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentStyledStringMutableStyledStringSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_StyledStringController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getStyledStringControllerAccessor()->getStyledString(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentStyledStringMutableStyledStringSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(StyledStringController_getStyledString, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_SubmitEvent_construct() { - return GetAccessors()->getSubmitEventAccessor()->construct(); + return GetAccessors()->getSubmitEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SubmitEvent_construct, Ark_NativePointer) Ark_NativePointer impl_SubmitEvent_getFinalizer() { - return GetAccessors()->getSubmitEventAccessor()->getFinalizer(); + return GetAccessors()->getSubmitEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SubmitEvent_getFinalizer, Ark_NativePointer) +void impl_SubmitEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_SubmitEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getSubmitEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SubmitEvent_callHolder, Ark_NativePointer) void impl_SubmitEvent_keepEditableState(Ark_NativePointer thisPtr) { - Ark_SubmitEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getSubmitEventAccessor()->keepEditableState(self); + Ark_SubmitEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getSubmitEventAccessor()->keepEditableState(self); } KOALA_INTEROP_DIRECT_V1(SubmitEvent_keepEditableState, Ark_NativePointer) Ark_String impl_SubmitEvent_getText(Ark_NativePointer thisPtr) { - Ark_SubmitEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getSubmitEventAccessor()->getText(self); + Ark_SubmitEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getSubmitEventAccessor()->getText(self); } KOALA_INTEROP_1(SubmitEvent_getText, KStringPtr, Ark_NativePointer) void impl_SubmitEvent_setText(Ark_NativePointer thisPtr, const KStringPtr& text) { - Ark_SubmitEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getSubmitEventAccessor()->setText(self, (const Ark_String*) (&text)); + Ark_SubmitEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getSubmitEventAccessor()->setText(self, (const Ark_String*) (&text)); } KOALA_INTEROP_V2(SubmitEvent_setText, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_SubTabBarStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_ComponentContent contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; - if (contentValueTempTmpBufUnionSelector == 0) { - contentValueTempTmpBuf.selector = 0; - const Ark_Int8 contentValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr contentValueTempTmpBufBufU = {}; - contentValueTempTmpBufBufU.selector = contentValueTempTmpBufBufUUnionSelector; - if (contentValueTempTmpBufBufUUnionSelector == 0) { - contentValueTempTmpBufBufU.selector = 0; - contentValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufBufUUnionSelector == 1) { - contentValueTempTmpBufBufU.selector = 1; - contentValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufBufU has to be chosen through deserialisation."); - } - contentValueTempTmpBuf.value0 = static_cast(contentValueTempTmpBufBufU); - } else if (contentValueTempTmpBufUnionSelector == 1) { - contentValueTempTmpBuf.selector = 1; - contentValueTempTmpBuf.value1 = static_cast(thisDeserializer.readObject()); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_ComponentContent contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; + if (contentValueTempTmpBufUnionSelector == 0) { + contentValueTempTmpBuf.selector = 0; + const Ark_Int8 contentValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr contentValueTempTmpBufBufU = {}; + contentValueTempTmpBufBufU.selector = contentValueTempTmpBufBufUUnionSelector; + if (contentValueTempTmpBufBufUUnionSelector == 0) { + contentValueTempTmpBufBufU.selector = 0; + contentValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufBufUUnionSelector == 1) { + contentValueTempTmpBufBufU.selector = 1; + contentValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ResourceStr_ComponentContent contentValueTemp = static_cast(contentValueTempTmpBuf);; - return GetAccessors()->getSubTabBarStyleAccessor()->construct(static_cast(&contentValueTemp)); + INTEROP_FATAL("One of the branches for contentValueTempTmpBufBufU has to be chosen through deserialisation."); + } + contentValueTempTmpBuf.value0 = static_cast(contentValueTempTmpBufBufU); + } else if (contentValueTempTmpBufUnionSelector == 1) { + contentValueTempTmpBuf.selector = 1; + contentValueTempTmpBuf.value1 = static_cast(thisDeserializer.readObject()); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_ComponentContent contentValueTemp = static_cast(contentValueTempTmpBuf);; + return GetAccessors()->getSubTabBarStyleAccessor()->construct(static_cast(&contentValueTemp)); } KOALA_INTEROP_DIRECT_2(SubTabBarStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_getFinalizer() { - return GetAccessors()->getSubTabBarStyleAccessor()->getFinalizer(); + return GetAccessors()->getSubTabBarStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SubTabBarStyle_getFinalizer, Ark_NativePointer) +void impl_SubTabBarStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getSubTabBarStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SubTabBarStyle_callHolder, Ark_NativePointer) Ark_NativePointer impl_SubTabBarStyle_of(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_ComponentContent contentValueTempTmpBuf = {}; - contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; - if (contentValueTempTmpBufUnionSelector == 0) { - contentValueTempTmpBuf.selector = 0; - const Ark_Int8 contentValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr contentValueTempTmpBufBufU = {}; - contentValueTempTmpBufBufU.selector = contentValueTempTmpBufBufUUnionSelector; - if (contentValueTempTmpBufBufUUnionSelector == 0) { - contentValueTempTmpBufBufU.selector = 0; - contentValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (contentValueTempTmpBufBufUUnionSelector == 1) { - contentValueTempTmpBufBufU.selector = 1; - contentValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBufBufU has to be chosen through deserialisation."); - } - contentValueTempTmpBuf.value0 = static_cast(contentValueTempTmpBufBufU); - } else if (contentValueTempTmpBufUnionSelector == 1) { - contentValueTempTmpBuf.selector = 1; - contentValueTempTmpBuf.value1 = static_cast(thisDeserializer.readObject()); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 contentValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_ComponentContent contentValueTempTmpBuf = {}; + contentValueTempTmpBuf.selector = contentValueTempTmpBufUnionSelector; + if (contentValueTempTmpBufUnionSelector == 0) { + contentValueTempTmpBuf.selector = 0; + const Ark_Int8 contentValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr contentValueTempTmpBufBufU = {}; + contentValueTempTmpBufBufU.selector = contentValueTempTmpBufBufUUnionSelector; + if (contentValueTempTmpBufBufUUnionSelector == 0) { + contentValueTempTmpBufBufU.selector = 0; + contentValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (contentValueTempTmpBufBufUUnionSelector == 1) { + contentValueTempTmpBufBufU.selector = 1; + contentValueTempTmpBufBufU.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_Union_ResourceStr_ComponentContent contentValueTemp = static_cast(contentValueTempTmpBuf);; - return GetAccessors()->getSubTabBarStyleAccessor()->of(static_cast(&contentValueTemp)); + INTEROP_FATAL("One of the branches for contentValueTempTmpBufBufU has to be chosen through deserialisation."); + } + contentValueTempTmpBuf.value0 = static_cast(contentValueTempTmpBufBufU); + } else if (contentValueTempTmpBufUnionSelector == 1) { + contentValueTempTmpBuf.selector = 1; + contentValueTempTmpBuf.value1 = static_cast(thisDeserializer.readObject()); + } else { + INTEROP_FATAL("One of the branches for contentValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_ComponentContent contentValueTemp = static_cast(contentValueTempTmpBuf);; + return GetAccessors()->getSubTabBarStyleAccessor()->of(static_cast(&contentValueTemp)); } KOALA_INTEROP_DIRECT_2(SubTabBarStyle_of, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_indicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SubTabBarIndicatorStyle styleValueTemp = ArkuiComponentTabContentSubTabBarIndicatorStyleSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getSubTabBarStyleAccessor()->indicator(self, static_cast(&styleValueTemp)); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SubTabBarIndicatorStyle styleValueTemp = ArkuiComponentTabContentSubTabBarIndicatorStyleSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getSubTabBarStyleAccessor()->indicator(self, static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_3(SubTabBarStyle_indicator, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_selectedMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getSubTabBarStyleAccessor()->selectedMode(self, static_cast(value)); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getSubTabBarStyleAccessor()->selectedMode(self, static_cast(value)); } KOALA_INTEROP_DIRECT_2(SubTabBarStyle_selectedMode, Ark_NativePointer, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_SubTabBarStyle_board(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_BoardStyle valueValueTemp = ArkuiComponentTabContentBoardStyleSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getSubTabBarStyleAccessor()->board(self, static_cast(&valueValueTemp)); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_BoardStyle valueValueTemp = ArkuiComponentTabContentBoardStyleSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getSubTabBarStyleAccessor()->board(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(SubTabBarStyle_board, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_labelStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TabBarLabelStyle styleValueTemp = ArkuiComponentTabContentTabBarLabelStyleSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getSubTabBarStyleAccessor()->labelStyle(self, static_cast(&styleValueTemp)); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TabBarLabelStyle styleValueTemp = ArkuiComponentTabContentTabBarLabelStyleSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getSubTabBarStyleAccessor()->labelStyle(self, static_cast(&styleValueTemp)); } KOALA_INTEROP_DIRECT_3(SubTabBarStyle_labelStyle, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_padding0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Dimension valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Dimension valueValueTempTmpBufBufU = {}; - valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; - if (valueValueTempTmpBufBufUUnionSelector == 0) { - valueValueTempTmpBufBufU.selector = 0; - valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufBufUUnionSelector == 1) { - valueValueTempTmpBufBufU.selector = 1; - valueValueTempTmpBufBufU.value1 = static_cast(thisDeserializer.readNumber()); - } else if (valueValueTempTmpBufBufUUnionSelector == 2) { - valueValueTempTmpBufBufU.selector = 2; - valueValueTempTmpBufBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value1 = static_cast(valueValueTempTmpBufBufU); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Dimension valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + const Ark_Int8 valueValueTempTmpBufBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Dimension valueValueTempTmpBufBufU = {}; + valueValueTempTmpBufBufU.selector = valueValueTempTmpBufBufUUnionSelector; + if (valueValueTempTmpBufBufUUnionSelector == 0) { + valueValueTempTmpBufBufU.selector = 0; + valueValueTempTmpBufBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufBufUUnionSelector == 1) { + valueValueTempTmpBufBufU.selector = 1; + valueValueTempTmpBufBufU.value1 = static_cast(thisDeserializer.readNumber()); + } else if (valueValueTempTmpBufBufUUnionSelector == 2) { + valueValueTempTmpBufBufU.selector = 2; + valueValueTempTmpBufBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for valueValueTempTmpBufBufU has to be chosen through deserialisation."); } - Ark_Union_Padding_Dimension valueValueTemp = static_cast(valueValueTempTmpBuf);; - return GetAccessors()->getSubTabBarStyleAccessor()->padding0(self, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value1 = static_cast(valueValueTempTmpBufBufU); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_Padding_Dimension valueValueTemp = static_cast(valueValueTempTmpBuf);; + return GetAccessors()->getSubTabBarStyleAccessor()->padding0(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(SubTabBarStyle_padding0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_padding1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_LocalizedPadding paddingValueTemp = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getSubTabBarStyleAccessor()->padding1(self, static_cast(&paddingValueTemp)); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_LocalizedPadding paddingValueTemp = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getSubTabBarStyleAccessor()->padding1(self, static_cast(&paddingValueTemp)); } KOALA_INTEROP_DIRECT_3(SubTabBarStyle_padding1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SubTabBarStyle_id(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getSubTabBarStyleAccessor()->id(self, (const Ark_String*) (&value)); + Ark_SubTabBarStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getSubTabBarStyleAccessor()->id(self, (const Ark_String*) (&value)); } KOALA_INTEROP_2(SubTabBarStyle_id, Ark_NativePointer, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_SwipeGestureEvent_construct() { - return GetAccessors()->getSwipeGestureEventAccessor()->construct(); + return GetAccessors()->getSwipeGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SwipeGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_SwipeGestureEvent_getFinalizer() { - return GetAccessors()->getSwipeGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getSwipeGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SwipeGestureEvent_getFinalizer, Ark_NativePointer) +void impl_SwipeGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getSwipeGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SwipeGestureEvent_callHolder, Ark_NativePointer) Ark_Int32 impl_SwipeGestureEvent_getAngle(Ark_NativePointer thisPtr) { - Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwipeGestureEventAccessor()->getAngle(self); + Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeGestureEventAccessor()->getAngle(self); } KOALA_INTEROP_1(SwipeGestureEvent_getAngle, Ark_Int32, Ark_NativePointer) void impl_SwipeGestureEvent_setAngle(Ark_NativePointer thisPtr, KDouble angle) { - Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getSwipeGestureEventAccessor()->setAngle(self, angle); + Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getSwipeGestureEventAccessor()->setAngle(self, angle); } KOALA_INTEROP_V2(SwipeGestureEvent_setAngle, Ark_NativePointer, KDouble) Ark_Int32 impl_SwipeGestureEvent_getSpeed(Ark_NativePointer thisPtr) { - Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwipeGestureEventAccessor()->getSpeed(self); + Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeGestureEventAccessor()->getSpeed(self); } KOALA_INTEROP_1(SwipeGestureEvent_getSpeed, Ark_Int32, Ark_NativePointer) void impl_SwipeGestureEvent_setSpeed(Ark_NativePointer thisPtr, KDouble speed) { - Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getSwipeGestureEventAccessor()->setSpeed(self, speed); + Ark_SwipeGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getSwipeGestureEventAccessor()->setSpeed(self, speed); } KOALA_INTEROP_V2(SwipeGestureEvent_setSpeed, Ark_NativePointer, KDouble) Ark_NativePointer impl_SwiperContentTransitionProxy_construct() { - return GetAccessors()->getSwiperContentTransitionProxyAccessor()->construct(); + return GetAccessors()->getSwiperContentTransitionProxyAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SwiperContentTransitionProxy_construct, Ark_NativePointer) Ark_NativePointer impl_SwiperContentTransitionProxy_getFinalizer() { - return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getFinalizer(); + return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SwiperContentTransitionProxy_getFinalizer, Ark_NativePointer) +void impl_SwiperContentTransitionProxy_callHolder(Ark_NativePointer thisPtr) { + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SwiperContentTransitionProxy_callHolder, Ark_NativePointer) void impl_SwiperContentTransitionProxy_finishTransition(Ark_NativePointer thisPtr) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->finishTransition(self); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->finishTransition(self); } KOALA_INTEROP_DIRECT_V1(SwiperContentTransitionProxy_finishTransition, Ark_NativePointer) Ark_Int32 impl_SwiperContentTransitionProxy_getSelectedIndex(Ark_NativePointer thisPtr) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getSelectedIndex(self); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getSelectedIndex(self); } KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getSelectedIndex, Ark_Int32, Ark_NativePointer) void impl_SwiperContentTransitionProxy_setSelectedIndex(Ark_NativePointer thisPtr, Ark_Int32 selectedIndex) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setSelectedIndex(self, selectedIndex); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setSelectedIndex(self, selectedIndex); } KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setSelectedIndex, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_SwiperContentTransitionProxy_getIndex(Ark_NativePointer thisPtr) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getIndex(self); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getIndex(self); } KOALA_INTEROP_DIRECT_1(SwiperContentTransitionProxy_getIndex, Ark_Int32, Ark_NativePointer) void impl_SwiperContentTransitionProxy_setIndex(Ark_NativePointer thisPtr, Ark_Int32 index) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setIndex(self, index); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setIndex(self, index); } KOALA_INTEROP_DIRECT_V2(SwiperContentTransitionProxy_setIndex, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_SwiperContentTransitionProxy_getPosition(Ark_NativePointer thisPtr) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getPosition(self); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getPosition(self); } KOALA_INTEROP_1(SwiperContentTransitionProxy_getPosition, Ark_Int32, Ark_NativePointer) void impl_SwiperContentTransitionProxy_setPosition(Ark_NativePointer thisPtr, KDouble position) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setPosition(self, position); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setPosition(self, position); } KOALA_INTEROP_V2(SwiperContentTransitionProxy_setPosition, Ark_NativePointer, KDouble) Ark_Int32 impl_SwiperContentTransitionProxy_getMainAxisLength(Ark_NativePointer thisPtr) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getMainAxisLength(self); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwiperContentTransitionProxyAccessor()->getMainAxisLength(self); } KOALA_INTEROP_1(SwiperContentTransitionProxy_getMainAxisLength, Ark_Int32, Ark_NativePointer) void impl_SwiperContentTransitionProxy_setMainAxisLength(Ark_NativePointer thisPtr, KDouble mainAxisLength) { - Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setMainAxisLength(self, mainAxisLength); + Ark_SwiperContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setMainAxisLength(self, mainAxisLength); } KOALA_INTEROP_V2(SwiperContentTransitionProxy_setMainAxisLength, Ark_NativePointer, KDouble) Ark_NativePointer impl_SwiperController_construct() { - return GetAccessors()->getSwiperControllerAccessor()->construct(); + return GetAccessors()->getSwiperControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SwiperController_construct, Ark_NativePointer) Ark_NativePointer impl_SwiperController_getFinalizer() { - return GetAccessors()->getSwiperControllerAccessor()->getFinalizer(); + return GetAccessors()->getSwiperControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SwiperController_getFinalizer, Ark_NativePointer) +void impl_SwiperController_callHolder(Ark_NativePointer thisPtr) { + Ark_SwiperController self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SwiperController_callHolder, Ark_NativePointer) void impl_SwiperController_showNext(Ark_NativePointer thisPtr) { - Ark_SwiperController self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperControllerAccessor()->showNext(self); + Ark_SwiperController self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperControllerAccessor()->showNext(self); } KOALA_INTEROP_DIRECT_V1(SwiperController_showNext, Ark_NativePointer) void impl_SwiperController_showPrevious(Ark_NativePointer thisPtr) { - Ark_SwiperController self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperControllerAccessor()->showPrevious(self); + Ark_SwiperController self = reinterpret_cast(thisPtr); + GetAccessors()->getSwiperControllerAccessor()->showPrevious(self); } KOALA_INTEROP_DIRECT_V1(SwiperController_showPrevious, Ark_NativePointer) void impl_SwiperController_changeIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SwiperController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto indexValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 indexValueTempTmpBuf = {}; - indexValueTempTmpBuf.tag = indexValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((indexValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - indexValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 indexValueTemp = indexValueTempTmpBuf;; - const auto animationModeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_SwiperAnimationMode_Boolean animationModeValueTempTmpBuf = {}; - animationModeValueTempTmpBuf.tag = animationModeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((animationModeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 animationModeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_SwiperAnimationMode_Boolean animationModeValueTempTmpBufOpt = {}; - animationModeValueTempTmpBufOpt.selector = animationModeValueTempTmpBufOptUnionSelector; - if (animationModeValueTempTmpBufOptUnionSelector == 0) { - animationModeValueTempTmpBufOpt.selector = 0; - animationModeValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (animationModeValueTempTmpBufOptUnionSelector == 1) { - animationModeValueTempTmpBufOpt.selector = 1; - animationModeValueTempTmpBufOpt.value1 = thisDeserializer.readBoolean(); - } else { - INTEROP_FATAL("One of the branches for animationModeValueTempTmpBufOpt has to be chosen through deserialisation."); - } - animationModeValueTempTmpBuf.value = static_cast(animationModeValueTempTmpBufOpt); + Ark_SwiperController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto indexValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 indexValueTempTmpBuf = {}; + indexValueTempTmpBuf.tag = indexValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((indexValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + indexValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 indexValueTemp = indexValueTempTmpBuf;; + const auto animationModeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_SwiperAnimationMode_Boolean animationModeValueTempTmpBuf = {}; + animationModeValueTempTmpBuf.tag = animationModeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((animationModeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 animationModeValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_SwiperAnimationMode_Boolean animationModeValueTempTmpBufOpt = {}; + animationModeValueTempTmpBufOpt.selector = animationModeValueTempTmpBufOptUnionSelector; + if (animationModeValueTempTmpBufOptUnionSelector == 0) { + animationModeValueTempTmpBufOpt.selector = 0; + animationModeValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (animationModeValueTempTmpBufOptUnionSelector == 1) { + animationModeValueTempTmpBufOpt.selector = 1; + animationModeValueTempTmpBufOpt.value1 = thisDeserializer.readBoolean(); + } else { + INTEROP_FATAL("One of the branches for animationModeValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_SwiperAnimationMode_Boolean animationModeValueTemp = animationModeValueTempTmpBuf;; - GetAccessors()->getSwiperControllerAccessor()->changeIndex(self, static_cast(&indexValueTemp), static_cast(&animationModeValueTemp)); + animationModeValueTempTmpBuf.value = static_cast(animationModeValueTempTmpBufOpt); + } + Opt_Union_SwiperAnimationMode_Boolean animationModeValueTemp = animationModeValueTempTmpBuf;; + GetAccessors()->getSwiperControllerAccessor()->changeIndex(self, static_cast(&indexValueTemp), static_cast(&animationModeValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperController_changeIndex, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperController_finishAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SwiperController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getSwiperControllerAccessor()->finishAnimation(self, static_cast(&callback_ValueTemp)); + Ark_SwiperController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getSwiperControllerAccessor()->finishAnimation(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(SwiperController_finishAnimation, Ark_NativePointer, KSerializerBuffer, KInt) void impl_SwiperController_preloadItems(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_SwiperController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto indicesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_I32 indicesValueTempTmpBuf = {}; - indicesValueTempTmpBuf.tag = indicesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((indicesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 indicesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_I32 indicesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_SwiperController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto indicesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_I32 indicesValueTempTmpBuf = {}; + indicesValueTempTmpBuf.tag = indicesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((indicesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 indicesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_I32 indicesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&indicesValueTempTmpBufOpt, indicesValueTempTmpBufOptLength); - for (int indicesValueTempTmpBufOptBufCounterI = 0; indicesValueTempTmpBufOptBufCounterI < indicesValueTempTmpBufOptLength; indicesValueTempTmpBufOptBufCounterI++) { - indicesValueTempTmpBufOpt.array[indicesValueTempTmpBufOptBufCounterI] = thisDeserializer.readInt32(); - } - indicesValueTempTmpBuf.value = indicesValueTempTmpBufOpt; + for (int indicesValueTempTmpBufOptBufCounterI = 0; indicesValueTempTmpBufOptBufCounterI < indicesValueTempTmpBufOptLength; indicesValueTempTmpBufOptBufCounterI++) { + indicesValueTempTmpBufOpt.array[indicesValueTempTmpBufOptBufCounterI] = thisDeserializer.readInt32(); } - Opt_Array_I32 indicesValueTemp = indicesValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getSwiperControllerAccessor()->preloadItems(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&indicesValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + indicesValueTempTmpBuf.value = indicesValueTempTmpBufOpt; + } + Opt_Array_I32 indicesValueTemp = indicesValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getSwiperControllerAccessor()->preloadItems(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&indicesValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(SwiperController_preloadItems, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_SwipeRecognizer_construct() { - return GetAccessors()->getSwipeRecognizerAccessor()->construct(); + return GetAccessors()->getSwipeRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SwipeRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_SwipeRecognizer_getFinalizer() { - return GetAccessors()->getSwipeRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getSwipeRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SwipeRecognizer_getFinalizer, Ark_NativePointer) +void impl_SwipeRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getSwipeRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SwipeRecognizer_callHolder, Ark_NativePointer) Ark_Int32 impl_SwipeRecognizer_getVelocityThreshold(Ark_NativePointer thisPtr) { - Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwipeRecognizerAccessor()->getVelocityThreshold(self); + Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeRecognizerAccessor()->getVelocityThreshold(self); } KOALA_INTEROP_1(SwipeRecognizer_getVelocityThreshold, Ark_Int32, Ark_NativePointer) Ark_Int32 impl_SwipeRecognizer_getDirection(Ark_NativePointer thisPtr) { - Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getSwipeRecognizerAccessor()->getDirection(self); + Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeRecognizerAccessor()->getDirection(self); } KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getDirection, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_SymbolEffect_construct() { - return GetAccessors()->getSymbolEffectAccessor()->construct(); + return GetAccessors()->getSymbolEffectAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(SymbolEffect_construct, Ark_NativePointer) Ark_NativePointer impl_SymbolEffect_getFinalizer() { - return GetAccessors()->getSymbolEffectAccessor()->getFinalizer(); + return GetAccessors()->getSymbolEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(SymbolEffect_getFinalizer, Ark_NativePointer) +void impl_SymbolEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_SymbolEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getSymbolEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(SymbolEffect_callHolder, Ark_NativePointer) Ark_NativePointer impl_SystemOps_StartFrame() { - return GetAccessors()->getSystemOpsAccessor()->StartFrame(); + return GetAccessors()->getSystemOpsAccessor()->StartFrame(); } KOALA_INTEROP_DIRECT_0(SystemOps_StartFrame, Ark_NativePointer) void impl_SystemOps_EndFrame(Ark_NativePointer root) { - GetAccessors()->getSystemOpsAccessor()->EndFrame(root); + GetAccessors()->getSystemOpsAccessor()->EndFrame(root); } KOALA_INTEROP_DIRECT_V1(SystemOps_EndFrame, Ark_NativePointer) void impl_SystemOps_syncInstanceId(Ark_Int32 instanceId) { - GetAccessors()->getSystemOpsAccessor()->syncInstanceId(instanceId); + GetAccessors()->getSystemOpsAccessor()->syncInstanceId(instanceId); } KOALA_INTEROP_DIRECT_V1(SystemOps_syncInstanceId, Ark_Int32) void impl_SystemOps_restoreInstanceId() { - GetAccessors()->getSystemOpsAccessor()->restoreInstanceId(); + GetAccessors()->getSystemOpsAccessor()->restoreInstanceId(); } KOALA_INTEROP_DIRECT_V0(SystemOps_restoreInstanceId) Ark_Int32 impl_SystemOps_getResourceId(const KStringPtr& bundleName, const KStringPtr& moduleName, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 paramsValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_String paramsValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 paramsValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_String paramsValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(¶msValueTempTmpBuf, paramsValueTempTmpBufLength); - for (int paramsValueTempTmpBufBufCounterI = 0; paramsValueTempTmpBufBufCounterI < paramsValueTempTmpBufLength; paramsValueTempTmpBufBufCounterI++) { - paramsValueTempTmpBuf.array[paramsValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readString()); - } - Array_String paramsValueTemp = paramsValueTempTmpBuf;; - return GetAccessors()->getSystemOpsAccessor()->getResourceId((const Ark_String*) (&bundleName), (const Ark_String*) (&moduleName), static_cast(¶msValueTemp)); + for (int paramsValueTempTmpBufBufCounterI = 0; paramsValueTempTmpBufBufCounterI < paramsValueTempTmpBufLength; paramsValueTempTmpBufBufCounterI++) { + paramsValueTempTmpBuf.array[paramsValueTempTmpBufBufCounterI] = static_cast(thisDeserializer.readString()); + } + Array_String paramsValueTemp = paramsValueTempTmpBuf;; + return GetAccessors()->getSystemOpsAccessor()->getResourceId((const Ark_String*) (&bundleName), (const Ark_String*) (&moduleName), static_cast(¶msValueTemp)); } KOALA_INTEROP_4(SystemOps_getResourceId, Ark_Int32, KStringPtr, KStringPtr, KSerializerBuffer, KInt) void impl_SystemOps_resourceManagerReset() { - GetAccessors()->getSystemOpsAccessor()->resourceManagerReset(); + GetAccessors()->getSystemOpsAccessor()->resourceManagerReset(); } KOALA_INTEROP_DIRECT_V0(SystemOps_resourceManagerReset) void impl_SystemOps_setFrameCallback(KSerializerBuffer thisArray, KInt thisLength, KInteropNumber delayTime) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_OnFrame onFrameCallbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONFRAME)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONFRAME))))};; - Callback_OnFrame onIdleCallbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONFRAME)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONFRAME))))};; - GetAccessors()->getSystemOpsAccessor()->setFrameCallback(static_cast(&onFrameCallbackValueTemp), static_cast(&onIdleCallbackValueTemp), (const Ark_Number*) (&delayTime)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_OnFrame onFrameCallbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONFRAME)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONFRAME))))};; + Callback_OnFrame onIdleCallbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_ONFRAME)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_ONFRAME))))};; + GetAccessors()->getSystemOpsAccessor()->setFrameCallback(static_cast(&onFrameCallbackValueTemp), static_cast(&onIdleCallbackValueTemp), (const Ark_Number*) (&delayTime)); } KOALA_INTEROP_DIRECT_V3(SystemOps_setFrameCallback, KSerializerBuffer, KInt, KInteropNumber) KInteropReturnBuffer impl_SystemOps_colorMetricsResourceColor(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Resource colorValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getSystemOpsAccessor()->colorMetricsResourceColor(static_cast(&colorValueTemp)); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_Number retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeNumber(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Resource colorValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getSystemOpsAccessor()->colorMetricsResourceColor(static_cast(&colorValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Number retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeNumber(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(SystemOps_colorMetricsResourceColor, KInteropReturnBuffer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_SystemOps_resourceToLengthMetrics(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Resource resValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; - const auto &retValue = GetAccessors()->getSystemOpsAccessor()->resourceToLengthMetrics(static_cast(&resValueTemp)); - SerializerBase _retSerializer {}; - ArkuiComponentIdlizeLengthMetricsCustomSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Resource resValueTemp = GlobalResourceResourceSerializerImpl::read(thisDeserializer);; + const auto &retValue = GetAccessors()->getSystemOpsAccessor()->resourceToLengthMetrics(static_cast(&resValueTemp)); + SerializerBase _retSerializer {}; + ArkuiComponentIdlizeLengthMetricsCustomSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(SystemOps_resourceToLengthMetrics, KInteropReturnBuffer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_SystemOps_blendColorByColorMetrics(KInteropNumber color, KInteropNumber overlayColor) { - const auto &retValue = GetAccessors()->getSystemOpsAccessor()->blendColorByColorMetrics((const Ark_Number*) (&color), (const Ark_Number*) (&overlayColor)); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_Number retValueTmpElement = retValue.array[retValueCounterI]; - _retSerializer.writeNumber(retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getSystemOpsAccessor()->blendColorByColorMetrics((const Ark_Number*) (&color), (const Ark_Number*) (&overlayColor)); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_Number retValueTmpElement = retValue.array[retValueCounterI]; + _retSerializer.writeNumber(retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(SystemOps_blendColorByColorMetrics, KInteropReturnBuffer, KInteropNumber, KInteropNumber) Ark_NativePointer impl_TabBarSymbol_construct() { - return GetAccessors()->getTabBarSymbolAccessor()->construct(); + return GetAccessors()->getTabBarSymbolAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TabBarSymbol_construct, Ark_NativePointer) Ark_NativePointer impl_TabBarSymbol_getFinalizer() { - return GetAccessors()->getTabBarSymbolAccessor()->getFinalizer(); + return GetAccessors()->getTabBarSymbolAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TabBarSymbol_getFinalizer, Ark_NativePointer) +void impl_TabBarSymbol_callHolder(Ark_NativePointer thisPtr) { + Ark_TabBarSymbol self = reinterpret_cast(thisPtr); + GetAccessors()->getTabBarSymbolAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TabBarSymbol_callHolder, Ark_NativePointer) Ark_NativePointer impl_TabBarSymbol_getNormal(Ark_NativePointer thisPtr) { - Ark_TabBarSymbol self = reinterpret_cast(thisPtr); - return GetAccessors()->getTabBarSymbolAccessor()->getNormal(self); + Ark_TabBarSymbol self = reinterpret_cast(thisPtr); + return GetAccessors()->getTabBarSymbolAccessor()->getNormal(self); } KOALA_INTEROP_DIRECT_1(TabBarSymbol_getNormal, Ark_NativePointer, Ark_NativePointer) void impl_TabBarSymbol_setNormal(Ark_NativePointer thisPtr, Ark_NativePointer normal) { - Ark_TabBarSymbol self = reinterpret_cast(thisPtr); - GetAccessors()->getTabBarSymbolAccessor()->setNormal(self, static_cast(normal)); + Ark_TabBarSymbol self = reinterpret_cast(thisPtr); + GetAccessors()->getTabBarSymbolAccessor()->setNormal(self, static_cast(normal)); } KOALA_INTEROP_DIRECT_V2(TabBarSymbol_setNormal, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_TabBarSymbol_getSelected(Ark_NativePointer thisPtr) { - Ark_TabBarSymbol self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTabBarSymbolAccessor()->getSelected(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TabBarSymbol self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTabBarSymbolAccessor()->getSelected(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TabBarSymbol_getSelected, KInteropReturnBuffer, Ark_NativePointer) void impl_TabBarSymbol_setSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TabBarSymbol self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto selectedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SymbolGlyphModifier selectedValueTempTmpBuf = {}; - selectedValueTempTmpBuf.tag = selectedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((selectedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - selectedValueTempTmpBuf.value = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); - } - Opt_SymbolGlyphModifier selectedValueTemp = selectedValueTempTmpBuf;; - GetAccessors()->getTabBarSymbolAccessor()->setSelected(self, static_cast(&selectedValueTemp)); + Ark_TabBarSymbol self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto selectedValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolGlyphModifier selectedValueTempTmpBuf = {}; + selectedValueTempTmpBuf.tag = selectedValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((selectedValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + selectedValueTempTmpBuf.value = static_cast(ArkuiSymbolGlyphModifierSymbolGlyphModifierSerializerImpl::read(thisDeserializer)); + } + Opt_SymbolGlyphModifier selectedValueTemp = selectedValueTempTmpBuf;; + GetAccessors()->getTabBarSymbolAccessor()->setSelected(self, static_cast(&selectedValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabBarSymbol_setSelected, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TabContentTransitionProxy_construct() { - return GetAccessors()->getTabContentTransitionProxyAccessor()->construct(); + return GetAccessors()->getTabContentTransitionProxyAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TabContentTransitionProxy_construct, Ark_NativePointer) Ark_NativePointer impl_TabContentTransitionProxy_getFinalizer() { - return GetAccessors()->getTabContentTransitionProxyAccessor()->getFinalizer(); + return GetAccessors()->getTabContentTransitionProxyAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TabContentTransitionProxy_getFinalizer, Ark_NativePointer) +void impl_TabContentTransitionProxy_callHolder(Ark_NativePointer thisPtr) { + Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getTabContentTransitionProxyAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TabContentTransitionProxy_callHolder, Ark_NativePointer) void impl_TabContentTransitionProxy_finishTransition(Ark_NativePointer thisPtr) { - Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getTabContentTransitionProxyAccessor()->finishTransition(self); + Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getTabContentTransitionProxyAccessor()->finishTransition(self); } KOALA_INTEROP_DIRECT_V1(TabContentTransitionProxy_finishTransition, Ark_NativePointer) Ark_Int32 impl_TabContentTransitionProxy_getFrom(Ark_NativePointer thisPtr) { - Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); - return GetAccessors()->getTabContentTransitionProxyAccessor()->getFrom(self); + Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); + return GetAccessors()->getTabContentTransitionProxyAccessor()->getFrom(self); } KOALA_INTEROP_DIRECT_1(TabContentTransitionProxy_getFrom, Ark_Int32, Ark_NativePointer) void impl_TabContentTransitionProxy_setFrom(Ark_NativePointer thisPtr, Ark_Int32 from) { - Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getTabContentTransitionProxyAccessor()->setFrom(self, from); + Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getTabContentTransitionProxyAccessor()->setFrom(self, from); } KOALA_INTEROP_DIRECT_V2(TabContentTransitionProxy_setFrom, Ark_NativePointer, Ark_Int32) Ark_Int32 impl_TabContentTransitionProxy_getTo(Ark_NativePointer thisPtr) { - Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); - return GetAccessors()->getTabContentTransitionProxyAccessor()->getTo(self); + Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); + return GetAccessors()->getTabContentTransitionProxyAccessor()->getTo(self); } KOALA_INTEROP_DIRECT_1(TabContentTransitionProxy_getTo, Ark_Int32, Ark_NativePointer) void impl_TabContentTransitionProxy_setTo(Ark_NativePointer thisPtr, Ark_Int32 to) { - Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getTabContentTransitionProxyAccessor()->setTo(self, to); + Ark_TabContentTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getTabContentTransitionProxyAccessor()->setTo(self, to); } KOALA_INTEROP_DIRECT_V2(TabContentTransitionProxy_setTo, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_TabsController_construct() { - return GetAccessors()->getTabsControllerAccessor()->construct(); + return GetAccessors()->getTabsControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TabsController_construct, Ark_NativePointer) Ark_NativePointer impl_TabsController_getFinalizer() { - return GetAccessors()->getTabsControllerAccessor()->getFinalizer(); + return GetAccessors()->getTabsControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TabsController_getFinalizer, Ark_NativePointer) +void impl_TabsController_callHolder(Ark_NativePointer thisPtr) { + Ark_TabsController self = reinterpret_cast(thisPtr); + GetAccessors()->getTabsControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TabsController_callHolder, Ark_NativePointer) void impl_TabsController_changeIndex(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_TabsController self = reinterpret_cast(thisPtr); - GetAccessors()->getTabsControllerAccessor()->changeIndex(self, value); + Ark_TabsController self = reinterpret_cast(thisPtr); + GetAccessors()->getTabsControllerAccessor()->changeIndex(self, value); } KOALA_INTEROP_DIRECT_V2(TabsController_changeIndex, Ark_NativePointer, Ark_Int32) void impl_TabsController_preloadItems(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TabsController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto indicesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_I32 indicesValueTempTmpBuf = {}; - indicesValueTempTmpBuf.tag = indicesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((indicesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 indicesValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_I32 indicesValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_TabsController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto indicesValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_I32 indicesValueTempTmpBuf = {}; + indicesValueTempTmpBuf.tag = indicesValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((indicesValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 indicesValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_I32 indicesValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&indicesValueTempTmpBufOpt, indicesValueTempTmpBufOptLength); - for (int indicesValueTempTmpBufOptBufCounterI = 0; indicesValueTempTmpBufOptBufCounterI < indicesValueTempTmpBufOptLength; indicesValueTempTmpBufOptBufCounterI++) { - indicesValueTempTmpBufOpt.array[indicesValueTempTmpBufOptBufCounterI] = thisDeserializer.readInt32(); - } - indicesValueTempTmpBuf.value = indicesValueTempTmpBufOpt; + for (int indicesValueTempTmpBufOptBufCounterI = 0; indicesValueTempTmpBufOptBufCounterI < indicesValueTempTmpBufOptLength; indicesValueTempTmpBufOptBufCounterI++) { + indicesValueTempTmpBufOpt.array[indicesValueTempTmpBufOptBufCounterI] = thisDeserializer.readInt32(); } - Opt_Array_I32 indicesValueTemp = indicesValueTempTmpBuf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getTabsControllerAccessor()->preloadItems(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&indicesValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + indicesValueTempTmpBuf.value = indicesValueTempTmpBufOpt; + } + Opt_Array_I32 indicesValueTemp = indicesValueTempTmpBuf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getTabsControllerAccessor()->preloadItems(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&indicesValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(TabsController_preloadItems, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsController_setTabBarTranslate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TabsController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions translateValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getTabsControllerAccessor()->setTabBarTranslate(self, static_cast(&translateValueTemp)); + Ark_TabsController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TranslateOptions translateValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getTabsControllerAccessor()->setTabBarTranslate(self, static_cast(&translateValueTemp)); } KOALA_INTEROP_DIRECT_V3(TabsController_setTabBarTranslate, Ark_NativePointer, KSerializerBuffer, KInt) void impl_TabsController_setTabBarOpacity(Ark_NativePointer thisPtr, KDouble opacity) { - Ark_TabsController self = reinterpret_cast(thisPtr); - GetAccessors()->getTabsControllerAccessor()->setTabBarOpacity(self, opacity); + Ark_TabsController self = reinterpret_cast(thisPtr); + GetAccessors()->getTabsControllerAccessor()->setTabBarOpacity(self, opacity); } KOALA_INTEROP_V2(TabsController_setTabBarOpacity, Ark_NativePointer, KDouble) void impl_TabsExtender_ApplyAttributesFinish(Ark_NativePointer node) { - GetAccessors()->getTabsExtenderAccessor()->ApplyAttributesFinish(node); + GetAccessors()->getTabsExtenderAccessor()->ApplyAttributesFinish(node); } KOALA_INTEROP_DIRECT_V1(TabsExtender_ApplyAttributesFinish, Ark_NativePointer) Ark_NativePointer impl_TapGestureEvent_construct() { - return GetAccessors()->getTapGestureEventAccessor()->construct(); + return GetAccessors()->getTapGestureEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TapGestureEvent_construct, Ark_NativePointer) Ark_NativePointer impl_TapGestureEvent_getFinalizer() { - return GetAccessors()->getTapGestureEventAccessor()->getFinalizer(); + return GetAccessors()->getTapGestureEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TapGestureEvent_getFinalizer, Ark_NativePointer) +void impl_TapGestureEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_TapGestureEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getTapGestureEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TapGestureEvent_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_TapGestureEvent_getTapLocation(Ark_NativePointer thisPtr) { - Ark_TapGestureEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTapGestureEventAccessor()->getTapLocation(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentGestureEventLocationInfoSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TapGestureEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTapGestureEventAccessor()->getTapLocation(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentGestureEventLocationInfoSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TapGestureEvent_getTapLocation, KInteropReturnBuffer, Ark_NativePointer) void impl_TapGestureEvent_setTapLocation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TapGestureEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto tapLocationValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_EventLocationInfo tapLocationValueTempTmpBuf = {}; - tapLocationValueTempTmpBuf.tag = tapLocationValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((tapLocationValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - tapLocationValueTempTmpBuf.value = ArkuiComponentGestureEventLocationInfoSerializerImpl::read(thisDeserializer); - } - Opt_EventLocationInfo tapLocationValueTemp = tapLocationValueTempTmpBuf;; - GetAccessors()->getTapGestureEventAccessor()->setTapLocation(self, static_cast(&tapLocationValueTemp)); + Ark_TapGestureEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto tapLocationValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_EventLocationInfo tapLocationValueTempTmpBuf = {}; + tapLocationValueTempTmpBuf.tag = tapLocationValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((tapLocationValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + tapLocationValueTempTmpBuf.value = ArkuiComponentGestureEventLocationInfoSerializerImpl::read(thisDeserializer); + } + Opt_EventLocationInfo tapLocationValueTemp = tapLocationValueTempTmpBuf;; + GetAccessors()->getTapGestureEventAccessor()->setTapLocation(self, static_cast(&tapLocationValueTemp)); } KOALA_INTEROP_DIRECT_V3(TapGestureEvent_setTapLocation, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TapRecognizer_construct() { - return GetAccessors()->getTapRecognizerAccessor()->construct(); + return GetAccessors()->getTapRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TapRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_TapRecognizer_getFinalizer() { - return GetAccessors()->getTapRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getTapRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TapRecognizer_getFinalizer, Ark_NativePointer) +void impl_TapRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_TapRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getTapRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TapRecognizer_callHolder, Ark_NativePointer) Ark_Int32 impl_TapRecognizer_getTapCount(Ark_NativePointer thisPtr) { - Ark_TapRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getTapRecognizerAccessor()->getTapCount(self); + Ark_TapRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getTapRecognizerAccessor()->getTapCount(self); } KOALA_INTEROP_DIRECT_1(TapRecognizer_getTapCount, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_TextAreaController_construct() { - return GetAccessors()->getTextAreaControllerAccessor()->construct(); + return GetAccessors()->getTextAreaControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextAreaController_construct, Ark_NativePointer) Ark_NativePointer impl_TextAreaController_getFinalizer() { - return GetAccessors()->getTextAreaControllerAccessor()->getFinalizer(); + return GetAccessors()->getTextAreaControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextAreaController_getFinalizer, Ark_NativePointer) +void impl_TextAreaController_callHolder(Ark_NativePointer thisPtr) { + Ark_TextAreaController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextAreaControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextAreaController_callHolder, Ark_NativePointer) void impl_TextAreaController_caretPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_TextAreaController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextAreaControllerAccessor()->caretPosition(self, value); + Ark_TextAreaController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextAreaControllerAccessor()->caretPosition(self, value); } KOALA_INTEROP_DIRECT_V2(TextAreaController_caretPosition, Ark_NativePointer, Ark_Int32) void impl_TextAreaController_setTextSelection(Ark_NativePointer thisPtr, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TextAreaController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getTextAreaControllerAccessor()->setTextSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); + Ark_TextAreaController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getTextAreaControllerAccessor()->setTextSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V5(TextAreaController_setTextSelection, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) void impl_TextAreaController_stopEditing(Ark_NativePointer thisPtr) { - Ark_TextAreaController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextAreaControllerAccessor()->stopEditing(self); + Ark_TextAreaController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextAreaControllerAccessor()->stopEditing(self); } KOALA_INTEROP_DIRECT_V1(TextAreaController_stopEditing, Ark_NativePointer) Ark_NativePointer impl_TextBaseController_construct() { - return GetAccessors()->getTextBaseControllerAccessor()->construct(); + return GetAccessors()->getTextBaseControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextBaseController_construct, Ark_NativePointer) Ark_NativePointer impl_TextBaseController_getFinalizer() { - return GetAccessors()->getTextBaseControllerAccessor()->getFinalizer(); + return GetAccessors()->getTextBaseControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextBaseController_getFinalizer, Ark_NativePointer) +void impl_TextBaseController_callHolder(Ark_NativePointer thisPtr) { + Ark_TextBaseController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextBaseControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextBaseController_callHolder, Ark_NativePointer) void impl_TextBaseController_setSelection(Ark_NativePointer thisPtr, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TextBaseController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getTextBaseControllerAccessor()->setSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); + Ark_TextBaseController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getTextBaseControllerAccessor()->setSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V5(TextBaseController_setSelection, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) void impl_TextBaseController_closeSelectionMenu(Ark_NativePointer thisPtr) { - Ark_TextBaseController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextBaseControllerAccessor()->closeSelectionMenu(self); + Ark_TextBaseController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextBaseControllerAccessor()->closeSelectionMenu(self); } KOALA_INTEROP_DIRECT_V1(TextBaseController_closeSelectionMenu, Ark_NativePointer) KInteropReturnBuffer impl_TextBaseController_getLayoutManager(Ark_NativePointer thisPtr) { - Ark_TextBaseController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextBaseControllerAccessor()->getLayoutManager(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonLayoutManagerSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextBaseControllerAccessor()->getLayoutManager(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonLayoutManagerSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextBaseController_getLayoutManager, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_TextClockController_construct() { - return GetAccessors()->getTextClockControllerAccessor()->construct(); + return GetAccessors()->getTextClockControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextClockController_construct, Ark_NativePointer) Ark_NativePointer impl_TextClockController_getFinalizer() { - return GetAccessors()->getTextClockControllerAccessor()->getFinalizer(); + return GetAccessors()->getTextClockControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextClockController_getFinalizer, Ark_NativePointer) +void impl_TextClockController_callHolder(Ark_NativePointer thisPtr) { + Ark_TextClockController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextClockControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextClockController_callHolder, Ark_NativePointer) void impl_TextClockController_start(Ark_NativePointer thisPtr) { - Ark_TextClockController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextClockControllerAccessor()->start(self); + Ark_TextClockController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextClockControllerAccessor()->start(self); } KOALA_INTEROP_DIRECT_V1(TextClockController_start, Ark_NativePointer) void impl_TextClockController_stop(Ark_NativePointer thisPtr) { - Ark_TextClockController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextClockControllerAccessor()->stop(self); + Ark_TextClockController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextClockControllerAccessor()->stop(self); } KOALA_INTEROP_DIRECT_V1(TextClockController_stop, Ark_NativePointer) Ark_NativePointer impl_TextContentControllerBase_construct() { - return GetAccessors()->getTextContentControllerBaseAccessor()->construct(); + return GetAccessors()->getTextContentControllerBaseAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextContentControllerBase_construct, Ark_NativePointer) Ark_NativePointer impl_TextContentControllerBase_getFinalizer() { - return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer(); + return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextContentControllerBase_getFinalizer, Ark_NativePointer) +void impl_TextContentControllerBase_callHolder(Ark_NativePointer thisPtr) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + GetAccessors()->getTextContentControllerBaseAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextContentControllerBase_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_TextContentControllerBase_getCaretOffset(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentCommonCaretOffsetSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCommonCaretOffsetSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextContentControllerBase_getTextContentRect(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentCommonRectResultSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextContentControllerBase_getTextContentLineCount(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextContentControllerBase_getTextContentLineCount, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextContentControllerBase_addText(Ark_NativePointer thisPtr, const KStringPtr& text, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto textOperationOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextContentControllerOptions textOperationOptionsValueTempTmpBuf = {}; - textOperationOptionsValueTempTmpBuf.tag = textOperationOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((textOperationOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - textOperationOptionsValueTempTmpBuf.value = ArkuiComponentCommonTextContentControllerOptionsSerializerImpl::read(thisDeserializer); - } - Opt_TextContentControllerOptions textOperationOptionsValueTemp = textOperationOptionsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->addText(self, (const Ark_String*) (&text), static_cast(&textOperationOptionsValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto textOperationOptionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextContentControllerOptions textOperationOptionsValueTempTmpBuf = {}; + textOperationOptionsValueTempTmpBuf.tag = textOperationOptionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((textOperationOptionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + textOperationOptionsValueTempTmpBuf.value = ArkuiComponentCommonTextContentControllerOptionsSerializerImpl::read(thisDeserializer); + } + Opt_TextContentControllerOptions textOperationOptionsValueTemp = textOperationOptionsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->addText(self, (const Ark_String*) (&text), static_cast(&textOperationOptionsValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_4(TextContentControllerBase_addText, KInteropReturnBuffer, Ark_NativePointer, KStringPtr, KSerializerBuffer, KInt) void impl_TextContentControllerBase_deleteText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rangeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextRange rangeValueTempTmpBuf = {}; - rangeValueTempTmpBuf.tag = rangeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rangeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rangeValueTempTmpBuf.value = ArkuiComponentTextCommonTextRangeSerializerImpl::read(thisDeserializer); - } - Opt_TextRange rangeValueTemp = rangeValueTempTmpBuf;; - GetAccessors()->getTextContentControllerBaseAccessor()->deleteText(self, static_cast(&rangeValueTemp)); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rangeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextRange rangeValueTempTmpBuf = {}; + rangeValueTempTmpBuf.tag = rangeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rangeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rangeValueTempTmpBuf.value = ArkuiComponentTextCommonTextRangeSerializerImpl::read(thisDeserializer); + } + Opt_TextRange rangeValueTemp = rangeValueTempTmpBuf;; + GetAccessors()->getTextContentControllerBaseAccessor()->deleteText(self, static_cast(&rangeValueTemp)); } KOALA_INTEROP_DIRECT_V3(TextContentControllerBase_deleteText, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_TextContentControllerBase_getSelection(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getSelection(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonTextRangeSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getSelection(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonTextRangeSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextContentControllerBase_getSelection, KInteropReturnBuffer, Ark_NativePointer) void impl_TextContentControllerBase_clearPreviewText(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - GetAccessors()->getTextContentControllerBaseAccessor()->clearPreviewText(self); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + GetAccessors()->getTextContentControllerBaseAccessor()->clearPreviewText(self); } KOALA_INTEROP_DIRECT_V1(TextContentControllerBase_clearPreviewText, Ark_NativePointer) KInteropReturnBuffer impl_TextContentControllerBase_getText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto rangeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextRange rangeValueTempTmpBuf = {}; - rangeValueTempTmpBuf.tag = rangeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((rangeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - rangeValueTempTmpBuf.value = ArkuiComponentTextCommonTextRangeSerializerImpl::read(thisDeserializer); - } - Opt_TextRange rangeValueTemp = rangeValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getText(self, static_cast(&rangeValueTemp)); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeString(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto rangeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextRange rangeValueTempTmpBuf = {}; + rangeValueTempTmpBuf.tag = rangeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((rangeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + rangeValueTempTmpBuf.value = ArkuiComponentTextCommonTextRangeSerializerImpl::read(thisDeserializer); + } + Opt_TextRange rangeValueTemp = rangeValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getText(self, static_cast(&rangeValueTemp)); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeString(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(TextContentControllerBase_getText, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextController_construct() { - return GetAccessors()->getTextControllerAccessor()->construct(); + return GetAccessors()->getTextControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextController_construct, Ark_NativePointer) Ark_NativePointer impl_TextController_getFinalizer() { - return GetAccessors()->getTextControllerAccessor()->getFinalizer(); + return GetAccessors()->getTextControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextController_getFinalizer, Ark_NativePointer) +void impl_TextController_callHolder(Ark_NativePointer thisPtr) { + Ark_TextController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextController_callHolder, Ark_NativePointer) void impl_TextController_closeSelectionMenu(Ark_NativePointer thisPtr) { - Ark_TextController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextControllerAccessor()->closeSelectionMenu(self); + Ark_TextController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextControllerAccessor()->closeSelectionMenu(self); } KOALA_INTEROP_DIRECT_V1(TextController_closeSelectionMenu, Ark_NativePointer) void impl_TextController_setStyledString(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_TextController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextControllerAccessor()->setStyledString(self, static_cast(value)); + Ark_TextController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextControllerAccessor()->setStyledString(self, static_cast(value)); } KOALA_INTEROP_DIRECT_V2(TextController_setStyledString, Ark_NativePointer, Ark_NativePointer) KInteropReturnBuffer impl_TextController_getLayoutManager(Ark_NativePointer thisPtr) { - Ark_TextController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextControllerAccessor()->getLayoutManager(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonLayoutManagerSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextControllerAccessor()->getLayoutManager(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonLayoutManagerSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextController_getLayoutManager, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_TextEditControllerEx_construct() { - return GetAccessors()->getTextEditControllerExAccessor()->construct(); + return GetAccessors()->getTextEditControllerExAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextEditControllerEx_construct, Ark_NativePointer) Ark_NativePointer impl_TextEditControllerEx_getFinalizer() { - return GetAccessors()->getTextEditControllerExAccessor()->getFinalizer(); + return GetAccessors()->getTextEditControllerExAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextEditControllerEx_getFinalizer, Ark_NativePointer) +void impl_TextEditControllerEx_callHolder(Ark_NativePointer thisPtr) { + Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); + GetAccessors()->getTextEditControllerExAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextEditControllerEx_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_TextEditControllerEx_isEditing(Ark_NativePointer thisPtr) { - Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->isEditing(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->isEditing(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextEditControllerEx_isEditing, KInteropReturnBuffer, Ark_NativePointer) void impl_TextEditControllerEx_stopEditing(Ark_NativePointer thisPtr) { - Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); - GetAccessors()->getTextEditControllerExAccessor()->stopEditing(self); + Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); + GetAccessors()->getTextEditControllerExAccessor()->stopEditing(self); } KOALA_INTEROP_DIRECT_V1(TextEditControllerEx_stopEditing, Ark_NativePointer) KInteropReturnBuffer impl_TextEditControllerEx_setCaretOffset(Ark_NativePointer thisPtr, Ark_Int32 offset) { - Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->setCaretOffset(self, offset); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeBoolean(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->setCaretOffset(self, offset); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeBoolean(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_2(TextEditControllerEx_setCaretOffset, KInteropReturnBuffer, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_TextEditControllerEx_getCaretOffset(Ark_NativePointer thisPtr) { - Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->getCaretOffset(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->getCaretOffset(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextEditControllerEx_getCaretOffset, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextEditControllerEx_getPreviewText(Ark_NativePointer thisPtr) { - Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->getPreviewText(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - ArkuiComponentTextCommonPreviewTextSerializerImpl::write(_retSerializer, retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextEditControllerEx self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextEditControllerExAccessor()->getPreviewText(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + ArkuiComponentTextCommonPreviewTextSerializerImpl::write(_retSerializer, retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextEditControllerEx_getPreviewText, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_TextFieldOps_registerTextFieldValueCallback(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - valueValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr valueValueTemp = static_cast(valueValueTempTmpBuf);; - TextFieldValueCallback callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTFIELDVALUECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTFIELDVALUECALLBACK))))};; - return GetAccessors()->getTextFieldOpsAccessor()->registerTextFieldValueCallback(node, static_cast(&valueValueTemp), static_cast(&callbackValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + valueValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr valueValueTemp = static_cast(valueValueTempTmpBuf);; + TextFieldValueCallback callbackValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_TEXTFIELDVALUECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_TEXTFIELDVALUECALLBACK))))};; + return GetAccessors()->getTextFieldOpsAccessor()->registerTextFieldValueCallback(node, static_cast(&valueValueTemp), static_cast(&callbackValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_registerTextFieldValueCallback, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetWidth(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetWidth(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetWidth(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetWidth, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetHeight(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_LayoutPolicy valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_LayoutPolicy valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = static_cast(ArkuiComponentCommonLayoutPolicySerializerImpl::read(thisDeserializer)); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetHeight(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_LayoutPolicy valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetHeight(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetHeight, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetPadding(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetPadding(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetPadding(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetPadding, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetMargin(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Padding_Length_LocalizedPadding valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Padding_Length_LocalizedPadding valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = ArkuiComponentUnitsPaddingSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value1 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedPaddingSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetMargin(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Padding_Length_LocalizedPadding valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetMargin(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetMargin, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorder(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_BorderOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentUnitsBorderOptionsSerializerImpl::read(thisDeserializer); - } - Opt_BorderOptions valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorder(node, static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_BorderOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentUnitsBorderOptionsSerializerImpl::read(thisDeserializer); + } + Opt_BorderOptions valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorder(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorder, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderWidth(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeWidthsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeWidthsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeWidthsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeWidthsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderWidth(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderWidth(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderWidth, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderColor(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { - valueValueTempTmpBufOptBufU.selector = 3; - valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeColorsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeColorsSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 3) { + valueValueTempTmpBufOptBufU.selector = 3; + valueValueTempTmpBufOptBufU.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeColorsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedEdgeColorsSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderColor(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderColor(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderColor, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderStyle(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_BorderStyle_EdgeStyles valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_BorderStyle_EdgeStyles valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeStylesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_BorderStyle_EdgeStyles valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_BorderStyle_EdgeStyles valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsEdgeStylesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_BorderStyle_EdgeStyles valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderStyle(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_BorderStyle_EdgeStyles valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderStyle(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderStyle, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBorderRadius(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); - Ark_Length valueValueTempTmpBufOptBufU = {}; - valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; - if (valueValueTempTmpBufOptBufUUnionSelector == 0) { - valueValueTempTmpBufOptBufU.selector = 0; - valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { - valueValueTempTmpBufOptBufU.selector = 1; - valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); - } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { - valueValueTempTmpBufOptBufU.selector = 2; - valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); - } - valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedBorderRadiusesSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + const Ark_Int8 valueValueTempTmpBufOptBufUUnionSelector = thisDeserializer.readInt8(); + Ark_Length valueValueTempTmpBufOptBufU = {}; + valueValueTempTmpBufOptBufU.selector = valueValueTempTmpBufOptBufUUnionSelector; + if (valueValueTempTmpBufOptBufUUnionSelector == 0) { + valueValueTempTmpBufOptBufU.selector = 0; + valueValueTempTmpBufOptBufU.value0 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 1) { + valueValueTempTmpBufOptBufU.selector = 1; + valueValueTempTmpBufOptBufU.value1 = thisDeserializer.readFloat64(); + } else if (valueValueTempTmpBufOptBufUUnionSelector == 2) { + valueValueTempTmpBufOptBufU.selector = 2; + valueValueTempTmpBufOptBufU.value2 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOptBufU has to be chosen through deserialisation."); + } + valueValueTempTmpBufOpt.value0 = static_cast(valueValueTempTmpBufOptBufU); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = ArkuiComponentUnitsBorderRadiusesSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = ArkuiComponentUnitsLocalizedBorderRadiusesSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderRadius(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBorderRadius(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBorderRadius, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextFieldOps_textFieldOpsSetBackgroundColor(Ark_NativePointer node, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor valueValueTempTmpBufOpt = {}; - valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; - if (valueValueTempTmpBufOptUnionSelector == 0) { - valueValueTempTmpBufOpt.selector = 0; - valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); - } else if (valueValueTempTmpBufOptUnionSelector == 1) { - valueValueTempTmpBufOpt.selector = 1; - valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); - } else if (valueValueTempTmpBufOptUnionSelector == 2) { - valueValueTempTmpBufOpt.selector = 2; - valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); - } else if (valueValueTempTmpBufOptUnionSelector == 3) { - valueValueTempTmpBufOpt.selector = 3; - valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); - } - valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int8 valueValueTempTmpBufOptUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor valueValueTempTmpBufOpt = {}; + valueValueTempTmpBufOpt.selector = valueValueTempTmpBufOptUnionSelector; + if (valueValueTempTmpBufOptUnionSelector == 0) { + valueValueTempTmpBufOpt.selector = 0; + valueValueTempTmpBufOpt.value0 = static_cast(thisDeserializer.readInt32()); + } else if (valueValueTempTmpBufOptUnionSelector == 1) { + valueValueTempTmpBufOpt.selector = 1; + valueValueTempTmpBufOpt.value1 = thisDeserializer.readInt32(); + } else if (valueValueTempTmpBufOptUnionSelector == 2) { + valueValueTempTmpBufOpt.selector = 2; + valueValueTempTmpBufOpt.value2 = static_cast(thisDeserializer.readString()); + } else if (valueValueTempTmpBufOptUnionSelector == 3) { + valueValueTempTmpBufOpt.selector = 3; + valueValueTempTmpBufOpt.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBufOpt has to be chosen through deserialisation."); } - Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBackgroundColor(node, static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value = static_cast(valueValueTempTmpBufOpt); + } + Opt_ResourceColor valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextFieldOpsAccessor()->textFieldOpsSetBackgroundColor(node, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TextFieldOps_textFieldOpsSetBackgroundColor, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextInputController_construct() { - return GetAccessors()->getTextInputControllerAccessor()->construct(); + return GetAccessors()->getTextInputControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextInputController_construct, Ark_NativePointer) Ark_NativePointer impl_TextInputController_getFinalizer() { - return GetAccessors()->getTextInputControllerAccessor()->getFinalizer(); + return GetAccessors()->getTextInputControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextInputController_getFinalizer, Ark_NativePointer) +void impl_TextInputController_callHolder(Ark_NativePointer thisPtr) { + Ark_TextInputController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextInputControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextInputController_callHolder, Ark_NativePointer) void impl_TextInputController_caretPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_TextInputController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextInputControllerAccessor()->caretPosition(self, value); + Ark_TextInputController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextInputControllerAccessor()->caretPosition(self, value); } KOALA_INTEROP_DIRECT_V2(TextInputController_caretPosition, Ark_NativePointer, Ark_Int32) void impl_TextInputController_setTextSelection(Ark_NativePointer thisPtr, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TextInputController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionOptions optionsValueTempTmpBuf = {}; - optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); - } - Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; - GetAccessors()->getTextInputControllerAccessor()->setTextSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); + Ark_TextInputController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto optionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionOptions optionsValueTempTmpBuf = {}; + optionsValueTempTmpBuf.tag = optionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((optionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + optionsValueTempTmpBuf.value = ArkuiComponentCommonSelectionOptionsSerializerImpl::read(thisDeserializer); + } + Opt_SelectionOptions optionsValueTemp = optionsValueTempTmpBuf;; + GetAccessors()->getTextInputControllerAccessor()->setTextSelection(self, selectionStart, selectionEnd, static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_V5(TextInputController_setTextSelection, Ark_NativePointer, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt) void impl_TextInputController_stopEditing(Ark_NativePointer thisPtr) { - Ark_TextInputController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextInputControllerAccessor()->stopEditing(self); + Ark_TextInputController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextInputControllerAccessor()->stopEditing(self); } KOALA_INTEROP_DIRECT_V1(TextInputController_stopEditing, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_construct() { - return GetAccessors()->getTextMenuItemIdAccessor()->construct(); + return GetAccessors()->getTextMenuItemIdAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_construct, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getFinalizer() { - return GetAccessors()->getTextMenuItemIdAccessor()->getFinalizer(); + return GetAccessors()->getTextMenuItemIdAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getFinalizer, Ark_NativePointer) +void impl_TextMenuItemId_callHolder(Ark_NativePointer thisPtr) { + Ark_TextMenuItemId self = reinterpret_cast(thisPtr); + GetAccessors()->getTextMenuItemIdAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextMenuItemId_callHolder, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_of(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 idValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceStr idValueTempTmpBuf = {}; - idValueTempTmpBuf.selector = idValueTempTmpBufUnionSelector; - if (idValueTempTmpBufUnionSelector == 0) { - idValueTempTmpBuf.selector = 0; - idValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); - } else if (idValueTempTmpBufUnionSelector == 1) { - idValueTempTmpBuf.selector = 1; - idValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for idValueTempTmpBuf has to be chosen through deserialisation."); - } - Ark_ResourceStr idValueTemp = static_cast(idValueTempTmpBuf);; - return GetAccessors()->getTextMenuItemIdAccessor()->of(static_cast(&idValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 idValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceStr idValueTempTmpBuf = {}; + idValueTempTmpBuf.selector = idValueTempTmpBufUnionSelector; + if (idValueTempTmpBufUnionSelector == 0) { + idValueTempTmpBuf.selector = 0; + idValueTempTmpBuf.value0 = static_cast(thisDeserializer.readString()); + } else if (idValueTempTmpBufUnionSelector == 1) { + idValueTempTmpBuf.selector = 1; + idValueTempTmpBuf.value1 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for idValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_ResourceStr idValueTemp = static_cast(idValueTempTmpBuf);; + return GetAccessors()->getTextMenuItemIdAccessor()->of(static_cast(&idValueTemp)); } KOALA_INTEROP_DIRECT_2(TextMenuItemId_of, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Boolean impl_TextMenuItemId_equals(Ark_NativePointer thisPtr, Ark_NativePointer id) { - Ark_TextMenuItemId self = reinterpret_cast(thisPtr); - return GetAccessors()->getTextMenuItemIdAccessor()->equals(self, static_cast(id)); + Ark_TextMenuItemId self = reinterpret_cast(thisPtr); + return GetAccessors()->getTextMenuItemIdAccessor()->equals(self, static_cast(id)); } KOALA_INTEROP_DIRECT_2(TextMenuItemId_equals, Ark_Boolean, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getCUT() { - return GetAccessors()->getTextMenuItemIdAccessor()->getCUT(); + return GetAccessors()->getTextMenuItemIdAccessor()->getCUT(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCUT, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getCOPY() { - return GetAccessors()->getTextMenuItemIdAccessor()->getCOPY(); + return GetAccessors()->getTextMenuItemIdAccessor()->getCOPY(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCOPY, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getPASTE() { - return GetAccessors()->getTextMenuItemIdAccessor()->getPASTE(); + return GetAccessors()->getTextMenuItemIdAccessor()->getPASTE(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getPASTE, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getSELECT_ALL() { - return GetAccessors()->getTextMenuItemIdAccessor()->getSELECT_ALL(); + return GetAccessors()->getTextMenuItemIdAccessor()->getSELECT_ALL(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSELECT_ALL, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getCOLLABORATION_SERVICE() { - return GetAccessors()->getTextMenuItemIdAccessor()->getCOLLABORATION_SERVICE(); + return GetAccessors()->getTextMenuItemIdAccessor()->getCOLLABORATION_SERVICE(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCOLLABORATION_SERVICE, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getCAMERA_INPUT() { - return GetAccessors()->getTextMenuItemIdAccessor()->getCAMERA_INPUT(); + return GetAccessors()->getTextMenuItemIdAccessor()->getCAMERA_INPUT(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getCAMERA_INPUT, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getAI_WRITER() { - return GetAccessors()->getTextMenuItemIdAccessor()->getAI_WRITER(); + return GetAccessors()->getTextMenuItemIdAccessor()->getAI_WRITER(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getAI_WRITER, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getTRANSLATE() { - return GetAccessors()->getTextMenuItemIdAccessor()->getTRANSLATE(); + return GetAccessors()->getTextMenuItemIdAccessor()->getTRANSLATE(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getTRANSLATE, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getSEARCH() { - return GetAccessors()->getTextMenuItemIdAccessor()->getSEARCH(); + return GetAccessors()->getTextMenuItemIdAccessor()->getSEARCH(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSEARCH, Ark_NativePointer) Ark_NativePointer impl_TextMenuItemId_getSHARE() { - return GetAccessors()->getTextMenuItemIdAccessor()->getSHARE(); + return GetAccessors()->getTextMenuItemIdAccessor()->getSHARE(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSHARE, Ark_NativePointer) Ark_NativePointer impl_TextShadowStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; - if (valueValueTempTmpBufUnionSelector == 0) { - valueValueTempTmpBuf.selector = 0; - valueValueTempTmpBuf.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } else if (valueValueTempTmpBufUnionSelector == 1) { - valueValueTempTmpBuf.selector = 1; - const Ark_Int32 valueValueTempTmpBufBufULength = thisDeserializer.readInt32(); - Array_ShadowOptions valueValueTempTmpBufBufU = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int8 valueValueTempTmpBufUnionSelector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.selector = valueValueTempTmpBufUnionSelector; + if (valueValueTempTmpBufUnionSelector == 0) { + valueValueTempTmpBuf.selector = 0; + valueValueTempTmpBuf.value0 = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); + } else if (valueValueTempTmpBufUnionSelector == 1) { + valueValueTempTmpBuf.selector = 1; + const Ark_Int32 valueValueTempTmpBufBufULength = thisDeserializer.readInt32(); + Array_ShadowOptions valueValueTempTmpBufBufU = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&valueValueTempTmpBufBufU, valueValueTempTmpBufBufULength); - for (int valueValueTempTmpBufBufUBufCounterI = 0; valueValueTempTmpBufBufUBufCounterI < valueValueTempTmpBufBufULength; valueValueTempTmpBufBufUBufCounterI++) { - valueValueTempTmpBufBufU.array[valueValueTempTmpBufBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); - } - valueValueTempTmpBuf.value1 = valueValueTempTmpBufBufU; - } else { - INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + for (int valueValueTempTmpBufBufUBufCounterI = 0; valueValueTempTmpBufBufUBufCounterI < valueValueTempTmpBufBufULength; valueValueTempTmpBufBufUBufCounterI++) { + valueValueTempTmpBufBufU.array[valueValueTempTmpBufBufUBufCounterI] = ArkuiComponentCommonShadowOptionsSerializerImpl::read(thisDeserializer); } - Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = static_cast(valueValueTempTmpBuf);; - return GetAccessors()->getTextShadowStyleAccessor()->construct(static_cast(&valueValueTemp)); + valueValueTempTmpBuf.value1 = valueValueTempTmpBufBufU; + } else { + INTEROP_FATAL("One of the branches for valueValueTempTmpBuf has to be chosen through deserialisation."); + } + Ark_Union_ShadowOptions_Array_ShadowOptions valueValueTemp = static_cast(valueValueTempTmpBuf);; + return GetAccessors()->getTextShadowStyleAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(TextShadowStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextShadowStyle_getFinalizer() { - return GetAccessors()->getTextShadowStyleAccessor()->getFinalizer(); + return GetAccessors()->getTextShadowStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextShadowStyle_getFinalizer, Ark_NativePointer) +void impl_TextShadowStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_TextShadowStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getTextShadowStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextShadowStyle_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_TextShadowStyle_getTextShadow(Ark_NativePointer thisPtr) { - Ark_TextShadowStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextShadowStyleAccessor()->getTextShadow(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_ShadowOptions retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentCommonShadowOptionsSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_TextShadowStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextShadowStyleAccessor()->getTextShadow(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_ShadowOptions retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentCommonShadowOptionsSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextShadowStyle_getTextShadow, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_TextStyle_construct(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextStyleInterface valueValueTempTmpBuf = {}; - valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - valueValueTempTmpBuf.value = ArkuiComponentStyledStringTextStyleInterfaceSerializerImpl::read(thisDeserializer); - } - Opt_TextStyleInterface valueValueTemp = valueValueTempTmpBuf;; - return GetAccessors()->getTextStyleAccessor()->construct(static_cast(&valueValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto valueValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextStyleInterface valueValueTempTmpBuf = {}; + valueValueTempTmpBuf.tag = valueValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((valueValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + valueValueTempTmpBuf.value = ArkuiComponentStyledStringTextStyleInterfaceSerializerImpl::read(thisDeserializer); + } + Opt_TextStyleInterface valueValueTemp = valueValueTempTmpBuf;; + return GetAccessors()->getTextStyleAccessor()->construct(static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_2(TextStyle_construct, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TextStyle_getFinalizer() { - return GetAccessors()->getTextStyleAccessor()->getFinalizer(); + return GetAccessors()->getTextStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextStyle_getFinalizer, Ark_NativePointer) +void impl_TextStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_TextStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getTextStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextStyle_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_TextStyle_getFontColor(Ark_NativePointer thisPtr) { - Ark_TextStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontColor(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - if (retValueTmpValue.selector == 0) { - _retSerializer.writeInt8(0); - const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; - _retSerializer.writeInt32(static_cast(retValueTmpValueForIdx0)); - } else if (retValueTmpValue.selector == 1) { - _retSerializer.writeInt8(1); - const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; - _retSerializer.writeInt32(retValueTmpValueForIdx1); - } else if (retValueTmpValue.selector == 2) { - _retSerializer.writeInt8(2); - const auto retValueTmpValueForIdx2 = retValueTmpValue.value2; - _retSerializer.writeString(retValueTmpValueForIdx2); - } else if (retValueTmpValue.selector == 3) { - _retSerializer.writeInt8(3); - const auto retValueTmpValueForIdx3 = retValueTmpValue.value3; - GlobalResourceResourceSerializerImpl::write(_retSerializer, retValueTmpValueForIdx3); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + Ark_TextStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontColor(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + if (retValueTmpValue.selector == 0) { + _retSerializer.writeInt8(0); + const auto retValueTmpValueForIdx0 = retValueTmpValue.value0; + _retSerializer.writeInt32(static_cast(retValueTmpValueForIdx0)); + } else if (retValueTmpValue.selector == 1) { + _retSerializer.writeInt8(1); + const auto retValueTmpValueForIdx1 = retValueTmpValue.value1; + _retSerializer.writeInt32(retValueTmpValueForIdx1); + } else if (retValueTmpValue.selector == 2) { + _retSerializer.writeInt8(2); + const auto retValueTmpValueForIdx2 = retValueTmpValue.value2; + _retSerializer.writeString(retValueTmpValueForIdx2); + } else if (retValueTmpValue.selector == 3) { + _retSerializer.writeInt8(3); + const auto retValueTmpValueForIdx3 = retValueTmpValue.value3; + GlobalResourceResourceSerializerImpl::write(_retSerializer, retValueTmpValueForIdx3); } - return _retSerializer.toReturnBuffer(); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextStyle_getFontColor, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextStyle_getFontFamily(Ark_NativePointer thisPtr) { - Ark_TextStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontFamily(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeString(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontFamily(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeString(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextStyle_getFontFamily, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextStyle_getFontSize(Ark_NativePointer thisPtr) { - Ark_TextStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontSize(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeFloat64(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontSize(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeFloat64(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextStyle_getFontSize, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextStyle_getFontWeight(Ark_NativePointer thisPtr) { - Ark_TextStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontWeight(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontWeight(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextStyle_getFontWeight, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TextStyle_getFontStyle(Ark_NativePointer thisPtr) { - Ark_TextStyle self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontStyle(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(static_cast(retValueTmpValue)); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TextStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextStyleAccessor()->getFontStyle(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(static_cast(retValueTmpValue)); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TextStyle_getFontStyle, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_TextTimerController_construct() { - return GetAccessors()->getTextTimerControllerAccessor()->construct(); + return GetAccessors()->getTextTimerControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TextTimerController_construct, Ark_NativePointer) Ark_NativePointer impl_TextTimerController_getFinalizer() { - return GetAccessors()->getTextTimerControllerAccessor()->getFinalizer(); + return GetAccessors()->getTextTimerControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TextTimerController_getFinalizer, Ark_NativePointer) +void impl_TextTimerController_callHolder(Ark_NativePointer thisPtr) { + Ark_TextTimerController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextTimerControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TextTimerController_callHolder, Ark_NativePointer) void impl_TextTimerController_start(Ark_NativePointer thisPtr) { - Ark_TextTimerController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextTimerControllerAccessor()->start(self); + Ark_TextTimerController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextTimerControllerAccessor()->start(self); } KOALA_INTEROP_DIRECT_V1(TextTimerController_start, Ark_NativePointer) void impl_TextTimerController_pause(Ark_NativePointer thisPtr) { - Ark_TextTimerController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextTimerControllerAccessor()->pause(self); + Ark_TextTimerController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextTimerControllerAccessor()->pause(self); } KOALA_INTEROP_DIRECT_V1(TextTimerController_pause, Ark_NativePointer) void impl_TextTimerController_reset(Ark_NativePointer thisPtr) { - Ark_TextTimerController self = reinterpret_cast(thisPtr); - GetAccessors()->getTextTimerControllerAccessor()->reset(self); + Ark_TextTimerController self = reinterpret_cast(thisPtr); + GetAccessors()->getTextTimerControllerAccessor()->reset(self); } KOALA_INTEROP_DIRECT_V1(TextTimerController_reset, Ark_NativePointer) void impl_ThemeOps_sendThemeToNative(KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 elmtId) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 colorArrayValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_ResourceColor colorArrayValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 colorArrayValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_ResourceColor colorArrayValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&colorArrayValueTempTmpBuf, colorArrayValueTempTmpBufLength); - for (int colorArrayValueTempTmpBufBufCounterI = 0; colorArrayValueTempTmpBufBufCounterI < colorArrayValueTempTmpBufLength; colorArrayValueTempTmpBufBufCounterI++) { - const Ark_Int8 colorArrayValueTempTmpBufTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor colorArrayValueTempTmpBufTempBuf = {}; - colorArrayValueTempTmpBufTempBuf.selector = colorArrayValueTempTmpBufTempBufUnionSelector; - if (colorArrayValueTempTmpBufTempBufUnionSelector == 0) { - colorArrayValueTempTmpBufTempBuf.selector = 0; - colorArrayValueTempTmpBufTempBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 1) { - colorArrayValueTempTmpBufTempBuf.selector = 1; - colorArrayValueTempTmpBufTempBuf.value1 = thisDeserializer.readInt32(); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 2) { - colorArrayValueTempTmpBufTempBuf.selector = 2; - colorArrayValueTempTmpBufTempBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 3) { - colorArrayValueTempTmpBufTempBuf.selector = 3; - colorArrayValueTempTmpBufTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for colorArrayValueTempTmpBufTempBuf has to be chosen through deserialisation."); - } - colorArrayValueTempTmpBuf.array[colorArrayValueTempTmpBufBufCounterI] = static_cast(colorArrayValueTempTmpBufTempBuf); + for (int colorArrayValueTempTmpBufBufCounterI = 0; colorArrayValueTempTmpBufBufCounterI < colorArrayValueTempTmpBufLength; colorArrayValueTempTmpBufBufCounterI++) { + const Ark_Int8 colorArrayValueTempTmpBufTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor colorArrayValueTempTmpBufTempBuf = {}; + colorArrayValueTempTmpBufTempBuf.selector = colorArrayValueTempTmpBufTempBufUnionSelector; + if (colorArrayValueTempTmpBufTempBufUnionSelector == 0) { + colorArrayValueTempTmpBufTempBuf.selector = 0; + colorArrayValueTempTmpBufTempBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 1) { + colorArrayValueTempTmpBufTempBuf.selector = 1; + colorArrayValueTempTmpBufTempBuf.value1 = thisDeserializer.readInt32(); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 2) { + colorArrayValueTempTmpBufTempBuf.selector = 2; + colorArrayValueTempTmpBufTempBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 3) { + colorArrayValueTempTmpBufTempBuf.selector = 3; + colorArrayValueTempTmpBufTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for colorArrayValueTempTmpBufTempBuf has to be chosen through deserialisation."); } - Array_ResourceColor colorArrayValueTemp = colorArrayValueTempTmpBuf;; - GetAccessors()->getThemeOpsAccessor()->sendThemeToNative(static_cast(&colorArrayValueTemp), elmtId); + colorArrayValueTempTmpBuf.array[colorArrayValueTempTmpBufBufCounterI] = static_cast(colorArrayValueTempTmpBufTempBuf); + } + Array_ResourceColor colorArrayValueTemp = colorArrayValueTempTmpBuf;; + GetAccessors()->getThemeOpsAccessor()->sendThemeToNative(static_cast(&colorArrayValueTemp), elmtId); } KOALA_INTEROP_DIRECT_V3(ThemeOps_sendThemeToNative, KSerializerBuffer, KInt, Ark_Int32) void impl_ThemeOps_setDefaultTheme(KSerializerBuffer thisArray, KInt thisLength, Ark_Boolean isDark) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 colorArrayValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_ResourceColor colorArrayValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 colorArrayValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_ResourceColor colorArrayValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&colorArrayValueTempTmpBuf, colorArrayValueTempTmpBufLength); - for (int colorArrayValueTempTmpBufBufCounterI = 0; colorArrayValueTempTmpBufBufCounterI < colorArrayValueTempTmpBufLength; colorArrayValueTempTmpBufBufCounterI++) { - const Ark_Int8 colorArrayValueTempTmpBufTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor colorArrayValueTempTmpBufTempBuf = {}; - colorArrayValueTempTmpBufTempBuf.selector = colorArrayValueTempTmpBufTempBufUnionSelector; - if (colorArrayValueTempTmpBufTempBufUnionSelector == 0) { - colorArrayValueTempTmpBufTempBuf.selector = 0; - colorArrayValueTempTmpBufTempBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 1) { - colorArrayValueTempTmpBufTempBuf.selector = 1; - colorArrayValueTempTmpBufTempBuf.value1 = thisDeserializer.readInt32(); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 2) { - colorArrayValueTempTmpBufTempBuf.selector = 2; - colorArrayValueTempTmpBufTempBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 3) { - colorArrayValueTempTmpBufTempBuf.selector = 3; - colorArrayValueTempTmpBufTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for colorArrayValueTempTmpBufTempBuf has to be chosen through deserialisation."); - } - colorArrayValueTempTmpBuf.array[colorArrayValueTempTmpBufBufCounterI] = static_cast(colorArrayValueTempTmpBufTempBuf); + for (int colorArrayValueTempTmpBufBufCounterI = 0; colorArrayValueTempTmpBufBufCounterI < colorArrayValueTempTmpBufLength; colorArrayValueTempTmpBufBufCounterI++) { + const Ark_Int8 colorArrayValueTempTmpBufTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor colorArrayValueTempTmpBufTempBuf = {}; + colorArrayValueTempTmpBufTempBuf.selector = colorArrayValueTempTmpBufTempBufUnionSelector; + if (colorArrayValueTempTmpBufTempBufUnionSelector == 0) { + colorArrayValueTempTmpBufTempBuf.selector = 0; + colorArrayValueTempTmpBufTempBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 1) { + colorArrayValueTempTmpBufTempBuf.selector = 1; + colorArrayValueTempTmpBufTempBuf.value1 = thisDeserializer.readInt32(); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 2) { + colorArrayValueTempTmpBufTempBuf.selector = 2; + colorArrayValueTempTmpBufTempBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 3) { + colorArrayValueTempTmpBufTempBuf.selector = 3; + colorArrayValueTempTmpBufTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for colorArrayValueTempTmpBufTempBuf has to be chosen through deserialisation."); } - Array_ResourceColor colorArrayValueTemp = colorArrayValueTempTmpBuf;; - GetAccessors()->getThemeOpsAccessor()->setDefaultTheme(static_cast(&colorArrayValueTemp), isDark); + colorArrayValueTempTmpBuf.array[colorArrayValueTempTmpBufBufCounterI] = static_cast(colorArrayValueTempTmpBufTempBuf); + } + Array_ResourceColor colorArrayValueTemp = colorArrayValueTempTmpBuf;; + GetAccessors()->getThemeOpsAccessor()->setDefaultTheme(static_cast(&colorArrayValueTemp), isDark); } KOALA_INTEROP_V3(ThemeOps_setDefaultTheme, KSerializerBuffer, KInt, Ark_Boolean) void impl_ThemeOps_createAndBindTheme(Ark_Int32 themeScopeId, Ark_Int32 themeId, KSerializerBuffer thisArray, KInt thisLength, Ark_Int32 colorMode) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 colorArrayValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_ResourceColor colorArrayValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 colorArrayValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_ResourceColor colorArrayValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&colorArrayValueTempTmpBuf, colorArrayValueTempTmpBufLength); - for (int colorArrayValueTempTmpBufBufCounterI = 0; colorArrayValueTempTmpBufBufCounterI < colorArrayValueTempTmpBufLength; colorArrayValueTempTmpBufBufCounterI++) { - const Ark_Int8 colorArrayValueTempTmpBufTempBufUnionSelector = thisDeserializer.readInt8(); - Ark_ResourceColor colorArrayValueTempTmpBufTempBuf = {}; - colorArrayValueTempTmpBufTempBuf.selector = colorArrayValueTempTmpBufTempBufUnionSelector; - if (colorArrayValueTempTmpBufTempBufUnionSelector == 0) { - colorArrayValueTempTmpBufTempBuf.selector = 0; - colorArrayValueTempTmpBufTempBuf.value0 = static_cast(thisDeserializer.readInt32()); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 1) { - colorArrayValueTempTmpBufTempBuf.selector = 1; - colorArrayValueTempTmpBufTempBuf.value1 = thisDeserializer.readInt32(); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 2) { - colorArrayValueTempTmpBufTempBuf.selector = 2; - colorArrayValueTempTmpBufTempBuf.value2 = static_cast(thisDeserializer.readString()); - } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 3) { - colorArrayValueTempTmpBufTempBuf.selector = 3; - colorArrayValueTempTmpBufTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); - } else { - INTEROP_FATAL("One of the branches for colorArrayValueTempTmpBufTempBuf has to be chosen through deserialisation."); - } - colorArrayValueTempTmpBuf.array[colorArrayValueTempTmpBufBufCounterI] = static_cast(colorArrayValueTempTmpBufTempBuf); + for (int colorArrayValueTempTmpBufBufCounterI = 0; colorArrayValueTempTmpBufBufCounterI < colorArrayValueTempTmpBufLength; colorArrayValueTempTmpBufBufCounterI++) { + const Ark_Int8 colorArrayValueTempTmpBufTempBufUnionSelector = thisDeserializer.readInt8(); + Ark_ResourceColor colorArrayValueTempTmpBufTempBuf = {}; + colorArrayValueTempTmpBufTempBuf.selector = colorArrayValueTempTmpBufTempBufUnionSelector; + if (colorArrayValueTempTmpBufTempBufUnionSelector == 0) { + colorArrayValueTempTmpBufTempBuf.selector = 0; + colorArrayValueTempTmpBufTempBuf.value0 = static_cast(thisDeserializer.readInt32()); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 1) { + colorArrayValueTempTmpBufTempBuf.selector = 1; + colorArrayValueTempTmpBufTempBuf.value1 = thisDeserializer.readInt32(); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 2) { + colorArrayValueTempTmpBufTempBuf.selector = 2; + colorArrayValueTempTmpBufTempBuf.value2 = static_cast(thisDeserializer.readString()); + } else if (colorArrayValueTempTmpBufTempBufUnionSelector == 3) { + colorArrayValueTempTmpBufTempBuf.selector = 3; + colorArrayValueTempTmpBufTempBuf.value3 = GlobalResourceResourceSerializerImpl::read(thisDeserializer); + } else { + INTEROP_FATAL("One of the branches for colorArrayValueTempTmpBufTempBuf has to be chosen through deserialisation."); } - Array_ResourceColor colorArrayValueTemp = colorArrayValueTempTmpBuf;; - synthetic_Callback_Void onThemeScopeDestroyValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; - GetAccessors()->getThemeOpsAccessor()->createAndBindTheme(themeScopeId, themeId, static_cast(&colorArrayValueTemp), static_cast(colorMode), static_cast(&onThemeScopeDestroyValueTemp)); + colorArrayValueTempTmpBuf.array[colorArrayValueTempTmpBufBufCounterI] = static_cast(colorArrayValueTempTmpBufTempBuf); + } + Array_ResourceColor colorArrayValueTemp = colorArrayValueTempTmpBuf;; + synthetic_Callback_Void onThemeScopeDestroyValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; + GetAccessors()->getThemeOpsAccessor()->createAndBindTheme(themeScopeId, themeId, static_cast(&colorArrayValueTemp), static_cast(colorMode), static_cast(&onThemeScopeDestroyValueTemp)); } KOALA_INTEROP_DIRECT_V5(ThemeOps_createAndBindTheme, Ark_Int32, Ark_Int32, KSerializerBuffer, KInt, Ark_Int32) void impl_ThemeOps_applyThemeScopeIdToNode(Ark_NativePointer ptr, Ark_Int32 themeScopeId) { - GetAccessors()->getThemeOpsAccessor()->applyThemeScopeIdToNode(ptr, themeScopeId); + GetAccessors()->getThemeOpsAccessor()->applyThemeScopeIdToNode(ptr, themeScopeId); } KOALA_INTEROP_DIRECT_V2(ThemeOps_applyThemeScopeIdToNode, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_TouchEvent_construct() { - return GetAccessors()->getTouchEventAccessor()->construct(); + return GetAccessors()->getTouchEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TouchEvent_construct, Ark_NativePointer) Ark_NativePointer impl_TouchEvent_getFinalizer() { - return GetAccessors()->getTouchEventAccessor()->getFinalizer(); + return GetAccessors()->getTouchEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TouchEvent_getFinalizer, Ark_NativePointer) +void impl_TouchEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TouchEvent_callHolder, Ark_NativePointer) void impl_TouchEvent_stopPropagation(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getTouchEventAccessor()->stopPropagation(self); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchEventAccessor()->stopPropagation(self); } KOALA_INTEROP_DIRECT_V1(TouchEvent_stopPropagation, Ark_NativePointer) KInteropReturnBuffer impl_TouchEvent_getHistoricalPoints(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->getHistoricalPoints(self); - SerializerBase _retSerializer {}; - if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueTmpValue = retValue.value; - _retSerializer.writeInt32(retValueTmpValue.length); - for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { - const Ark_HistoricalPoint retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; - ArkuiComponentCommonHistoricalPointSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); - } - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - return _retSerializer.toReturnBuffer(); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->getHistoricalPoints(self); + SerializerBase _retSerializer {}; + if (runtimeType(retValue) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueTmpValue = retValue.value; + _retSerializer.writeInt32(retValueTmpValue.length); + for (int retValueTmpValueCounterI = 0; retValueTmpValueCounterI < retValueTmpValue.length; retValueTmpValueCounterI++) { + const Ark_HistoricalPoint retValueTmpValueTmpElement = retValueTmpValue.array[retValueTmpValueCounterI]; + ArkuiComponentCommonHistoricalPointSerializerImpl::write(_retSerializer, retValueTmpValueTmpElement); + } + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TouchEvent_getHistoricalPoints, KInteropReturnBuffer, Ark_NativePointer) KInteropReturnBuffer impl_TouchEvent_preventDefault(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->preventDefault(self); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->preventDefault(self); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TouchEvent_preventDefault, KInteropReturnBuffer, Ark_NativePointer) Ark_Int32 impl_TouchEvent_getType(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getTouchEventAccessor()->getType(self); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getTouchEventAccessor()->getType(self); } KOALA_INTEROP_DIRECT_1(TouchEvent_getType, Ark_Int32, Ark_NativePointer) void impl_TouchEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getTouchEventAccessor()->setType(self, static_cast(type)); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchEventAccessor()->setType(self, static_cast(type)); } KOALA_INTEROP_DIRECT_V2(TouchEvent_setType, Ark_NativePointer, Ark_Int32) KInteropReturnBuffer impl_TouchEvent_getTouches(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->getTouches(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_TouchObject retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentCommonTouchObjectSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->getTouches(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_TouchObject retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentCommonTouchObjectSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TouchEvent_getTouches, KInteropReturnBuffer, Ark_NativePointer) void impl_TouchEvent_setTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 touchesValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_TouchObject touchesValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_TouchEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 touchesValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_TouchObject touchesValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&touchesValueTempTmpBuf, touchesValueTempTmpBufLength); - for (int touchesValueTempTmpBufBufCounterI = 0; touchesValueTempTmpBufBufCounterI < touchesValueTempTmpBufLength; touchesValueTempTmpBufBufCounterI++) { - touchesValueTempTmpBuf.array[touchesValueTempTmpBufBufCounterI] = ArkuiComponentCommonTouchObjectSerializerImpl::read(thisDeserializer); - } - Array_TouchObject touchesValueTemp = touchesValueTempTmpBuf;; - GetAccessors()->getTouchEventAccessor()->setTouches(self, static_cast(&touchesValueTemp)); + for (int touchesValueTempTmpBufBufCounterI = 0; touchesValueTempTmpBufBufCounterI < touchesValueTempTmpBufLength; touchesValueTempTmpBufBufCounterI++) { + touchesValueTempTmpBuf.array[touchesValueTempTmpBufBufCounterI] = ArkuiComponentCommonTouchObjectSerializerImpl::read(thisDeserializer); + } + Array_TouchObject touchesValueTemp = touchesValueTempTmpBuf;; + GetAccessors()->getTouchEventAccessor()->setTouches(self, static_cast(&touchesValueTemp)); } KOALA_INTEROP_DIRECT_V3(TouchEvent_setTouches, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_TouchEvent_getChangedTouches(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->getChangedTouches(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_TouchObject retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentCommonTouchObjectSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->getChangedTouches(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_TouchObject retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentCommonTouchObjectSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(TouchEvent_getChangedTouches, KInteropReturnBuffer, Ark_NativePointer) void impl_TouchEvent_setChangedTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 changedTouchesValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_TouchObject changedTouchesValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + Ark_TouchEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 changedTouchesValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_TouchObject changedTouchesValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(&changedTouchesValueTempTmpBuf, changedTouchesValueTempTmpBufLength); - for (int changedTouchesValueTempTmpBufBufCounterI = 0; changedTouchesValueTempTmpBufBufCounterI < changedTouchesValueTempTmpBufLength; changedTouchesValueTempTmpBufBufCounterI++) { - changedTouchesValueTempTmpBuf.array[changedTouchesValueTempTmpBufBufCounterI] = ArkuiComponentCommonTouchObjectSerializerImpl::read(thisDeserializer); - } - Array_TouchObject changedTouchesValueTemp = changedTouchesValueTempTmpBuf;; - GetAccessors()->getTouchEventAccessor()->setChangedTouches(self, static_cast(&changedTouchesValueTemp)); + for (int changedTouchesValueTempTmpBufBufCounterI = 0; changedTouchesValueTempTmpBufBufCounterI < changedTouchesValueTempTmpBufLength; changedTouchesValueTempTmpBufBufCounterI++) { + changedTouchesValueTempTmpBuf.array[changedTouchesValueTempTmpBufBufCounterI] = ArkuiComponentCommonTouchObjectSerializerImpl::read(thisDeserializer); + } + Array_TouchObject changedTouchesValueTemp = changedTouchesValueTempTmpBuf;; + GetAccessors()->getTouchEventAccessor()->setChangedTouches(self, static_cast(&changedTouchesValueTemp)); } KOALA_INTEROP_DIRECT_V3(TouchEvent_setChangedTouches, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TouchRecognizer_construct() { - return GetAccessors()->getTouchRecognizerAccessor()->construct(); + return GetAccessors()->getTouchRecognizerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(TouchRecognizer_construct, Ark_NativePointer) Ark_NativePointer impl_TouchRecognizer_getFinalizer() { - return GetAccessors()->getTouchRecognizerAccessor()->getFinalizer(); + return GetAccessors()->getTouchRecognizerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TouchRecognizer_getFinalizer, Ark_NativePointer) +void impl_TouchRecognizer_callHolder(Ark_NativePointer thisPtr) { + Ark_TouchRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchRecognizerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TouchRecognizer_callHolder, Ark_NativePointer) Ark_NativePointer impl_TouchRecognizer_getEventTargetInfo(Ark_NativePointer thisPtr) { - Ark_TouchRecognizer self = reinterpret_cast(thisPtr); - return GetAccessors()->getTouchRecognizerAccessor()->getEventTargetInfo(self); + Ark_TouchRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getTouchRecognizerAccessor()->getEventTargetInfo(self); } KOALA_INTEROP_DIRECT_1(TouchRecognizer_getEventTargetInfo, Ark_NativePointer, Ark_NativePointer) void impl_TouchRecognizer_cancelTouch(Ark_NativePointer thisPtr) { - Ark_TouchRecognizer self = reinterpret_cast(thisPtr); - GetAccessors()->getTouchRecognizerAccessor()->cancelTouch(self); + Ark_TouchRecognizer self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchRecognizerAccessor()->cancelTouch(self); } KOALA_INTEROP_DIRECT_V1(TouchRecognizer_cancelTouch, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_construct0(const KStringPtr& type) { - return GetAccessors()->getTransitionEffectAccessor()->construct0((const Ark_String*) (&type)); + return GetAccessors()->getTransitionEffectAccessor()->construct0((const Ark_String*) (&type)); } KOALA_INTEROP_1(TransitionEffect_construct0, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_TransitionEffect_construct1(KDouble effect) { - return GetAccessors()->getTransitionEffectAccessor()->construct1(effect); + return GetAccessors()->getTransitionEffectAccessor()->construct1(effect); } KOALA_INTEROP_1(TransitionEffect_construct1, Ark_NativePointer, KDouble) Ark_NativePointer impl_TransitionEffect_construct2(Ark_Int32 effect) { - return GetAccessors()->getTransitionEffectAccessor()->construct2(static_cast(effect)); + return GetAccessors()->getTransitionEffectAccessor()->construct2(static_cast(effect)); } KOALA_INTEROP_DIRECT_1(TransitionEffect_construct2, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_TransitionEffect_construct3(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions effectValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->construct3(static_cast(&effectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TranslateOptions effectValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->construct3(static_cast(&effectValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_construct3, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_construct4(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RotateOptions effectValueTemp = ArkuiComponentCommonRotateOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->construct4(static_cast(&effectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RotateOptions effectValueTemp = ArkuiComponentCommonRotateOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->construct4(static_cast(&effectValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_construct4, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_construct5(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ScaleOptions effectValueTemp = ArkuiComponentCommonScaleOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->construct5(static_cast(&effectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ScaleOptions effectValueTemp = ArkuiComponentCommonScaleOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->construct5(static_cast(&effectValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_construct5, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_construct6(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AsymmetricTransitionOption effectValueTemp = ArkuiComponentCommonAsymmetricTransitionOptionSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->construct6(static_cast(&effectValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AsymmetricTransitionOption effectValueTemp = ArkuiComponentCommonAsymmetricTransitionOptionSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->construct6(static_cast(&effectValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_construct6, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_getFinalizer() { - return GetAccessors()->getTransitionEffectAccessor()->getFinalizer(); + return GetAccessors()->getTransitionEffectAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(TransitionEffect_getFinalizer, Ark_NativePointer) +void impl_TransitionEffect_callHolder(Ark_NativePointer thisPtr) { + Ark_TransitionEffect self = reinterpret_cast(thisPtr); + GetAccessors()->getTransitionEffectAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(TransitionEffect_callHolder, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_translate(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions optionsValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->translate(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_TranslateOptions optionsValueTemp = ArkuiComponentCommonTranslateOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->translate(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_translate, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_rotate(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_RotateOptions optionsValueTemp = ArkuiComponentCommonRotateOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->rotate(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_RotateOptions optionsValueTemp = ArkuiComponentCommonRotateOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->rotate(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_rotate, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_scale(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ScaleOptions optionsValueTemp = ArkuiComponentCommonScaleOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->scale(static_cast(&optionsValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ScaleOptions optionsValueTemp = ArkuiComponentCommonScaleOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->scale(static_cast(&optionsValueTemp)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_scale, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_opacity(KDouble alpha) { - return GetAccessors()->getTransitionEffectAccessor()->opacity(alpha); + return GetAccessors()->getTransitionEffectAccessor()->opacity(alpha); } KOALA_INTEROP_1(TransitionEffect_opacity, Ark_NativePointer, KDouble) Ark_NativePointer impl_TransitionEffect_move(Ark_Int32 edge) { - return GetAccessors()->getTransitionEffectAccessor()->move(static_cast(edge)); + return GetAccessors()->getTransitionEffectAccessor()->move(static_cast(edge)); } KOALA_INTEROP_DIRECT_1(TransitionEffect_move, Ark_NativePointer, Ark_Int32) Ark_NativePointer impl_TransitionEffect_asymmetric(Ark_NativePointer appear, Ark_NativePointer disappear) { - return GetAccessors()->getTransitionEffectAccessor()->asymmetric(static_cast(appear), static_cast(disappear)); + return GetAccessors()->getTransitionEffectAccessor()->asymmetric(static_cast(appear), static_cast(disappear)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_asymmetric, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_TransitionEffect self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AnimateParam valueValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getTransitionEffectAccessor()->animation(self, static_cast(&valueValueTemp)); + Ark_TransitionEffect self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AnimateParam valueValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getTransitionEffectAccessor()->animation(self, static_cast(&valueValueTemp)); } KOALA_INTEROP_DIRECT_3(TransitionEffect_animation, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_TransitionEffect_combine(Ark_NativePointer thisPtr, Ark_NativePointer transitionEffect) { - Ark_TransitionEffect self = reinterpret_cast(thisPtr); - return GetAccessors()->getTransitionEffectAccessor()->combine(self, static_cast(transitionEffect)); + Ark_TransitionEffect self = reinterpret_cast(thisPtr); + return GetAccessors()->getTransitionEffectAccessor()->combine(self, static_cast(transitionEffect)); } KOALA_INTEROP_DIRECT_2(TransitionEffect_combine, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_getIDENTITY() { - return GetAccessors()->getTransitionEffectAccessor()->getIDENTITY(); + return GetAccessors()->getTransitionEffectAccessor()->getIDENTITY(); } KOALA_INTEROP_DIRECT_0(TransitionEffect_getIDENTITY, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_getOPACITY() { - return GetAccessors()->getTransitionEffectAccessor()->getOPACITY(); + return GetAccessors()->getTransitionEffectAccessor()->getOPACITY(); } KOALA_INTEROP_DIRECT_0(TransitionEffect_getOPACITY, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_getSLIDE() { - return GetAccessors()->getTransitionEffectAccessor()->getSLIDE(); + return GetAccessors()->getTransitionEffectAccessor()->getSLIDE(); } KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE, Ark_NativePointer) Ark_NativePointer impl_TransitionEffect_getSLIDE_SWITCH() { - return GetAccessors()->getTransitionEffectAccessor()->getSLIDE_SWITCH(); + return GetAccessors()->getTransitionEffectAccessor()->getSLIDE_SWITCH(); } KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE_SWITCH, Ark_NativePointer) Ark_NativePointer impl_UICommonEvent_construct() { - return GetAccessors()->getUICommonEventAccessor()->construct(); + return GetAccessors()->getUICommonEventAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(UICommonEvent_construct, Ark_NativePointer) Ark_NativePointer impl_UICommonEvent_getFinalizer() { - return GetAccessors()->getUICommonEventAccessor()->getFinalizer(); + return GetAccessors()->getUICommonEventAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(UICommonEvent_getFinalizer, Ark_NativePointer) +void impl_UICommonEvent_callHolder(Ark_NativePointer thisPtr) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getUICommonEventAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(UICommonEvent_callHolder, Ark_NativePointer) void impl_UICommonEvent_setOnClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; - } - Opt_Callback_ClickEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnClick(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_CLICKEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_CLICKEVENT_VOID))))}; + } + Opt_Callback_ClickEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnClick(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnClick, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TouchEvent_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_VOID))))}; - } - Opt_Callback_TouchEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnTouch(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TouchEvent_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_TOUCHEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_TOUCHEVENT_VOID))))}; + } + Opt_Callback_TouchEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnTouch(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnTouch, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnAppear(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnAppear(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnAppear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnDisappear(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnDisappear(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnDisappear, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_KeyEvent_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_VOID))))}; - } - Opt_Callback_KeyEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnKeyEvent(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_KeyEvent_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_KEYEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_KEYEVENT_VOID))))}; + } + Opt_Callback_KeyEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnKeyEvent(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnKeyEvent, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnFocus(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnFocus(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnFocus, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; - } - Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnBlur(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VOIDCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VOIDCALLBACK))))}; + } + Opt_VoidCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnBlur(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnBlur, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_HoverCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_HOVERCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_HOVERCALLBACK))))}; - } - Opt_HoverCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnHover(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_HoverCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_HOVERCALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_HOVERCALLBACK))))}; + } + Opt_HoverCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnHover(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnHover, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_MouseEvent_Void callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MOUSEEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MOUSEEVENT_VOID))))}; - } - Opt_Callback_MouseEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnMouse(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_MouseEvent_Void callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_MOUSEEVENT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_MOUSEEVENT_VOID))))}; + } + Opt_Callback_MouseEvent_Void callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnMouse(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnMouse, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SizeChangeCallback callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SIZECHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SIZECHANGECALLBACK))))}; - } - Opt_SizeChangeCallback callback_ValueTemp = callback_ValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnSizeChange(self, static_cast(&callback_ValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SizeChangeCallback callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SIZECHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SIZECHANGECALLBACK))))}; + } + Opt_SizeChangeCallback callback_ValueTemp = callback_ValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnSizeChange(self, static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnSizeChange, Ark_NativePointer, KSerializerBuffer, KInt) void impl_UICommonEvent_setOnVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_VisibleAreaEventOptions optionsValueTemp = ArkuiComponentCommonVisibleAreaEventOptionsSerializerImpl::read(thisDeserializer);; - const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_VisibleAreaChangeCallback eventValueTempTmpBuf = {}; - eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VISIBLEAREACHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VISIBLEAREACHANGECALLBACK))))}; - } - Opt_VisibleAreaChangeCallback eventValueTemp = eventValueTempTmpBuf;; - GetAccessors()->getUICommonEventAccessor()->setOnVisibleAreaApproximateChange(self, static_cast(&optionsValueTemp), static_cast(&eventValueTemp)); + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_VisibleAreaEventOptions optionsValueTemp = ArkuiComponentCommonVisibleAreaEventOptionsSerializerImpl::read(thisDeserializer);; + const auto eventValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_VisibleAreaChangeCallback eventValueTempTmpBuf = {}; + eventValueTempTmpBuf.tag = eventValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((eventValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + eventValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_VISIBLEAREACHANGECALLBACK)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_VISIBLEAREACHANGECALLBACK))))}; + } + Opt_VisibleAreaChangeCallback eventValueTemp = eventValueTempTmpBuf;; + GetAccessors()->getUICommonEventAccessor()->setOnVisibleAreaApproximateChange(self, static_cast(&optionsValueTemp), static_cast(&eventValueTemp)); } KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_UIContextAtomicServiceBar_getBarRect() { - const auto &retValue = GetAccessors()->getUIContextAtomicServiceBarAccessor()->getBarRect(); - SerializerBase _retSerializer {}; - ArkuiGraphicsFrameSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getUIContextAtomicServiceBarAccessor()->getBarRect(); + SerializerBase _retSerializer {}; + ArkuiGraphicsFrameSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_0(UIContextAtomicServiceBar_getBarRect, KInteropReturnBuffer) Ark_NativePointer impl_UIExtensionProxy_construct() { - return GetAccessors()->getUIExtensionProxyAccessor()->construct(); + return GetAccessors()->getUIExtensionProxyAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(UIExtensionProxy_construct, Ark_NativePointer) Ark_NativePointer impl_UIExtensionProxy_getFinalizer() { - return GetAccessors()->getUIExtensionProxyAccessor()->getFinalizer(); + return GetAccessors()->getUIExtensionProxyAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(UIExtensionProxy_getFinalizer, Ark_NativePointer) +void impl_UIExtensionProxy_callHolder(Ark_NativePointer thisPtr) { + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getUIExtensionProxyAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(UIExtensionProxy_callHolder, Ark_NativePointer) KInteropReturnBuffer impl_UIExtensionProxy_send(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 dataValueTempTmpBufSizeVar = thisDeserializer.readInt32(); - Map_String_Opt_Object dataValueTempTmpBuf = {}; - thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); - for (int dataValueTempTmpBufIVar = 0; dataValueTempTmpBufIVar < dataValueTempTmpBufSizeVar; dataValueTempTmpBufIVar++) { - const Ark_String dataValueTempTmpBufKeyVar = static_cast(thisDeserializer.readString()); - const auto dataValueTempTmpBufValueVarTempBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object dataValueTempTmpBufValueVarTempBuf = {}; - dataValueTempTmpBufValueVarTempBuf.tag = dataValueTempTmpBufValueVarTempBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((dataValueTempTmpBufValueVarTempBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - dataValueTempTmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); - } - const Opt_Object dataValueTempTmpBufValueVar = dataValueTempTmpBufValueVarTempBuf; - dataValueTempTmpBuf.keys[dataValueTempTmpBufIVar] = dataValueTempTmpBufKeyVar; - dataValueTempTmpBuf.values[dataValueTempTmpBufIVar] = dataValueTempTmpBufValueVar; - } - Map_String_Opt_Object dataValueTemp = dataValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->send(self, static_cast(&dataValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 dataValueTempTmpBufSizeVar = thisDeserializer.readInt32(); + Map_String_Opt_Object dataValueTempTmpBuf = {}; + thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); + for (int dataValueTempTmpBufIVar = 0; dataValueTempTmpBufIVar < dataValueTempTmpBufSizeVar; dataValueTempTmpBufIVar++) { + const Ark_String dataValueTempTmpBufKeyVar = static_cast(thisDeserializer.readString()); + const auto dataValueTempTmpBufValueVarTempBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object dataValueTempTmpBufValueVarTempBuf = {}; + dataValueTempTmpBufValueVarTempBuf.tag = dataValueTempTmpBufValueVarTempBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((dataValueTempTmpBufValueVarTempBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + dataValueTempTmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); + } + const Opt_Object dataValueTempTmpBufValueVar = dataValueTempTmpBufValueVarTempBuf; + dataValueTempTmpBuf.keys[dataValueTempTmpBufIVar] = dataValueTempTmpBufKeyVar; + dataValueTempTmpBuf.values[dataValueTempTmpBufIVar] = dataValueTempTmpBufValueVar; + } + Map_String_Opt_Object dataValueTemp = dataValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->send(self, static_cast(&dataValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_send, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_UIExtensionProxy_sendSync(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 dataValueTempTmpBufSizeVar = thisDeserializer.readInt32(); - Map_String_Opt_Object dataValueTempTmpBuf = {}; - thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); - for (int dataValueTempTmpBufIVar = 0; dataValueTempTmpBufIVar < dataValueTempTmpBufSizeVar; dataValueTempTmpBufIVar++) { - const Ark_String dataValueTempTmpBufKeyVar = static_cast(thisDeserializer.readString()); - const auto dataValueTempTmpBufValueVarTempBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object dataValueTempTmpBufValueVarTempBuf = {}; - dataValueTempTmpBufValueVarTempBuf.tag = dataValueTempTmpBufValueVarTempBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((dataValueTempTmpBufValueVarTempBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - dataValueTempTmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); - } - const Opt_Object dataValueTempTmpBufValueVar = dataValueTempTmpBufValueVarTempBuf; - dataValueTempTmpBuf.keys[dataValueTempTmpBufIVar] = dataValueTempTmpBufKeyVar; - dataValueTempTmpBuf.values[dataValueTempTmpBufIVar] = dataValueTempTmpBufValueVar; - } - Map_String_Opt_Object dataValueTemp = dataValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->sendSync(self, static_cast(&dataValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - else { - const auto retValueValue = retValue.value; - _retSerializer.writeInt32(retValueValue.size); - for (int32_t i = 0; i < retValueValue.size; i++) { - auto retValueValueKeyVar = retValueValue.keys[i]; - auto retValueValueValueVar = retValueValue.values[i]; - _retSerializer.writeString(retValueValueKeyVar); - if (runtimeType(retValueValueValueVar) != INTEROP_RUNTIME_UNDEFINED) { - _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); - const auto retValueValueValueVarTmpValue = retValueValueValueVar.value; - _retSerializer.writeObject(retValueValueValueVarTmpValue); - } else { - _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); - } - } - } - } - return _retSerializer.toReturnBuffer(); + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 dataValueTempTmpBufSizeVar = thisDeserializer.readInt32(); + Map_String_Opt_Object dataValueTempTmpBuf = {}; + thisDeserializer.resizeMap(&dataValueTempTmpBuf, dataValueTempTmpBufSizeVar); + for (int dataValueTempTmpBufIVar = 0; dataValueTempTmpBufIVar < dataValueTempTmpBufSizeVar; dataValueTempTmpBufIVar++) { + const Ark_String dataValueTempTmpBufKeyVar = static_cast(thisDeserializer.readString()); + const auto dataValueTempTmpBufValueVarTempBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object dataValueTempTmpBufValueVarTempBuf = {}; + dataValueTempTmpBufValueVarTempBuf.tag = dataValueTempTmpBufValueVarTempBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((dataValueTempTmpBufValueVarTempBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + dataValueTempTmpBufValueVarTempBuf.value = static_cast(thisDeserializer.readObject()); + } + const Opt_Object dataValueTempTmpBufValueVar = dataValueTempTmpBufValueVarTempBuf; + dataValueTempTmpBuf.keys[dataValueTempTmpBufIVar] = dataValueTempTmpBufKeyVar; + dataValueTempTmpBuf.values[dataValueTempTmpBufIVar] = dataValueTempTmpBufValueVar; + } + Map_String_Opt_Object dataValueTemp = dataValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->sendSync(self, static_cast(&dataValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } else { + const auto retValueValue = retValue.value; + _retSerializer.writeInt32(retValueValue.size); + for (int32_t i = 0; i < retValueValue.size; i++) { + auto retValueValueKeyVar = retValueValue.keys[i]; + auto retValueValueValueVar = retValueValue.values[i]; + _retSerializer.writeString(retValueValueKeyVar); + if (runtimeType(retValueValueValueVar) != INTEROP_RUNTIME_UNDEFINED) { + _retSerializer.writeInt8(INTEROP_RUNTIME_OBJECT); + const auto retValueValueValueVarTmpValue = retValueValueValueVar.value; + _retSerializer.writeObject(retValueValueValueVarTmpValue); + } else { + _retSerializer.writeInt8(INTEROP_RUNTIME_UNDEFINED); + } + } + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_sendSync, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_UIExtensionProxy_onAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_UIExtensionProxy callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))};; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_UIExtensionProxy callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))};; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_onAsyncReceiverRegister, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_UIExtensionProxy_onSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_UIExtensionProxy callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))};; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_UIExtensionProxy callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))};; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_onSyncReceiverRegister, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_UIExtensionProxy_offAsyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_UIExtensionProxy callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))}; - } - Opt_Callback_UIExtensionProxy callback_ValueTemp = callback_ValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_UIExtensionProxy callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))}; + } + Opt_Callback_UIExtensionProxy callback_ValueTemp = callback_ValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_offAsyncReceiverRegister, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_UIExtensionProxy_offSyncReceiverRegister(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_UIExtensionProxy callback_ValueTempTmpBuf = {}; - callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))}; - } - Opt_Callback_UIExtensionProxy callback_ValueTemp = callback_ValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); - SerializerBase _retSerializer {}; - { - _retSerializer.writeBoolean(retValue.hasException); - if (retValue.hasException) - _retSerializer.writeException(retValue.exception); - } - return _retSerializer.toReturnBuffer(); + Ark_UIExtensionProxy self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto callback_ValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_UIExtensionProxy callback_ValueTempTmpBuf = {}; + callback_ValueTempTmpBuf.tag = callback_ValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((callback_ValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + callback_ValueTempTmpBuf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_UIEXTENSIONPROXY)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_UIEXTENSIONPROXY))))}; + } + Opt_Callback_UIExtensionProxy callback_ValueTemp = callback_ValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegister(self, static_cast(&callback_ValueTemp)); + SerializerBase _retSerializer {}; + _retSerializer.writeBoolean(retValue.hasException); + if (retValue.hasException) { + _retSerializer.writeException(retValue.exception); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(UIExtensionProxy_offSyncReceiverRegister, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, KInt) Ark_NativePointer impl_UrlStyle_construct(const KStringPtr& url) { - return GetAccessors()->getUrlStyleAccessor()->construct((const Ark_String*) (&url)); + return GetAccessors()->getUrlStyleAccessor()->construct((const Ark_String*) (&url)); } KOALA_INTEROP_1(UrlStyle_construct, Ark_NativePointer, KStringPtr) Ark_NativePointer impl_UrlStyle_getFinalizer() { - return GetAccessors()->getUrlStyleAccessor()->getFinalizer(); + return GetAccessors()->getUrlStyleAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(UrlStyle_getFinalizer, Ark_NativePointer) +void impl_UrlStyle_callHolder(Ark_NativePointer thisPtr) { + Ark_UrlStyle self = reinterpret_cast(thisPtr); + GetAccessors()->getUrlStyleAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(UrlStyle_callHolder, Ark_NativePointer) Ark_String impl_UrlStyle_getUrl(Ark_NativePointer thisPtr) { - Ark_UrlStyle self = reinterpret_cast(thisPtr); - return GetAccessors()->getUrlStyleAccessor()->getUrl(self); + Ark_UrlStyle self = reinterpret_cast(thisPtr); + return GetAccessors()->getUrlStyleAccessor()->getUrl(self); } KOALA_INTEROP_1(UrlStyle_getUrl, KStringPtr, Ark_NativePointer) Ark_NativePointer impl_VideoController_construct() { - return GetAccessors()->getVideoControllerAccessor()->construct(); + return GetAccessors()->getVideoControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(VideoController_construct, Ark_NativePointer) Ark_NativePointer impl_VideoController_getFinalizer() { - return GetAccessors()->getVideoControllerAccessor()->getFinalizer(); + return GetAccessors()->getVideoControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(VideoController_getFinalizer, Ark_NativePointer) +void impl_VideoController_callHolder(Ark_NativePointer thisPtr) { + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(VideoController_callHolder, Ark_NativePointer) void impl_VideoController_start(Ark_NativePointer thisPtr) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->start(self); + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->start(self); } KOALA_INTEROP_DIRECT_V1(VideoController_start, Ark_NativePointer) void impl_VideoController_pause(Ark_NativePointer thisPtr) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->pause(self); + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->pause(self); } KOALA_INTEROP_DIRECT_V1(VideoController_pause, Ark_NativePointer) void impl_VideoController_stop(Ark_NativePointer thisPtr) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->stop(self); + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->stop(self); } KOALA_INTEROP_DIRECT_V1(VideoController_stop, Ark_NativePointer) void impl_VideoController_requestFullscreen(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->requestFullscreen(self, value); + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->requestFullscreen(self, value); } KOALA_INTEROP_V2(VideoController_requestFullscreen, Ark_NativePointer, Ark_Boolean) void impl_VideoController_exitFullscreen(Ark_NativePointer thisPtr) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->exitFullscreen(self); + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->exitFullscreen(self); } KOALA_INTEROP_DIRECT_V1(VideoController_exitFullscreen, Ark_NativePointer) void impl_VideoController_setCurrentTime(Ark_NativePointer thisPtr, KDouble value, KSerializerBuffer thisArray, KInt thisLength) { - Ark_VideoController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto seekModeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_SeekMode seekModeValueTempTmpBuf = {}; - seekModeValueTempTmpBuf.tag = seekModeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((seekModeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - seekModeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); - } - Opt_SeekMode seekModeValueTemp = seekModeValueTempTmpBuf;; - GetAccessors()->getVideoControllerAccessor()->setCurrentTime(self, value, static_cast(&seekModeValueTemp)); + Ark_VideoController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto seekModeValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_SeekMode seekModeValueTempTmpBuf = {}; + seekModeValueTempTmpBuf.tag = seekModeValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((seekModeValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + seekModeValueTempTmpBuf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SeekMode seekModeValueTemp = seekModeValueTempTmpBuf;; + GetAccessors()->getVideoControllerAccessor()->setCurrentTime(self, value, static_cast(&seekModeValueTemp)); } KOALA_INTEROP_V4(VideoController_setCurrentTime, Ark_NativePointer, KDouble, KSerializerBuffer, KInt) void impl_VideoController_reset(Ark_NativePointer thisPtr) { - Ark_VideoController self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->reset(self); + Ark_VideoController self = reinterpret_cast(thisPtr); + GetAccessors()->getVideoControllerAccessor()->reset(self); } KOALA_INTEROP_DIRECT_V1(VideoController_reset, Ark_NativePointer) Ark_NativePointer impl_WaterFlowSections_construct() { - return GetAccessors()->getWaterFlowSectionsAccessor()->construct(); + return GetAccessors()->getWaterFlowSectionsAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(WaterFlowSections_construct, Ark_NativePointer) Ark_NativePointer impl_WaterFlowSections_getFinalizer() { - return GetAccessors()->getWaterFlowSectionsAccessor()->getFinalizer(); + return GetAccessors()->getWaterFlowSectionsAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(WaterFlowSections_getFinalizer, Ark_NativePointer) +void impl_WaterFlowSections_callHolder(Ark_NativePointer thisPtr) { + Ark_WaterFlowSections self = reinterpret_cast(thisPtr); + GetAccessors()->getWaterFlowSectionsAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(WaterFlowSections_callHolder, Ark_NativePointer) Ark_Boolean impl_WaterFlowSections_splice(Ark_NativePointer thisPtr, Ark_Int32 start, KSerializerBuffer thisArray, KInt thisLength) { - Ark_WaterFlowSections self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - const auto deleteCountValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Int32 deleteCountValueTempTmpBuf = {}; - deleteCountValueTempTmpBuf.tag = deleteCountValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((deleteCountValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - deleteCountValueTempTmpBuf.value = thisDeserializer.readInt32(); - } - Opt_Int32 deleteCountValueTemp = deleteCountValueTempTmpBuf;; - const auto sectionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_SectionOptions sectionsValueTempTmpBuf = {}; - sectionsValueTempTmpBuf.tag = sectionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((sectionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - const Ark_Int32 sectionsValueTempTmpBufOptLength = thisDeserializer.readInt32(); - Array_SectionOptions sectionsValueTempTmpBufOpt = {}; - thisDeserializer.resizeArray::type, + Ark_WaterFlowSections self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + const auto deleteCountValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Int32 deleteCountValueTempTmpBuf = {}; + deleteCountValueTempTmpBuf.tag = deleteCountValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((deleteCountValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + deleteCountValueTempTmpBuf.value = thisDeserializer.readInt32(); + } + Opt_Int32 deleteCountValueTemp = deleteCountValueTempTmpBuf;; + const auto sectionsValueTempTmpBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_SectionOptions sectionsValueTempTmpBuf = {}; + sectionsValueTempTmpBuf.tag = sectionsValueTempTmpBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((sectionsValueTempTmpBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + const Ark_Int32 sectionsValueTempTmpBufOptLength = thisDeserializer.readInt32(); + Array_SectionOptions sectionsValueTempTmpBufOpt = {}; + thisDeserializer.resizeArray::type, std::decay::type>(§ionsValueTempTmpBufOpt, sectionsValueTempTmpBufOptLength); - for (int sectionsValueTempTmpBufOptBufCounterI = 0; sectionsValueTempTmpBufOptBufCounterI < sectionsValueTempTmpBufOptLength; sectionsValueTempTmpBufOptBufCounterI++) { - sectionsValueTempTmpBufOpt.array[sectionsValueTempTmpBufOptBufCounterI] = ArkuiComponentWaterFlowSectionOptionsSerializerImpl::read(thisDeserializer); - } - sectionsValueTempTmpBuf.value = sectionsValueTempTmpBufOpt; + for (int sectionsValueTempTmpBufOptBufCounterI = 0; sectionsValueTempTmpBufOptBufCounterI < sectionsValueTempTmpBufOptLength; sectionsValueTempTmpBufOptBufCounterI++) { + sectionsValueTempTmpBufOpt.array[sectionsValueTempTmpBufOptBufCounterI] = ArkuiComponentWaterFlowSectionOptionsSerializerImpl::read(thisDeserializer); } - Opt_Array_SectionOptions sectionsValueTemp = sectionsValueTempTmpBuf;; - return GetAccessors()->getWaterFlowSectionsAccessor()->splice(self, start, static_cast(&deleteCountValueTemp), static_cast(§ionsValueTemp)); + sectionsValueTempTmpBuf.value = sectionsValueTempTmpBufOpt; + } + Opt_Array_SectionOptions sectionsValueTemp = sectionsValueTempTmpBuf;; + return GetAccessors()->getWaterFlowSectionsAccessor()->splice(self, start, static_cast(&deleteCountValueTemp), static_cast(§ionsValueTemp)); } KOALA_INTEROP_DIRECT_4(WaterFlowSections_splice, Ark_Boolean, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) Ark_Boolean impl_WaterFlowSections_push(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_WaterFlowSections self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SectionOptions sectionValueTemp = ArkuiComponentWaterFlowSectionOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getWaterFlowSectionsAccessor()->push(self, static_cast(§ionValueTemp)); + Ark_WaterFlowSections self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SectionOptions sectionValueTemp = ArkuiComponentWaterFlowSectionOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getWaterFlowSectionsAccessor()->push(self, static_cast(§ionValueTemp)); } KOALA_INTEROP_DIRECT_3(WaterFlowSections_push, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, KInt) Ark_Boolean impl_WaterFlowSections_update(Ark_NativePointer thisPtr, Ark_Int32 sectionIndex, KSerializerBuffer thisArray, KInt thisLength) { - Ark_WaterFlowSections self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SectionOptions sectionValueTemp = ArkuiComponentWaterFlowSectionOptionsSerializerImpl::read(thisDeserializer);; - return GetAccessors()->getWaterFlowSectionsAccessor()->update(self, sectionIndex, static_cast(§ionValueTemp)); + Ark_WaterFlowSections self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SectionOptions sectionValueTemp = ArkuiComponentWaterFlowSectionOptionsSerializerImpl::read(thisDeserializer);; + return GetAccessors()->getWaterFlowSectionsAccessor()->update(self, sectionIndex, static_cast(§ionValueTemp)); } KOALA_INTEROP_DIRECT_4(WaterFlowSections_update, Ark_Boolean, Ark_NativePointer, Ark_Int32, KSerializerBuffer, KInt) KInteropReturnBuffer impl_WaterFlowSections_values(Ark_NativePointer thisPtr) { - Ark_WaterFlowSections self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getWaterFlowSectionsAccessor()->values(self); - SerializerBase _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { - const Ark_SectionOptions retValueTmpElement = retValue.array[retValueCounterI]; - ArkuiComponentWaterFlowSectionOptionsSerializerImpl::write(_retSerializer, retValueTmpElement); - } - return _retSerializer.toReturnBuffer(); + Ark_WaterFlowSections self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getWaterFlowSectionsAccessor()->values(self); + SerializerBase _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int retValueCounterI = 0; retValueCounterI < retValue.length; retValueCounterI++) { + const Ark_SectionOptions retValueTmpElement = retValue.array[retValueCounterI]; + ArkuiComponentWaterFlowSectionOptionsSerializerImpl::write(_retSerializer, retValueTmpElement); + } + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(WaterFlowSections_values, KInteropReturnBuffer, Ark_NativePointer) Ark_Int32 impl_WaterFlowSections_length(Ark_NativePointer thisPtr) { - Ark_WaterFlowSections self = reinterpret_cast(thisPtr); - return GetAccessors()->getWaterFlowSectionsAccessor()->length(self); + Ark_WaterFlowSections self = reinterpret_cast(thisPtr); + return GetAccessors()->getWaterFlowSectionsAccessor()->length(self); } KOALA_INTEROP_DIRECT_1(WaterFlowSections_length, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_WebCookie_construct() { - return GetAccessors()->getWebCookieAccessor()->construct(); + return GetAccessors()->getWebCookieAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(WebCookie_construct, Ark_NativePointer) Ark_NativePointer impl_WebCookie_getFinalizer() { - return GetAccessors()->getWebCookieAccessor()->getFinalizer(); + return GetAccessors()->getWebCookieAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(WebCookie_getFinalizer, Ark_NativePointer) +void impl_WebCookie_callHolder(Ark_NativePointer thisPtr) { + Ark_WebCookie self = reinterpret_cast(thisPtr); + GetAccessors()->getWebCookieAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(WebCookie_callHolder, Ark_NativePointer) void impl_WebCookie_setCookie(Ark_NativePointer thisPtr) { - Ark_WebCookie self = reinterpret_cast(thisPtr); - GetAccessors()->getWebCookieAccessor()->setCookie(self); + Ark_WebCookie self = reinterpret_cast(thisPtr); + GetAccessors()->getWebCookieAccessor()->setCookie(self); } KOALA_INTEROP_DIRECT_V1(WebCookie_setCookie, Ark_NativePointer) void impl_WebCookie_saveCookie(Ark_NativePointer thisPtr) { - Ark_WebCookie self = reinterpret_cast(thisPtr); - GetAccessors()->getWebCookieAccessor()->saveCookie(self); + Ark_WebCookie self = reinterpret_cast(thisPtr); + GetAccessors()->getWebCookieAccessor()->saveCookie(self); } KOALA_INTEROP_DIRECT_V1(WebCookie_saveCookie, Ark_NativePointer) Ark_NativePointer impl_XComponentController_construct() { - return GetAccessors()->getXComponentControllerAccessor()->construct(); + return GetAccessors()->getXComponentControllerAccessor()->construct(); } KOALA_INTEROP_DIRECT_0(XComponentController_construct, Ark_NativePointer) Ark_NativePointer impl_XComponentController_getFinalizer() { - return GetAccessors()->getXComponentControllerAccessor()->getFinalizer(); + return GetAccessors()->getXComponentControllerAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(XComponentController_getFinalizer, Ark_NativePointer) +void impl_XComponentController_callHolder(Ark_NativePointer thisPtr) { + Ark_XComponentController self = reinterpret_cast(thisPtr); + GetAccessors()->getXComponentControllerAccessor()->callHolder(self); +} +KOALA_INTEROP_DIRECT_V1(XComponentController_callHolder, Ark_NativePointer) Ark_String impl_XComponentController_getXComponentSurfaceId(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - return GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceId(self); + Ark_XComponentController self = reinterpret_cast(thisPtr); + return GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceId(self); } KOALA_INTEROP_1(XComponentController_getXComponentSurfaceId, KStringPtr, Ark_NativePointer) void impl_XComponentController_setXComponentSurfaceRect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SurfaceRect rectValueTemp = ArkuiComponentXcomponentSurfaceRectSerializerImpl::read(thisDeserializer);; - GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceRect(self, static_cast(&rectValueTemp)); + Ark_XComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SurfaceRect rectValueTemp = ArkuiComponentXcomponentSurfaceRectSerializerImpl::read(thisDeserializer);; + GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceRect(self, static_cast(&rectValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceRect, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_XComponentController_getXComponentSurfaceRect(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceRect(self); - SerializerBase _retSerializer {}; - ArkuiComponentXcomponentSurfaceRectSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_XComponentController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceRect(self); + SerializerBase _retSerializer {}; + ArkuiComponentXcomponentSurfaceRectSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRect, KInteropReturnBuffer, Ark_NativePointer) void impl_XComponentController_setXComponentSurfaceRotation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_SurfaceRotationOptions rotationOptionsValueTemp = ArkuiComponentXcomponentSurfaceRotationOptionsSerializerImpl::read(thisDeserializer);; - GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceRotation(self, static_cast(&rotationOptionsValueTemp)); + Ark_XComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_SurfaceRotationOptions rotationOptionsValueTemp = ArkuiComponentXcomponentSurfaceRotationOptionsSerializerImpl::read(thisDeserializer);; + GetAccessors()->getXComponentControllerAccessor()->setXComponentSurfaceRotation(self, static_cast(&rotationOptionsValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentController_setXComponentSurfaceRotation, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_XComponentController_getXComponentSurfaceRotation(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceRotation(self); - SerializerBase _retSerializer {}; - ArkuiComponentXcomponentSurfaceRotationOptionsSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + Ark_XComponentController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getXComponentSurfaceRotation(self); + SerializerBase _retSerializer {}; + ArkuiComponentXcomponentSurfaceRotationOptionsSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRotation, KInteropReturnBuffer, Ark_NativePointer) void impl_XComponentController_startImageAnalyzer(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_ImageAnalyzerConfig configValueTemp = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer);; - Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; - GetAccessors()->getXComponentControllerAccessor()->startImageAnalyzer(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&configValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); + Ark_XComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_ImageAnalyzerConfig configValueTemp = ArkuiComponentImageCommonImageAnalyzerConfigSerializerImpl::read(thisDeserializer);; + Callback_Opt_Array_String_Void outputArgumentForReturningPromiseValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_OPT_ARRAY_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_OPT_ARRAY_STRING_VOID))))};; + GetAccessors()->getXComponentControllerAccessor()->startImageAnalyzer(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(&configValueTemp), static_cast(&outputArgumentForReturningPromiseValueTemp)); } KOALA_INTEROP_CTX_V3(XComponentController_startImageAnalyzer, Ark_NativePointer, KSerializerBuffer, KInt) void impl_XComponentController_stopImageAnalyzer(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - GetAccessors()->getXComponentControllerAccessor()->stopImageAnalyzer(self); + Ark_XComponentController self = reinterpret_cast(thisPtr); + GetAccessors()->getXComponentControllerAccessor()->stopImageAnalyzer(self); } KOALA_INTEROP_DIRECT_V1(XComponentController_stopImageAnalyzer, Ark_NativePointer) KInteropReturnBuffer impl_XComponentController_getOnSurfaceCreated(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getOnSurfaceCreated(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_XComponentController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getOnSurfaceCreated(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(XComponentController_getOnSurfaceCreated, KInteropReturnBuffer, Ark_NativePointer) void impl_XComponentController_setOnSurfaceCreated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - synthetic_Callback_String_Void onSurfaceCreatedValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))};; - GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceCreated(self, static_cast(&onSurfaceCreatedValueTemp)); + Ark_XComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + synthetic_Callback_String_Void onSurfaceCreatedValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))};; + GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceCreated(self, static_cast(&onSurfaceCreatedValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceCreated, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_XComponentController_getOnSurfaceChanged(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getOnSurfaceChanged(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_XComponentController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getOnSurfaceChanged(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(XComponentController_getOnSurfaceChanged, KInteropReturnBuffer, Ark_NativePointer) void impl_XComponentController_setOnSurfaceChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_String_SurfaceRect_Void onSurfaceChangedValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_SURFACERECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_SURFACERECT_VOID))))};; - GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceChanged(self, static_cast(&onSurfaceChangedValueTemp)); + Ark_XComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_String_SurfaceRect_Void onSurfaceChangedValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING_SURFACERECT_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING_SURFACERECT_VOID))))};; + GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceChanged(self, static_cast(&onSurfaceChangedValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceChanged, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_XComponentController_getOnSurfaceDestroyed(Ark_NativePointer thisPtr) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getOnSurfaceDestroyed(self); - SerializerBase _retSerializer {}; - _retSerializer.writeCallbackResource(retValue.resource); - _retSerializer.writePointer(reinterpret_cast(retValue.call)); - _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); - return _retSerializer.toReturnBuffer(); + Ark_XComponentController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getXComponentControllerAccessor()->getOnSurfaceDestroyed(self); + SerializerBase _retSerializer {}; + _retSerializer.writeCallbackResource(retValue.resource); + _retSerializer.writePointer(reinterpret_cast(retValue.call)); + _retSerializer.writePointer(reinterpret_cast(retValue.callSync)); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(XComponentController_getOnSurfaceDestroyed, KInteropReturnBuffer, Ark_NativePointer) void impl_XComponentController_setOnSurfaceDestroyed(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, KInt thisLength) { - Ark_XComponentController self = reinterpret_cast(thisPtr); - DeserializerBase thisDeserializer(thisArray, thisLength); - synthetic_Callback_String_Void onSurfaceDestroyedValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))};; - GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceDestroyed(self, static_cast(&onSurfaceDestroyedValueTemp)); + Ark_XComponentController self = reinterpret_cast(thisPtr); + DeserializerBase thisDeserializer(thisArray, thisLength); + synthetic_Callback_String_Void onSurfaceDestroyedValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_STRING_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_STRING_VOID))))};; + GetAccessors()->getXComponentControllerAccessor()->setOnSurfaceDestroyed(self, static_cast(&onSurfaceDestroyedValueTemp)); } KOALA_INTEROP_DIRECT_V3(XComponentController_setOnSurfaceDestroyed, Ark_NativePointer, KSerializerBuffer, KInt) KInteropReturnBuffer impl_GlobalScope_$r(const KStringPtr& value, KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - const Ark_Int32 paramsValueTempTmpBufLength = thisDeserializer.readInt32(); - Array_Opt_Object paramsValueTempTmpBuf = {}; - thisDeserializer.resizeArray::type, + DeserializerBase thisDeserializer(thisArray, thisLength); + const Ark_Int32 paramsValueTempTmpBufLength = thisDeserializer.readInt32(); + Array_Opt_Object paramsValueTempTmpBuf = {}; + thisDeserializer.resizeArray::type, std::decay::type>(¶msValueTempTmpBuf, paramsValueTempTmpBufLength); - for (int paramsValueTempTmpBufBufCounterI = 0; paramsValueTempTmpBufBufCounterI < paramsValueTempTmpBufLength; paramsValueTempTmpBufBufCounterI++) { - const auto paramsValueTempTmpBufTempBufRuntimeType = static_cast(thisDeserializer.readInt8()); - Opt_Object paramsValueTempTmpBufTempBuf = {}; - paramsValueTempTmpBufTempBuf.tag = paramsValueTempTmpBufTempBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((paramsValueTempTmpBufTempBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { - paramsValueTempTmpBufTempBuf.value = static_cast(thisDeserializer.readObject()); - } - paramsValueTempTmpBuf.array[paramsValueTempTmpBufBufCounterI] = paramsValueTempTmpBufTempBuf; - } - Array_Opt_Object paramsValueTemp = paramsValueTempTmpBuf;; - const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->$r((const Ark_String*) (&value), static_cast(¶msValueTemp)); - SerializerBase _retSerializer {}; - GlobalResourceResourceSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + for (int paramsValueTempTmpBufBufCounterI = 0; paramsValueTempTmpBufBufCounterI < paramsValueTempTmpBufLength; paramsValueTempTmpBufBufCounterI++) { + const auto paramsValueTempTmpBufTempBufRuntimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object paramsValueTempTmpBufTempBuf = {}; + paramsValueTempTmpBufTempBuf.tag = paramsValueTempTmpBufTempBufRuntimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((paramsValueTempTmpBufTempBufRuntimeType) != (INTEROP_RUNTIME_UNDEFINED)) { + paramsValueTempTmpBufTempBuf.value = static_cast(thisDeserializer.readObject()); + } + paramsValueTempTmpBuf.array[paramsValueTempTmpBufBufCounterI] = paramsValueTempTmpBufTempBuf; + } + Array_Opt_Object paramsValueTemp = paramsValueTempTmpBuf;; + const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->$r((const Ark_String*) (&value), static_cast(¶msValueTemp)); + SerializerBase _retSerializer {}; + GlobalResourceResourceSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_3(GlobalScope_$r, KInteropReturnBuffer, KStringPtr, KSerializerBuffer, KInt) KInteropReturnBuffer impl_GlobalScope_$rawfile(const KStringPtr& value) { - const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->$rawfile((const Ark_String*) (&value)); - SerializerBase _retSerializer {}; - GlobalResourceResourceSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->$rawfile((const Ark_String*) (&value)); + SerializerBase _retSerializer {}; + GlobalResourceResourceSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(GlobalScope_$rawfile, KInteropReturnBuffer, KStringPtr) void impl_GlobalScope_animateTo(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AnimateParam valueValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; - synthetic_Callback_Void eventValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; - GetAccessors()->getGlobalScopeAccessor()->animateTo(static_cast(&valueValueTemp), static_cast(&eventValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AnimateParam valueValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; + synthetic_Callback_Void eventValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; + GetAccessors()->getGlobalScopeAccessor()->animateTo(static_cast(&valueValueTemp), static_cast(&eventValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScope_animateTo, KSerializerBuffer, KInt) void impl_GlobalScope_animateToImmediately(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_AnimateParam valueValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; - synthetic_Callback_Void eventValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; - GetAccessors()->getGlobalScopeAccessor()->animateToImmediately(static_cast(&valueValueTemp), static_cast(&eventValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_AnimateParam valueValueTemp = ArkuiComponentCommonAnimateParamSerializerImpl::read(thisDeserializer);; + synthetic_Callback_Void eventValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_SYNTHETIC_CALLBACK_VOID)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_SYNTHETIC_CALLBACK_VOID))))};; + GetAccessors()->getGlobalScopeAccessor()->animateToImmediately(static_cast(&valueValueTemp), static_cast(&eventValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScope_animateToImmediately, KSerializerBuffer, KInt) void impl_GlobalScope_cursorControl_restoreDefault() { - GetAccessors()->getGlobalScopeAccessor()->cursorControl_restoreDefault(); + GetAccessors()->getGlobalScopeAccessor()->cursorControl_restoreDefault(); } KOALA_INTEROP_DIRECT_V0(GlobalScope_cursorControl_restoreDefault) void impl_GlobalScope_cursorControl_setCursor(Ark_Int32 value) { - GetAccessors()->getGlobalScopeAccessor()->cursorControl_setCursor(static_cast(value)); + GetAccessors()->getGlobalScopeAccessor()->cursorControl_setCursor(static_cast(value)); } KOALA_INTEROP_DIRECT_V1(GlobalScope_cursorControl_setCursor, Ark_Int32) Ark_Boolean impl_GlobalScope_focusControl_requestFocus(const KStringPtr& value) { - return GetAccessors()->getGlobalScopeAccessor()->focusControl_requestFocus((const Ark_String*) (&value)); + return GetAccessors()->getGlobalScopeAccessor()->focusControl_requestFocus((const Ark_String*) (&value)); } KOALA_INTEROP_1(GlobalScope_focusControl_requestFocus, Ark_Boolean, KStringPtr) KInteropReturnBuffer impl_GlobalScope_getRectangleById(const KStringPtr& id) { - const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->getRectangleById((const Ark_String*) (&id)); - SerializerBase _retSerializer {}; - ArkuiComponentIdlizeComponentInfoSerializerImpl::write(_retSerializer, retValue); - return _retSerializer.toReturnBuffer(); + const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->getRectangleById((const Ark_String*) (&id)); + SerializerBase _retSerializer {}; + ArkuiComponentIdlizeComponentInfoSerializerImpl::write(_retSerializer, retValue); + return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(GlobalScope_getRectangleById, KInteropReturnBuffer, KStringPtr) void impl_GlobalScope_postCardAction(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Ark_Object componentValueTemp = static_cast(thisDeserializer.readObject());; - Ark_Object actionValueTemp = static_cast(thisDeserializer.readObject());; - GetAccessors()->getGlobalScopeAccessor()->postCardAction(static_cast(&componentValueTemp), static_cast(&actionValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Ark_Object componentValueTemp = static_cast(thisDeserializer.readObject());; + Ark_Object actionValueTemp = static_cast(thisDeserializer.readObject());; + GetAccessors()->getGlobalScopeAccessor()->postCardAction(static_cast(&componentValueTemp), static_cast(&actionValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScope_postCardAction, KSerializerBuffer, KInt) void impl_GlobalScope_Profiler_registerVsyncCallback(KSerializerBuffer thisArray, KInt thisLength) { - DeserializerBase thisDeserializer(thisArray, thisLength); - Callback_String callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING))))};; - GetAccessors()->getGlobalScopeAccessor()->Profiler_registerVsyncCallback(static_cast(&callback_ValueTemp)); + DeserializerBase thisDeserializer(thisArray, thisLength); + Callback_String callback_ValueTemp = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(KIND_CALLBACK_STRING)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(KIND_CALLBACK_STRING))))};; + GetAccessors()->getGlobalScopeAccessor()->Profiler_registerVsyncCallback(static_cast(&callback_ValueTemp)); } KOALA_INTEROP_DIRECT_V2(GlobalScope_Profiler_registerVsyncCallback, KSerializerBuffer, KInt) void impl_GlobalScope_Profiler_unregisterVsyncCallback() { - GetAccessors()->getGlobalScopeAccessor()->Profiler_unregisterVsyncCallback(); + GetAccessors()->getGlobalScopeAccessor()->Profiler_unregisterVsyncCallback(); } KOALA_INTEROP_DIRECT_V0(GlobalScope_Profiler_unregisterVsyncCallback) void impl_GlobalScope_setAppBgColor(const KStringPtr& value) { - GetAccessors()->getGlobalScopeAccessor()->setAppBgColor((const Ark_String*) (&value)); + GetAccessors()->getGlobalScopeAccessor()->setAppBgColor((const Ark_String*) (&value)); } KOALA_INTEROP_V1(GlobalScope_setAppBgColor, KStringPtr) \ No newline at end of file diff --git a/arkoala-arkts/framework/native/src/generated/dummy_impl.cpp b/arkoala-arkts/framework/native/src/generated/dummy_impl.cpp index 6fdd243638e9d7a70c9b444ce3f191249d06f03d..d722f3410394293018b6df3fd0ba34539c58ddc8 100644 --- a/arkoala-arkts/framework/native/src/generated/dummy_impl.cpp +++ b/arkoala-arkts/framework/native/src/generated/dummy_impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -20,6 +20,8 @@ #include #include #include +#include +#include #include "Serializers.h" #include "interop-logging.h" @@ -817,6 +819,34 @@ void ShowCrash(Ark_CharPtr message) {} } } +class RefCounter { +public: + RefCounter() {} + void hold(const void* const ptr) { + ++counters_[ptr]; + } + size_t release(const void* const ptr) { + auto it = counters_.find(ptr); + if (it == counters_.end()) { + return 0; + } + std::size_t& cnt = it->second; + if (cnt < 2) { + counters_.erase(it); + return 0; + } + --cnt; + return cnt; + } +private: + std::unordered_map counters_; +}; + +RefCounter& GetRefCounter() { + static RefCounter counter; + return counter; +} + void RegisterOnClick(Ark_NativePointer node, const Callback_ClickEvent_Void* event) { auto frameNode = AsNode(node); @@ -21517,6 +21547,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_AccessibilityHoverEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_AccessibilityHoverType GetTypeImpl(Ark_AccessibilityHoverEvent peer) { if (!needGroupedLog(1)) { @@ -21866,6 +21906,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_AppearSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EffectScope GetScopeImpl(Ark_AppearSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -21923,6 +21973,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void PropagationImpl(Ark_AxisEvent peer) { if (!needGroupedLog(1)) { @@ -22185,6 +22245,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BackgroundColorStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_TextBackgroundStyle GetTextBackgroundStyleImpl(Ark_BackgroundColorStyle peer) { if (!needGroupedLog(1)) { @@ -22230,6 +22300,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BaseEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) { @@ -22586,6 +22666,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BaseGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Array_FingerInfo GetFingerListImpl(Ark_BaseGestureEvent peer) { if (!needGroupedLog(1)) { @@ -22667,6 +22757,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BaselineOffsetStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetBaselineOffsetImpl(Ark_BaselineOffsetStyle peer) { if (!needGroupedLog(1)) { @@ -22712,6 +22812,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_arkui_component_idlize_BaseShape peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_arkui_component_idlize_BaseShape WidthImpl(Ark_arkui_component_idlize_BaseShape peer, const Ark_Length* width) { @@ -22789,6 +22899,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BottomTabBarStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_BottomTabBarStyle OfImpl(const Ark_Union_ResourceStr_TabBarSymbol* icon, const Ark_ResourceStr* text) { @@ -22933,6 +23053,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BounceSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EffectScope GetScopeImpl(Ark_BounceSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -23013,6 +23143,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_BuilderNodeOps peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void CreateImpl(Ark_BuilderNodeOps peer, const Custom_Callback_Void* buildFunc) { @@ -23119,6 +23259,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CalendarPickerDialog peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ShowImpl(const Opt_CalendarDialogOptions* options) { if (!needGroupedLog(1)) { @@ -23164,6 +23314,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CanvasGradient peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_void AddColorStopImpl(Ark_CanvasGradient peer, Ark_Float64 offset, const Ark_Union_String_ColorMetrics* color) @@ -23214,6 +23374,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CanvasPath peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ArcImpl(Ark_CanvasPath peer, Ark_Float64 x, Ark_Float64 y, @@ -23441,6 +23611,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CanvasPattern peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetTransformImpl(Ark_CanvasPattern peer, const Opt_Matrix2D* transform) { @@ -23487,6 +23667,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CanvasRenderer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void DrawImage0Impl(Ark_CanvasRenderer peer, const Ark_Union_ImageBitmap_image_PixelMap* image, Ark_Float64 dx, @@ -24613,6 +24803,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CanvasRenderingContext2D peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String ToDataURLImpl(Ark_CanvasRenderingContext2D peer, const Opt_String* type, const Opt_Float64* quality) @@ -24778,6 +24978,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ChildrenMainSize peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_void SpliceImpl(Ark_ChildrenMainSize peer, Ark_Int32 start, const Opt_Int32* deleteCount, @@ -24870,6 +25080,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ClickEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_void PreventDefaultImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) { @@ -25076,6 +25296,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ColorContent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_ColorContent GetORIGINImpl() { if (!needGroupedLog(1)) { @@ -25122,6 +25352,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ColorFilter peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } } // ColorFilterAccessor namespace CommonShapeAccessor { void DestroyPeerImpl(Ark_CommonShape peer) @@ -25156,6 +25396,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CommonShape peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_CommonShape OffsetImpl(Ark_CommonShape peer, const Ark_Position* offset) { @@ -25595,6 +25845,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CopyEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void PreventDefaultImpl(Ark_CopyEvent peer) { if (!needGroupedLog(1)) { @@ -25639,6 +25899,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CrownEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StopPropagationImpl(Ark_CrownEvent peer) { if (!needGroupedLog(1)) { @@ -25776,6 +26046,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CustomDialogController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void OpenImpl(Ark_CustomDialogController peer) { if (!needGroupedLog(1)) { @@ -25842,6 +26122,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CustomDialogControllerExtender peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void OpenImpl(Ark_CustomDialogControllerExtender peer) { if (!needGroupedLog(1)) { @@ -25919,6 +26209,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CustomSpan peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void InvalidateImpl(Ark_CustomSpan peer) { if (!needGroupedLog(1)) { @@ -26009,6 +26309,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_CutEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void PreventDefaultImpl(Ark_CutEvent peer) { if (!needGroupedLog(1)) { @@ -26054,6 +26364,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DecorationStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_TextDecorationType GetTypeImpl(Ark_DecorationStyle peer) { if (!needGroupedLog(1)) { @@ -26156,6 +26476,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DigitIndicator peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void FontColorImpl(Ark_DigitIndicator peer, const Opt_ResourceColor* value) { @@ -26239,6 +26569,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DisappearSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EffectScope GetScopeImpl(Ark_DisappearSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -26296,6 +26636,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DismissDialogAction peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void DismissImpl(Ark_DismissDialogAction peer) { if (!needGroupedLog(1)) { @@ -26363,6 +26713,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DismissPopupAction peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void DismissImpl(Ark_DismissPopupAction peer) { if (!needGroupedLog(1)) { @@ -26430,6 +26790,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DotIndicator peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ItemWidthImpl(Ark_DotIndicator peer, const Opt_Length* value) { @@ -26572,6 +26942,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DragEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetDisplayXImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) { @@ -26835,6 +27215,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DrawingRenderingContext peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void InvalidateImpl(Ark_DrawingRenderingContext peer) { if (!needGroupedLog(1)) { @@ -26901,6 +27291,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_DrawModifier peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Callback_DrawContext_Void GetDrawBehind_callbackImpl(Ark_DrawModifier peer) { if (!needGroupedLog(1)) { @@ -26986,6 +27386,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_EventTargetInfo peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String GetIdImpl(Ark_EventTargetInfo peer) { if (!needGroupedLog(1)) { @@ -27031,6 +27441,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_FocusAxisEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StopPropagationImpl(Ark_FocusAxisEvent peer) { if (!needGroupedLog(1)) { @@ -27846,6 +28266,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_GestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Boolean GetRepeatImpl(Ark_GestureEvent peer) { if (!needGroupedLog(1)) { @@ -28523,6 +28953,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_GestureRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String GetTagImpl(Ark_GestureRecognizer peer) { if (!needGroupedLog(1)) { @@ -28679,6 +29119,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_GestureStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } } // GestureStyleAccessor namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { void GetImpl(const Ark_String* id, @@ -28890,6 +29340,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_HierarchicalSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EffectFillStyle GetFillStyleImpl(Ark_HierarchicalSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -28947,6 +29407,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_HoverEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StopPropagationImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) { @@ -29129,6 +29599,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ImageAnalyzerController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Array_ImageAnalyzerType GetImageAnalyzerSupportTypesImpl(Ark_ImageAnalyzerController peer) { if (!needGroupedLog(1)) { @@ -29175,6 +29655,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ImageAttachment peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_image_PixelMap GetValueImpl(Ark_ImageAttachment peer) { if (!needGroupedLog(1)) { @@ -29279,6 +29769,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ImageBitmap peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void CloseImpl(Ark_ImageBitmap peer) { if (!needGroupedLog(1)) { @@ -29345,6 +29845,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_Indicator peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void LeftImpl(Ark_Indicator peer, const Opt_Length* value) { @@ -29488,6 +29998,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_IndicatorComponentController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ShowNextImpl(Ark_IndicatorComponentController peer) { if (!needGroupedLog(1)) { @@ -29587,6 +30107,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_KeyEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_KeyType GetTypeImpl(Ark_KeyEvent peer) { if (!needGroupedLog(1)) { @@ -29874,6 +30404,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void LayoutImpl(Ark_Layoutable peer, const Ark_Position* position) { @@ -29999,6 +30539,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LayoutChild peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void MeasureImpl(Ark_LayoutChild peer, const Ark_ConstraintSizeOptions* childConstraint) { @@ -30114,6 +30664,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LayoutManager peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_Int32 GetLineCountImpl(Ark_LayoutManager peer) { if (!needGroupedLog(1)) { @@ -30207,6 +30767,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LayoutPolicy peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_LayoutPolicy GetMatchParentImpl() { if (!needGroupedLog(1)) { @@ -30355,6 +30925,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LetterSpacingStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetLetterSpacingImpl(Ark_LetterSpacingStyle peer) { if (!needGroupedLog(1)) { @@ -30401,6 +30981,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LinearGradient peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } } // LinearGradientAccessor namespace LineHeightStyleAccessor { void DestroyPeerImpl(Ark_LineHeightStyle peer) @@ -30436,6 +31026,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LineHeightStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetLineHeightImpl(Ark_LineHeightStyle peer) { if (!needGroupedLog(1)) { @@ -30481,6 +31081,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ListScroller peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_RectResult GetItemRectInGroupImpl(Ark_ListScroller peer, Ark_Int32 index, Ark_Int32 indexInGroup) @@ -30582,6 +31192,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LongPressGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Boolean GetRepeatImpl(Ark_LongPressGestureEvent peer) { if (!needGroupedLog(1)) { @@ -30639,6 +31259,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_LongPressRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) { if (!needGroupedLog(1)) { @@ -30696,6 +31326,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_Matrix2D peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Matrix2D IdentityImpl(Ark_Matrix2D peer) { if (!needGroupedLog(1)) { @@ -30941,6 +31581,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_Measurable peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_MeasureResult MeasureImpl(Ark_Measurable peer, const Ark_ConstraintSizeOptions* constraint) { @@ -31044,6 +31694,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_MouseEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_MouseButton GetButtonImpl(Ark_MouseEvent peer) { if (!needGroupedLog(1)) { @@ -31358,6 +32018,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_MutableStyledString peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_void ReplaceStringImpl(Ark_MutableStyledString peer, Ark_Int32 start, Ark_Int32 length, @@ -31561,6 +32231,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_NavDestinationContext peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_RouteMapConfig GetConfigInRouteMapImpl(Ark_NavDestinationContext peer) { if (!needGroupedLog(1)) { @@ -31876,6 +32556,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_NavigationTransitionProxy peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) { @@ -32045,6 +32735,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String GetNameImpl(Ark_NavPathInfo peer) { if (!needGroupedLog(1)) { @@ -32182,6 +32882,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_NavPathStack peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void PushDestination0Impl(Ark_VMContext vmContext, Ark_AsyncWorkerPtr asyncWorker, Ark_NavPathStack peer, @@ -32703,16 +33413,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) + void CallHolderImpl(Ark_OffscreenCanvas peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } + Opt_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return { .tag=INTEROP_TAG_UNDEFINED }; } string out("transferToImageBitmap("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return { .tag=INTEROP_TAG_UNDEFINED }] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return { .tag=INTEROP_TAG_UNDEFINED }; } Ark_OffscreenCanvasRenderingContext2D GetContext2dImpl(Ark_OffscreenCanvas peer, const Opt_RenderingContextSettings* options) @@ -32817,6 +33537,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_OffscreenCanvasRenderingContext2D peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String ToDataURLImpl(Ark_OffscreenCanvasRenderingContext2D peer, const Opt_String* type, const Opt_Float64* quality) @@ -32833,16 +33563,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return { .chars="", .length=0 }; } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) + Opt_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) { if (!needGroupedLog(1)) { - return reinterpret_cast(300); + return { .tag=INTEROP_TAG_UNDEFINED }; } string out("transferToImageBitmap("); out.append(") \n"); - out.append("[return reinterpret_cast(300)] \n"); + out.append("[return { .tag=INTEROP_TAG_UNDEFINED }] \n"); appendGroupedLog(1, out); - return reinterpret_cast(300); + return { .tag=INTEROP_TAG_UNDEFINED }; } } // OffscreenCanvasRenderingContext2DAccessor namespace PanGestureEventAccessor { @@ -32878,6 +33608,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PanGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetOffsetXImpl(Ark_PanGestureEvent peer) { if (!needGroupedLog(1)) { @@ -33028,6 +33768,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PanGestureOptions peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetDirectionImpl(Ark_PanGestureOptions peer, Ark_PanDirection value) { @@ -33120,6 +33870,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PanRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_PanGestureOptions GetPanGestureOptionsImpl(Ark_PanRecognizer peer) { if (!needGroupedLog(1)) { @@ -33166,6 +33926,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ParagraphStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_TextAlign GetTextAlignImpl(Ark_ParagraphStyle peer) { if (!needGroupedLog(1)) { @@ -33336,6 +34106,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PasteEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void PreventDefaultImpl(Ark_PasteEvent peer) { if (!needGroupedLog(1)) { @@ -33446,6 +34226,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_Path2D peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void AddPathImpl(Ark_Path2D peer, Ark_Path2D path, const Opt_Matrix2D* transform) @@ -33495,6 +34285,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PatternLockController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ResetImpl(Ark_PatternLockController peer) { if (!needGroupedLog(1)) { @@ -33612,6 +34412,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PinchGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetScaleImpl(Ark_PinchGestureEvent peer) { if (!needGroupedLog(1)) { @@ -33715,6 +34525,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PinchRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetDistanceImpl(Ark_PinchRecognizer peer) { if (!needGroupedLog(1)) { @@ -33760,6 +34580,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PixelMapMock peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ReleaseImpl(Ark_PixelMapMock peer) { if (!needGroupedLog(1)) { @@ -33811,6 +34641,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ProgressMask peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void UpdateProgressImpl(Ark_ProgressMask peer, Ark_Float64 value) { @@ -34015,6 +34855,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_PulseSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } } // PulseSymbolEffectAccessor namespace RenderingContextSettingsAccessor { void DestroyPeerImpl(Ark_RenderingContextSettings peer) @@ -34050,6 +34900,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RenderingContextSettings peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_Boolean GetAntialiasImpl(Ark_RenderingContextSettings peer) { if (!needGroupedLog(1)) { @@ -34710,6 +35570,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ReplaceSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -34771,6 +35641,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RestrictedWorker peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_void PostMessage0Impl(Ark_RestrictedWorker peer, const Ark_Object* message, const Array_Buffer* transfer) @@ -35089,6 +35969,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RichEditorBaseController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_Int32 GetCaretOffsetImpl(Ark_RichEditorBaseController peer) { if (!needGroupedLog(1)) { @@ -35252,6 +36142,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RichEditorController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_Int32 AddTextSpanImpl(Ark_RichEditorController peer, const Ark_ResourceStr* content, const Opt_RichEditorTextSpanOptions* options) @@ -35449,6 +36349,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RichEditorStyledStringController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetStyledStringImpl(Ark_RichEditorStyledStringController peer, Ark_StyledString styledString) { @@ -35529,6 +36439,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RotationGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetAngleImpl(Ark_RotationGestureEvent peer) { if (!needGroupedLog(1)) { @@ -35586,6 +36506,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_RotationRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetAngleImpl(Ark_RotationRecognizer peer) { if (!needGroupedLog(1)) { @@ -35943,6 +36873,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ScaleSymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EffectScope GetScopeImpl(Ark_ScaleSymbolEffect peer) { if (!needGroupedLog(1)) { @@ -36025,6 +36965,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ScrollableTargetInfo peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Boolean IsBeginImpl(Ark_ScrollableTargetInfo peer) { if (!needGroupedLog(1)) { @@ -36081,6 +37031,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_Scroller peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ScrollToImpl(Ark_Scroller peer, const Ark_ScrollOptions* options) { @@ -36254,6 +37214,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_ScrollResult peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetOffsetRemainImpl(Ark_ScrollResult peer) { if (!needGroupedLog(1)) { @@ -36311,6 +37281,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SearchController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void CaretPositionImpl(Ark_SearchController peer, Ark_Int32 value) { @@ -36405,6 +37385,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SpringBackAction peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SpringBackImpl(Ark_SpringBackAction peer) { if (!needGroupedLog(1)) { @@ -36471,6 +37461,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_StyledString peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String GetStringImpl(Ark_StyledString peer) { if (!needGroupedLog(1)) { @@ -36671,6 +37671,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_StyledStringController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetStyledStringImpl(Ark_StyledStringController peer, Ark_StyledString styledString) { @@ -36728,6 +37738,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SubmitEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void KeepEditableStateImpl(Ark_SubmitEvent peer) { if (!needGroupedLog(1)) { @@ -36796,6 +37816,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SubTabBarStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_SubTabBarStyle OfImpl(const Ark_Union_ResourceStr_ComponentContent* content) { if (!needGroupedLog(1)) { @@ -36933,6 +37963,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SwipeGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetAngleImpl(Ark_SwipeGestureEvent peer) { if (!needGroupedLog(1)) { @@ -37013,6 +38053,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SwiperContentTransitionProxy peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void FinishTransitionImpl(Ark_SwiperContentTransitionProxy peer) { if (!needGroupedLog(1)) { @@ -37149,6 +38199,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SwiperController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ShowNextImpl(Ark_SwiperController peer) { if (!needGroupedLog(1)) { @@ -37249,6 +38309,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SwipeRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Float64 GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) { if (!needGroupedLog(1)) { @@ -37305,6 +38375,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_SymbolEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } } // SymbolEffectAccessor namespace SystemOpsAccessor { Ark_NativePointer StartFrameImpl() @@ -37468,6 +38548,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TabBarSymbol peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_SymbolGlyphModifier GetNormalImpl(Ark_TabBarSymbol peer) { if (!needGroupedLog(1)) { @@ -37548,6 +38638,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TabContentTransitionProxy peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void FinishTransitionImpl(Ark_TabContentTransitionProxy peer) { if (!needGroupedLog(1)) { @@ -37638,6 +38738,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TabsController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void ChangeIndexImpl(Ark_TabsController peer, Ark_Int32 value) { @@ -37740,6 +38850,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TapGestureEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_EventLocationInfo GetTapLocationImpl(Ark_TapGestureEvent peer) { if (!needGroupedLog(1)) { @@ -37797,6 +38917,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TapRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Int32 GetTapCountImpl(Ark_TapRecognizer peer) { if (!needGroupedLog(1)) { @@ -37842,6 +38972,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextAreaController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void CaretPositionImpl(Ark_TextAreaController peer, Ark_Int32 value) { @@ -37916,6 +39056,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextBaseController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetSelectionImpl(Ark_TextBaseController peer, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, @@ -37989,6 +39139,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextClockController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StartImpl(Ark_TextClockController peer) { if (!needGroupedLog(1)) { @@ -38043,6 +39203,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) { if (!needGroupedLog(1)) { @@ -38172,6 +39342,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void CloseSelectionMenuImpl(Ark_TextController peer) { if (!needGroupedLog(1)) { @@ -38239,6 +39419,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextEditControllerEx peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_Boolean IsEditingImpl(Ark_TextEditControllerEx peer) { if (!needGroupedLog(1)) { @@ -38499,6 +39689,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextInputController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void CaretPositionImpl(Ark_TextInputController peer, Ark_Int32 value) { @@ -38573,6 +39773,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextMenuItemId peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_TextMenuItemId OfImpl(const Ark_ResourceStr* id) { if (!needGroupedLog(1)) { @@ -38743,6 +39953,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextShadowStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Array_ShadowOptions GetTextShadowImpl(Ark_TextShadowStyle peer) { if (!needGroupedLog(1)) { @@ -38789,6 +40009,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Opt_ResourceColor GetFontColorImpl(Ark_TextStyle peer) { if (!needGroupedLog(1)) { @@ -38878,6 +40108,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TextTimerController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StartImpl(Ark_TextTimerController peer) { if (!needGroupedLog(1)) { @@ -39009,6 +40249,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TouchEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StopPropagationImpl(Ark_TouchEvent peer) { if (!needGroupedLog(1)) { @@ -39144,6 +40394,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TouchRecognizer peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_EventTargetInfo GetEventTargetInfoImpl(Ark_TouchRecognizer peer) { if (!needGroupedLog(1)) { @@ -39272,6 +40532,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_TransitionEffect peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) { if (!needGroupedLog(1)) { @@ -39451,6 +40721,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_UICommonEvent peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetOnClickImpl(Ark_UICommonEvent peer, const Opt_Callback_ClickEvent_Void* callback_) { @@ -39633,6 +40913,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_UIExtensionProxy peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Throws_void SendImpl(Ark_UIExtensionProxy peer, const Map_String_Opt_Object* data) { @@ -39746,6 +41036,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_UrlStyle peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String GetUrlImpl(Ark_UrlStyle peer) { if (!needGroupedLog(1)) { @@ -39791,6 +41091,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_VideoController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void StartImpl(Ark_VideoController peer) { if (!needGroupedLog(1)) { @@ -39902,6 +41212,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_WaterFlowSections peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_Boolean SpliceImpl(Ark_WaterFlowSections peer, Ark_Int32 start, const Opt_Int32* deleteCount, @@ -40006,6 +41326,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_WebCookie peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } void SetCookieImpl(Ark_WebCookie peer) { if (!needGroupedLog(1)) { @@ -40060,6 +41390,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } + void CallHolderImpl(Ark_XComponentController peer) + { + if (!needGroupedLog(1)) { + return; + } + string out("callHolder("); + out.append(") \n"); + appendGroupedLog(1, out); + return; + } Ark_String GetXComponentSurfaceIdImpl(Ark_XComponentController peer) { if (!needGroupedLog(1)) { @@ -40370,6 +41710,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { AccessibilityHoverEventAccessor::DestroyPeerImpl, AccessibilityHoverEventAccessor::ConstructImpl, AccessibilityHoverEventAccessor::GetFinalizerImpl, + AccessibilityHoverEventAccessor::CallHolderImpl, AccessibilityHoverEventAccessor::GetTypeImpl, AccessibilityHoverEventAccessor::SetTypeImpl, AccessibilityHoverEventAccessor::GetXImpl, @@ -40429,6 +41770,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { AppearSymbolEffectAccessor::DestroyPeerImpl, AppearSymbolEffectAccessor::ConstructImpl, AppearSymbolEffectAccessor::GetFinalizerImpl, + AppearSymbolEffectAccessor::CallHolderImpl, AppearSymbolEffectAccessor::GetScopeImpl, AppearSymbolEffectAccessor::SetScopeImpl, }; @@ -40444,6 +41786,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { AxisEventAccessor::DestroyPeerImpl, AxisEventAccessor::ConstructImpl, AxisEventAccessor::GetFinalizerImpl, + AxisEventAccessor::CallHolderImpl, AxisEventAccessor::PropagationImpl, AxisEventAccessor::GetHorizontalAxisValueImpl, AxisEventAccessor::GetVerticalAxisValueImpl, @@ -40477,6 +41820,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BackgroundColorStyleAccessor::DestroyPeerImpl, BackgroundColorStyleAccessor::ConstructImpl, BackgroundColorStyleAccessor::GetFinalizerImpl, + BackgroundColorStyleAccessor::CallHolderImpl, BackgroundColorStyleAccessor::GetTextBackgroundStyleImpl, }; return &BackgroundColorStyleAccessorImpl; @@ -40491,6 +41835,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseEventAccessor::DestroyPeerImpl, BaseEventAccessor::ConstructImpl, BaseEventAccessor::GetFinalizerImpl, + BaseEventAccessor::CallHolderImpl, BaseEventAccessor::GetTargetImpl, BaseEventAccessor::SetTargetImpl, BaseEventAccessor::GetTimestampImpl, @@ -40532,6 +41877,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseGestureEventAccessor::DestroyPeerImpl, BaseGestureEventAccessor::ConstructImpl, BaseGestureEventAccessor::GetFinalizerImpl, + BaseGestureEventAccessor::CallHolderImpl, BaseGestureEventAccessor::GetFingerListImpl, BaseGestureEventAccessor::SetFingerListImpl, BaseGestureEventAccessor::GetFingerInfosImpl, @@ -40549,6 +41895,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaselineOffsetStyleAccessor::DestroyPeerImpl, BaselineOffsetStyleAccessor::ConstructImpl, BaselineOffsetStyleAccessor::GetFinalizerImpl, + BaselineOffsetStyleAccessor::CallHolderImpl, BaselineOffsetStyleAccessor::GetBaselineOffsetImpl, }; return &BaselineOffsetStyleAccessorImpl; @@ -40563,6 +41910,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseShapeAccessor::DestroyPeerImpl, BaseShapeAccessor::ConstructImpl, BaseShapeAccessor::GetFinalizerImpl, + BaseShapeAccessor::CallHolderImpl, BaseShapeAccessor::WidthImpl, BaseShapeAccessor::HeightImpl, BaseShapeAccessor::SizeImpl, @@ -40579,6 +41927,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BottomTabBarStyleAccessor::DestroyPeerImpl, BottomTabBarStyleAccessor::ConstructImpl, BottomTabBarStyleAccessor::GetFinalizerImpl, + BottomTabBarStyleAccessor::CallHolderImpl, BottomTabBarStyleAccessor::OfImpl, BottomTabBarStyleAccessor::LabelStyleImpl, BottomTabBarStyleAccessor::PaddingImpl, @@ -40600,6 +41949,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BounceSymbolEffectAccessor::DestroyPeerImpl, BounceSymbolEffectAccessor::ConstructImpl, BounceSymbolEffectAccessor::GetFinalizerImpl, + BounceSymbolEffectAccessor::CallHolderImpl, BounceSymbolEffectAccessor::GetScopeImpl, BounceSymbolEffectAccessor::SetScopeImpl, BounceSymbolEffectAccessor::GetDirectionImpl, @@ -40617,6 +41967,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BuilderNodeOpsAccessor::DestroyPeerImpl, BuilderNodeOpsAccessor::ConstructImpl, BuilderNodeOpsAccessor::GetFinalizerImpl, + BuilderNodeOpsAccessor::CallHolderImpl, BuilderNodeOpsAccessor::CreateImpl, BuilderNodeOpsAccessor::DisposeNodeImpl, BuilderNodeOpsAccessor::SetUpdateConfigurationCallbackImpl, @@ -40636,6 +41987,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CalendarPickerDialogAccessor::DestroyPeerImpl, CalendarPickerDialogAccessor::ConstructImpl, CalendarPickerDialogAccessor::GetFinalizerImpl, + CalendarPickerDialogAccessor::CallHolderImpl, CalendarPickerDialogAccessor::ShowImpl, }; return &CalendarPickerDialogAccessorImpl; @@ -40650,6 +42002,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasGradientAccessor::DestroyPeerImpl, CanvasGradientAccessor::ConstructImpl, CanvasGradientAccessor::GetFinalizerImpl, + CanvasGradientAccessor::CallHolderImpl, CanvasGradientAccessor::AddColorStopImpl, }; return &CanvasGradientAccessorImpl; @@ -40664,6 +42017,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasPathAccessor::DestroyPeerImpl, CanvasPathAccessor::ConstructImpl, CanvasPathAccessor::GetFinalizerImpl, + CanvasPathAccessor::CallHolderImpl, CanvasPathAccessor::ArcImpl, CanvasPathAccessor::ArcToImpl, CanvasPathAccessor::BezierCurveToImpl, @@ -40686,6 +42040,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasPatternAccessor::DestroyPeerImpl, CanvasPatternAccessor::ConstructImpl, CanvasPatternAccessor::GetFinalizerImpl, + CanvasPatternAccessor::CallHolderImpl, CanvasPatternAccessor::SetTransformImpl, }; return &CanvasPatternAccessorImpl; @@ -40700,6 +42055,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRendererAccessor::DestroyPeerImpl, CanvasRendererAccessor::ConstructImpl, CanvasRendererAccessor::GetFinalizerImpl, + CanvasRendererAccessor::CallHolderImpl, CanvasRendererAccessor::DrawImage0Impl, CanvasRendererAccessor::DrawImage1Impl, CanvasRendererAccessor::DrawImage2Impl, @@ -40792,6 +42148,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRenderingContext2DAccessor::DestroyPeerImpl, CanvasRenderingContext2DAccessor::ConstructImpl, CanvasRenderingContext2DAccessor::GetFinalizerImpl, + CanvasRenderingContext2DAccessor::CallHolderImpl, CanvasRenderingContext2DAccessor::ToDataURLImpl, CanvasRenderingContext2DAccessor::StartImageAnalyzerImpl, CanvasRenderingContext2DAccessor::StopImageAnalyzerImpl, @@ -40815,6 +42172,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ChildrenMainSizeAccessor::DestroyPeerImpl, ChildrenMainSizeAccessor::ConstructImpl, ChildrenMainSizeAccessor::GetFinalizerImpl, + ChildrenMainSizeAccessor::CallHolderImpl, ChildrenMainSizeAccessor::SpliceImpl, ChildrenMainSizeAccessor::UpdateImpl, ChildrenMainSizeAccessor::GetChildDefaultSizeImpl, @@ -40832,6 +42190,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ClickEventAccessor::DestroyPeerImpl, ClickEventAccessor::ConstructImpl, ClickEventAccessor::GetFinalizerImpl, + ClickEventAccessor::CallHolderImpl, ClickEventAccessor::PreventDefaultImpl, ClickEventAccessor::GetDisplayXImpl, ClickEventAccessor::SetDisplayXImpl, @@ -40860,6 +42219,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ColorContentAccessor::DestroyPeerImpl, ColorContentAccessor::ConstructImpl, ColorContentAccessor::GetFinalizerImpl, + ColorContentAccessor::CallHolderImpl, ColorContentAccessor::GetORIGINImpl, }; return &ColorContentAccessorImpl; @@ -40874,6 +42234,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ColorFilterAccessor::DestroyPeerImpl, ColorFilterAccessor::ConstructImpl, ColorFilterAccessor::GetFinalizerImpl, + ColorFilterAccessor::CallHolderImpl, }; return &ColorFilterAccessorImpl; } @@ -40887,6 +42248,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonShapeAccessor::DestroyPeerImpl, CommonShapeAccessor::ConstructImpl, CommonShapeAccessor::GetFinalizerImpl, + CommonShapeAccessor::CallHolderImpl, CommonShapeAccessor::OffsetImpl, CommonShapeAccessor::FillImpl, CommonShapeAccessor::PositionImpl, @@ -40936,6 +42298,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CopyEventAccessor::DestroyPeerImpl, CopyEventAccessor::ConstructImpl, CopyEventAccessor::GetFinalizerImpl, + CopyEventAccessor::CallHolderImpl, CopyEventAccessor::PreventDefaultImpl, }; return &CopyEventAccessorImpl; @@ -40950,6 +42313,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CrownEventAccessor::DestroyPeerImpl, CrownEventAccessor::ConstructImpl, CrownEventAccessor::GetFinalizerImpl, + CrownEventAccessor::CallHolderImpl, CrownEventAccessor::StopPropagationImpl, CrownEventAccessor::GetTimestampImpl, CrownEventAccessor::SetTimestampImpl, @@ -40972,6 +42336,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CustomDialogControllerAccessor::DestroyPeerImpl, CustomDialogControllerAccessor::ConstructImpl, CustomDialogControllerAccessor::GetFinalizerImpl, + CustomDialogControllerAccessor::CallHolderImpl, CustomDialogControllerAccessor::OpenImpl, CustomDialogControllerAccessor::CloseImpl, CustomDialogControllerAccessor::GetExternalOptionsImpl, @@ -40988,6 +42353,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CustomDialogControllerExtenderAccessor::DestroyPeerImpl, CustomDialogControllerExtenderAccessor::ConstructImpl, CustomDialogControllerExtenderAccessor::GetFinalizerImpl, + CustomDialogControllerExtenderAccessor::CallHolderImpl, CustomDialogControllerExtenderAccessor::OpenImpl, CustomDialogControllerExtenderAccessor::CloseImpl, CustomDialogControllerExtenderAccessor::SetOwnerViewImpl, @@ -41005,6 +42371,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CustomSpanAccessor::DestroyPeerImpl, CustomSpanAccessor::ConstructImpl, CustomSpanAccessor::GetFinalizerImpl, + CustomSpanAccessor::CallHolderImpl, CustomSpanAccessor::InvalidateImpl, CustomSpanAccessor::GetOnMeasure_callbackImpl, CustomSpanAccessor::SetOnMeasure_callbackImpl, @@ -41023,6 +42390,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CutEventAccessor::DestroyPeerImpl, CutEventAccessor::ConstructImpl, CutEventAccessor::GetFinalizerImpl, + CutEventAccessor::CallHolderImpl, CutEventAccessor::PreventDefaultImpl, }; return &CutEventAccessorImpl; @@ -41037,6 +42405,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DecorationStyleAccessor::DestroyPeerImpl, DecorationStyleAccessor::ConstructImpl, DecorationStyleAccessor::GetFinalizerImpl, + DecorationStyleAccessor::CallHolderImpl, DecorationStyleAccessor::GetTypeImpl, DecorationStyleAccessor::GetColorImpl, DecorationStyleAccessor::GetStyleImpl, @@ -41063,6 +42432,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DigitIndicatorAccessor::DestroyPeerImpl, DigitIndicatorAccessor::ConstructImpl, DigitIndicatorAccessor::GetFinalizerImpl, + DigitIndicatorAccessor::CallHolderImpl, DigitIndicatorAccessor::FontColorImpl, DigitIndicatorAccessor::SelectedFontColorImpl, DigitIndicatorAccessor::DigitFontImpl, @@ -41080,6 +42450,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DisappearSymbolEffectAccessor::DestroyPeerImpl, DisappearSymbolEffectAccessor::ConstructImpl, DisappearSymbolEffectAccessor::GetFinalizerImpl, + DisappearSymbolEffectAccessor::CallHolderImpl, DisappearSymbolEffectAccessor::GetScopeImpl, DisappearSymbolEffectAccessor::SetScopeImpl, }; @@ -41095,6 +42466,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DismissDialogActionAccessor::DestroyPeerImpl, DismissDialogActionAccessor::ConstructImpl, DismissDialogActionAccessor::GetFinalizerImpl, + DismissDialogActionAccessor::CallHolderImpl, DismissDialogActionAccessor::DismissImpl, DismissDialogActionAccessor::GetReasonImpl, DismissDialogActionAccessor::SetReasonImpl, @@ -41111,6 +42483,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DismissPopupActionAccessor::DestroyPeerImpl, DismissPopupActionAccessor::ConstructImpl, DismissPopupActionAccessor::GetFinalizerImpl, + DismissPopupActionAccessor::CallHolderImpl, DismissPopupActionAccessor::DismissImpl, DismissPopupActionAccessor::GetReasonImpl, DismissPopupActionAccessor::SetReasonImpl, @@ -41127,6 +42500,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DotIndicatorAccessor::DestroyPeerImpl, DotIndicatorAccessor::ConstructImpl, DotIndicatorAccessor::GetFinalizerImpl, + DotIndicatorAccessor::CallHolderImpl, DotIndicatorAccessor::ItemWidthImpl, DotIndicatorAccessor::ItemHeightImpl, DotIndicatorAccessor::SelectedItemWidthImpl, @@ -41149,6 +42523,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DragEventAccessor::DestroyPeerImpl, DragEventAccessor::ConstructImpl, DragEventAccessor::GetFinalizerImpl, + DragEventAccessor::CallHolderImpl, DragEventAccessor::GetDisplayXImpl, DragEventAccessor::GetDisplayYImpl, DragEventAccessor::GetWindowXImpl, @@ -41182,6 +42557,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DrawingRenderingContextAccessor::DestroyPeerImpl, DrawingRenderingContextAccessor::ConstructImpl, DrawingRenderingContextAccessor::GetFinalizerImpl, + DrawingRenderingContextAccessor::CallHolderImpl, DrawingRenderingContextAccessor::InvalidateImpl, DrawingRenderingContextAccessor::GetSizeImpl, DrawingRenderingContextAccessor::GetCanvasImpl, @@ -41198,6 +42574,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DrawModifierAccessor::DestroyPeerImpl, DrawModifierAccessor::ConstructImpl, DrawModifierAccessor::GetFinalizerImpl, + DrawModifierAccessor::CallHolderImpl, DrawModifierAccessor::InvalidateImpl, DrawModifierAccessor::GetDrawBehind_callbackImpl, DrawModifierAccessor::SetDrawBehind_callbackImpl, @@ -41240,6 +42617,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { EventTargetInfoAccessor::DestroyPeerImpl, EventTargetInfoAccessor::ConstructImpl, EventTargetInfoAccessor::GetFinalizerImpl, + EventTargetInfoAccessor::CallHolderImpl, EventTargetInfoAccessor::GetIdImpl, }; return &EventTargetInfoAccessorImpl; @@ -41254,6 +42632,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { FocusAxisEventAccessor::DestroyPeerImpl, FocusAxisEventAccessor::ConstructImpl, FocusAxisEventAccessor::GetFinalizerImpl, + FocusAxisEventAccessor::CallHolderImpl, FocusAxisEventAccessor::StopPropagationImpl, FocusAxisEventAccessor::GetAxisMapImpl, FocusAxisEventAccessor::SetAxisMapImpl, @@ -41350,6 +42729,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureEventAccessor::DestroyPeerImpl, GestureEventAccessor::ConstructImpl, GestureEventAccessor::GetFinalizerImpl, + GestureEventAccessor::CallHolderImpl, GestureEventAccessor::GetRepeatImpl, GestureEventAccessor::SetRepeatImpl, GestureEventAccessor::GetFingerListImpl, @@ -41418,6 +42798,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureRecognizerAccessor::DestroyPeerImpl, GestureRecognizerAccessor::ConstructImpl, GestureRecognizerAccessor::GetFinalizerImpl, + GestureRecognizerAccessor::CallHolderImpl, GestureRecognizerAccessor::GetTagImpl, GestureRecognizerAccessor::GetTypeImpl, GestureRecognizerAccessor::IsBuiltInImpl, @@ -41442,6 +42823,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureStyleAccessor::DestroyPeerImpl, GestureStyleAccessor::ConstructImpl, GestureStyleAccessor::GetFinalizerImpl, + GestureStyleAccessor::CallHolderImpl, }; return &GestureStyleAccessorImpl; } @@ -41510,6 +42892,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { HierarchicalSymbolEffectAccessor::DestroyPeerImpl, HierarchicalSymbolEffectAccessor::ConstructImpl, HierarchicalSymbolEffectAccessor::GetFinalizerImpl, + HierarchicalSymbolEffectAccessor::CallHolderImpl, HierarchicalSymbolEffectAccessor::GetFillStyleImpl, HierarchicalSymbolEffectAccessor::SetFillStyleImpl, }; @@ -41525,6 +42908,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { HoverEventAccessor::DestroyPeerImpl, HoverEventAccessor::ConstructImpl, HoverEventAccessor::GetFinalizerImpl, + HoverEventAccessor::CallHolderImpl, HoverEventAccessor::StopPropagationImpl, HoverEventAccessor::GetXImpl, HoverEventAccessor::SetXImpl, @@ -41551,6 +42935,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAnalyzerControllerAccessor::DestroyPeerImpl, ImageAnalyzerControllerAccessor::ConstructImpl, ImageAnalyzerControllerAccessor::GetFinalizerImpl, + ImageAnalyzerControllerAccessor::CallHolderImpl, ImageAnalyzerControllerAccessor::GetImageAnalyzerSupportTypesImpl, }; return &ImageAnalyzerControllerAccessorImpl; @@ -41565,6 +42950,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttachmentAccessor::DestroyPeerImpl, ImageAttachmentAccessor::ConstructImpl, ImageAttachmentAccessor::GetFinalizerImpl, + ImageAttachmentAccessor::CallHolderImpl, ImageAttachmentAccessor::GetValueImpl, ImageAttachmentAccessor::GetSizeImpl, ImageAttachmentAccessor::GetVerticalAlignImpl, @@ -41584,6 +42970,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageBitmapAccessor::DestroyPeerImpl, ImageBitmapAccessor::ConstructImpl, ImageBitmapAccessor::GetFinalizerImpl, + ImageBitmapAccessor::CallHolderImpl, ImageBitmapAccessor::CloseImpl, ImageBitmapAccessor::GetHeightImpl, ImageBitmapAccessor::GetWidthImpl, @@ -41600,6 +42987,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { IndicatorAccessor::DestroyPeerImpl, IndicatorAccessor::ConstructImpl, IndicatorAccessor::GetFinalizerImpl, + IndicatorAccessor::CallHolderImpl, IndicatorAccessor::LeftImpl, IndicatorAccessor::TopImpl, IndicatorAccessor::RightImpl, @@ -41622,6 +43010,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { IndicatorComponentControllerAccessor::DestroyPeerImpl, IndicatorComponentControllerAccessor::ConstructImpl, IndicatorComponentControllerAccessor::GetFinalizerImpl, + IndicatorComponentControllerAccessor::CallHolderImpl, IndicatorComponentControllerAccessor::ShowNextImpl, IndicatorComponentControllerAccessor::ShowPreviousImpl, IndicatorComponentControllerAccessor::ChangeIndexImpl, @@ -41647,6 +43036,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { KeyEventAccessor::DestroyPeerImpl, KeyEventAccessor::ConstructImpl, KeyEventAccessor::GetFinalizerImpl, + KeyEventAccessor::CallHolderImpl, KeyEventAccessor::GetTypeImpl, KeyEventAccessor::SetTypeImpl, KeyEventAccessor::GetKeyCodeImpl, @@ -41682,6 +43072,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutableAccessor::DestroyPeerImpl, LayoutableAccessor::ConstructImpl, LayoutableAccessor::GetFinalizerImpl, + LayoutableAccessor::CallHolderImpl, LayoutableAccessor::LayoutImpl, LayoutableAccessor::GetMarginImpl, LayoutableAccessor::GetPaddingImpl, @@ -41703,6 +43094,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutChildAccessor::DestroyPeerImpl, LayoutChildAccessor::ConstructImpl, LayoutChildAccessor::GetFinalizerImpl, + LayoutChildAccessor::CallHolderImpl, LayoutChildAccessor::MeasureImpl, LayoutChildAccessor::GetNameImpl, LayoutChildAccessor::SetNameImpl, @@ -41723,6 +43115,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutManagerAccessor::DestroyPeerImpl, LayoutManagerAccessor::ConstructImpl, LayoutManagerAccessor::GetFinalizerImpl, + LayoutManagerAccessor::CallHolderImpl, LayoutManagerAccessor::GetLineCountImpl, LayoutManagerAccessor::GetGlyphPositionAtCoordinateImpl, LayoutManagerAccessor::GetLineMetricsImpl, @@ -41740,6 +43133,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutPolicyAccessor::DestroyPeerImpl, LayoutPolicyAccessor::ConstructImpl, LayoutPolicyAccessor::GetFinalizerImpl, + LayoutPolicyAccessor::CallHolderImpl, LayoutPolicyAccessor::GetMatchParentImpl, }; return &LayoutPolicyAccessorImpl; @@ -41774,6 +43168,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LetterSpacingStyleAccessor::DestroyPeerImpl, LetterSpacingStyleAccessor::ConstructImpl, LetterSpacingStyleAccessor::GetFinalizerImpl, + LetterSpacingStyleAccessor::CallHolderImpl, LetterSpacingStyleAccessor::GetLetterSpacingImpl, }; return &LetterSpacingStyleAccessorImpl; @@ -41788,6 +43183,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LinearGradientAccessor::DestroyPeerImpl, LinearGradientAccessor::ConstructImpl, LinearGradientAccessor::GetFinalizerImpl, + LinearGradientAccessor::CallHolderImpl, }; return &LinearGradientAccessorImpl; } @@ -41801,6 +43197,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LineHeightStyleAccessor::DestroyPeerImpl, LineHeightStyleAccessor::ConstructImpl, LineHeightStyleAccessor::GetFinalizerImpl, + LineHeightStyleAccessor::CallHolderImpl, LineHeightStyleAccessor::GetLineHeightImpl, }; return &LineHeightStyleAccessorImpl; @@ -41815,6 +43212,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ListScrollerAccessor::DestroyPeerImpl, ListScrollerAccessor::ConstructImpl, ListScrollerAccessor::GetFinalizerImpl, + ListScrollerAccessor::CallHolderImpl, ListScrollerAccessor::GetItemRectInGroupImpl, ListScrollerAccessor::ScrollToItemInGroupImpl, ListScrollerAccessor::CloseAllSwipeActionsImpl, @@ -41832,6 +43230,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LongPressGestureEventAccessor::DestroyPeerImpl, LongPressGestureEventAccessor::ConstructImpl, LongPressGestureEventAccessor::GetFinalizerImpl, + LongPressGestureEventAccessor::CallHolderImpl, LongPressGestureEventAccessor::GetRepeatImpl, LongPressGestureEventAccessor::SetRepeatImpl, }; @@ -41847,6 +43246,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LongPressRecognizerAccessor::DestroyPeerImpl, LongPressRecognizerAccessor::ConstructImpl, LongPressRecognizerAccessor::GetFinalizerImpl, + LongPressRecognizerAccessor::CallHolderImpl, LongPressRecognizerAccessor::IsRepeatImpl, LongPressRecognizerAccessor::GetDurationImpl, }; @@ -41862,6 +43262,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { Matrix2DAccessor::DestroyPeerImpl, Matrix2DAccessor::ConstructImpl, Matrix2DAccessor::GetFinalizerImpl, + Matrix2DAccessor::CallHolderImpl, Matrix2DAccessor::IdentityImpl, Matrix2DAccessor::InvertImpl, Matrix2DAccessor::RotateImpl, @@ -41892,6 +43293,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { MeasurableAccessor::DestroyPeerImpl, MeasurableAccessor::ConstructImpl, MeasurableAccessor::GetFinalizerImpl, + MeasurableAccessor::CallHolderImpl, MeasurableAccessor::MeasureImpl, MeasurableAccessor::GetMarginImpl, MeasurableAccessor::GetPaddingImpl, @@ -41911,6 +43313,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { MouseEventAccessor::DestroyPeerImpl, MouseEventAccessor::ConstructImpl, MouseEventAccessor::GetFinalizerImpl, + MouseEventAccessor::CallHolderImpl, MouseEventAccessor::GetButtonImpl, MouseEventAccessor::SetButtonImpl, MouseEventAccessor::GetActionImpl, @@ -41948,6 +43351,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { MutableStyledStringAccessor::DestroyPeerImpl, MutableStyledStringAccessor::ConstructImpl, MutableStyledStringAccessor::GetFinalizerImpl, + MutableStyledStringAccessor::CallHolderImpl, MutableStyledStringAccessor::ReplaceStringImpl, MutableStyledStringAccessor::InsertStringImpl, MutableStyledStringAccessor::RemoveStringImpl, @@ -41972,6 +43376,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavDestinationContextAccessor::DestroyPeerImpl, NavDestinationContextAccessor::ConstructImpl, NavDestinationContextAccessor::GetFinalizerImpl, + NavDestinationContextAccessor::CallHolderImpl, NavDestinationContextAccessor::GetConfigInRouteMapImpl, NavDestinationContextAccessor::GetPathInfoImpl, NavDestinationContextAccessor::SetPathInfoImpl, @@ -42012,6 +43417,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavigationTransitionProxyAccessor::DestroyPeerImpl, NavigationTransitionProxyAccessor::ConstructImpl, NavigationTransitionProxyAccessor::GetFinalizerImpl, + NavigationTransitionProxyAccessor::CallHolderImpl, NavigationTransitionProxyAccessor::FinishTransitionImpl, NavigationTransitionProxyAccessor::GetFromImpl, NavigationTransitionProxyAccessor::SetFromImpl, @@ -42036,6 +43442,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavPathInfoAccessor::DestroyPeerImpl, NavPathInfoAccessor::ConstructImpl, NavPathInfoAccessor::GetFinalizerImpl, + NavPathInfoAccessor::CallHolderImpl, NavPathInfoAccessor::GetNameImpl, NavPathInfoAccessor::SetNameImpl, NavPathInfoAccessor::GetParamImpl, @@ -42058,6 +43465,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavPathStackAccessor::DestroyPeerImpl, NavPathStackAccessor::ConstructImpl, NavPathStackAccessor::GetFinalizerImpl, + NavPathStackAccessor::CallHolderImpl, NavPathStackAccessor::PushDestination0Impl, NavPathStackAccessor::PushDestination1Impl, NavPathStackAccessor::PushDestinationByName0Impl, @@ -42117,6 +43525,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { OffscreenCanvasAccessor::DestroyPeerImpl, OffscreenCanvasAccessor::ConstructImpl, OffscreenCanvasAccessor::GetFinalizerImpl, + OffscreenCanvasAccessor::CallHolderImpl, OffscreenCanvasAccessor::TransferToImageBitmapImpl, OffscreenCanvasAccessor::GetContext2dImpl, OffscreenCanvasAccessor::GetHeightImpl, @@ -42136,6 +43545,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { OffscreenCanvasRenderingContext2DAccessor::DestroyPeerImpl, OffscreenCanvasRenderingContext2DAccessor::ConstructImpl, OffscreenCanvasRenderingContext2DAccessor::GetFinalizerImpl, + OffscreenCanvasRenderingContext2DAccessor::CallHolderImpl, OffscreenCanvasRenderingContext2DAccessor::ToDataURLImpl, OffscreenCanvasRenderingContext2DAccessor::TransferToImageBitmapImpl, }; @@ -42151,6 +43561,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureEventAccessor::DestroyPeerImpl, PanGestureEventAccessor::ConstructImpl, PanGestureEventAccessor::GetFinalizerImpl, + PanGestureEventAccessor::CallHolderImpl, PanGestureEventAccessor::GetOffsetXImpl, PanGestureEventAccessor::SetOffsetXImpl, PanGestureEventAccessor::GetOffsetYImpl, @@ -42174,6 +43585,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureOptionsAccessor::DestroyPeerImpl, PanGestureOptionsAccessor::ConstructImpl, PanGestureOptionsAccessor::GetFinalizerImpl, + PanGestureOptionsAccessor::CallHolderImpl, PanGestureOptionsAccessor::SetDirectionImpl, PanGestureOptionsAccessor::SetDistanceImpl, PanGestureOptionsAccessor::SetFingersImpl, @@ -42192,6 +43604,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanRecognizerAccessor::DestroyPeerImpl, PanRecognizerAccessor::ConstructImpl, PanRecognizerAccessor::GetFinalizerImpl, + PanRecognizerAccessor::CallHolderImpl, PanRecognizerAccessor::GetPanGestureOptionsImpl, }; return &PanRecognizerAccessorImpl; @@ -42206,6 +43619,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ParagraphStyleAccessor::DestroyPeerImpl, ParagraphStyleAccessor::ConstructImpl, ParagraphStyleAccessor::GetFinalizerImpl, + ParagraphStyleAccessor::CallHolderImpl, ParagraphStyleAccessor::GetTextAlignImpl, ParagraphStyleAccessor::GetTextIndentImpl, ParagraphStyleAccessor::GetMaxLinesImpl, @@ -42237,6 +43651,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PasteEventAccessor::DestroyPeerImpl, PasteEventAccessor::ConstructImpl, PasteEventAccessor::GetFinalizerImpl, + PasteEventAccessor::CallHolderImpl, PasteEventAccessor::PreventDefaultImpl, }; return &PasteEventAccessorImpl; @@ -42256,6 +43671,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { Path2DAccessor::Construct4Impl, Path2DAccessor::Construct5Impl, Path2DAccessor::GetFinalizerImpl, + Path2DAccessor::CallHolderImpl, Path2DAccessor::AddPathImpl, }; return &Path2DAccessorImpl; @@ -42270,6 +43686,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PatternLockControllerAccessor::DestroyPeerImpl, PatternLockControllerAccessor::ConstructImpl, PatternLockControllerAccessor::GetFinalizerImpl, + PatternLockControllerAccessor::CallHolderImpl, PatternLockControllerAccessor::ResetImpl, PatternLockControllerAccessor::SetChallengeResultImpl, }; @@ -42297,6 +43714,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PinchGestureEventAccessor::DestroyPeerImpl, PinchGestureEventAccessor::ConstructImpl, PinchGestureEventAccessor::GetFinalizerImpl, + PinchGestureEventAccessor::CallHolderImpl, PinchGestureEventAccessor::GetScaleImpl, PinchGestureEventAccessor::SetScaleImpl, PinchGestureEventAccessor::GetPinchCenterXImpl, @@ -42316,6 +43734,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PinchRecognizerAccessor::DestroyPeerImpl, PinchRecognizerAccessor::ConstructImpl, PinchRecognizerAccessor::GetFinalizerImpl, + PinchRecognizerAccessor::CallHolderImpl, PinchRecognizerAccessor::GetDistanceImpl, }; return &PinchRecognizerAccessorImpl; @@ -42330,6 +43749,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PixelMapMockAccessor::DestroyPeerImpl, PixelMapMockAccessor::ConstructImpl, PixelMapMockAccessor::GetFinalizerImpl, + PixelMapMockAccessor::CallHolderImpl, PixelMapMockAccessor::ReleaseImpl, }; return &PixelMapMockAccessorImpl; @@ -42344,6 +43764,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ProgressMaskAccessor::DestroyPeerImpl, ProgressMaskAccessor::ConstructImpl, ProgressMaskAccessor::GetFinalizerImpl, + ProgressMaskAccessor::CallHolderImpl, ProgressMaskAccessor::UpdateProgressImpl, ProgressMaskAccessor::UpdateColorImpl, ProgressMaskAccessor::EnableBreathingAnimationImpl, @@ -42373,6 +43794,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PulseSymbolEffectAccessor::DestroyPeerImpl, PulseSymbolEffectAccessor::ConstructImpl, PulseSymbolEffectAccessor::GetFinalizerImpl, + PulseSymbolEffectAccessor::CallHolderImpl, }; return &PulseSymbolEffectAccessorImpl; } @@ -42386,6 +43808,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RenderingContextSettingsAccessor::DestroyPeerImpl, RenderingContextSettingsAccessor::ConstructImpl, RenderingContextSettingsAccessor::GetFinalizerImpl, + RenderingContextSettingsAccessor::CallHolderImpl, RenderingContextSettingsAccessor::GetAntialiasImpl, RenderingContextSettingsAccessor::SetAntialiasImpl, }; @@ -42455,6 +43878,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ReplaceSymbolEffectAccessor::DestroyPeerImpl, ReplaceSymbolEffectAccessor::ConstructImpl, ReplaceSymbolEffectAccessor::GetFinalizerImpl, + ReplaceSymbolEffectAccessor::CallHolderImpl, ReplaceSymbolEffectAccessor::GetScopeImpl, ReplaceSymbolEffectAccessor::SetScopeImpl, }; @@ -42470,6 +43894,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RestrictedWorkerAccessor::DestroyPeerImpl, RestrictedWorkerAccessor::ConstructImpl, RestrictedWorkerAccessor::GetFinalizerImpl, + RestrictedWorkerAccessor::CallHolderImpl, RestrictedWorkerAccessor::PostMessage0Impl, RestrictedWorkerAccessor::PostMessage1Impl, RestrictedWorkerAccessor::PostMessageWithSharedSendableImpl, @@ -42504,6 +43929,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorBaseControllerAccessor::DestroyPeerImpl, RichEditorBaseControllerAccessor::ConstructImpl, RichEditorBaseControllerAccessor::GetFinalizerImpl, + RichEditorBaseControllerAccessor::CallHolderImpl, RichEditorBaseControllerAccessor::GetCaretOffsetImpl, RichEditorBaseControllerAccessor::SetCaretOffsetImpl, RichEditorBaseControllerAccessor::CloseSelectionMenuImpl, @@ -42528,6 +43954,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorControllerAccessor::DestroyPeerImpl, RichEditorControllerAccessor::ConstructImpl, RichEditorControllerAccessor::GetFinalizerImpl, + RichEditorControllerAccessor::CallHolderImpl, RichEditorControllerAccessor::AddTextSpanImpl, RichEditorControllerAccessor::AddImageSpanImpl, RichEditorControllerAccessor::AddBuilderSpanImpl, @@ -42553,6 +43980,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorStyledStringControllerAccessor::DestroyPeerImpl, RichEditorStyledStringControllerAccessor::ConstructImpl, RichEditorStyledStringControllerAccessor::GetFinalizerImpl, + RichEditorStyledStringControllerAccessor::CallHolderImpl, RichEditorStyledStringControllerAccessor::SetStyledStringImpl, RichEditorStyledStringControllerAccessor::GetStyledStringImpl, RichEditorStyledStringControllerAccessor::GetSelectionImpl, @@ -42570,6 +43998,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RotationGestureEventAccessor::DestroyPeerImpl, RotationGestureEventAccessor::ConstructImpl, RotationGestureEventAccessor::GetFinalizerImpl, + RotationGestureEventAccessor::CallHolderImpl, RotationGestureEventAccessor::GetAngleImpl, RotationGestureEventAccessor::SetAngleImpl, }; @@ -42585,6 +44014,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RotationRecognizerAccessor::DestroyPeerImpl, RotationRecognizerAccessor::ConstructImpl, RotationRecognizerAccessor::GetFinalizerImpl, + RotationRecognizerAccessor::CallHolderImpl, RotationRecognizerAccessor::GetAngleImpl, }; return &RotationRecognizerAccessorImpl; @@ -42625,6 +44055,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScaleSymbolEffectAccessor::DestroyPeerImpl, ScaleSymbolEffectAccessor::ConstructImpl, ScaleSymbolEffectAccessor::GetFinalizerImpl, + ScaleSymbolEffectAccessor::CallHolderImpl, ScaleSymbolEffectAccessor::GetScopeImpl, ScaleSymbolEffectAccessor::SetScopeImpl, ScaleSymbolEffectAccessor::GetDirectionImpl, @@ -42650,6 +44081,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollableTargetInfoAccessor::DestroyPeerImpl, ScrollableTargetInfoAccessor::ConstructImpl, ScrollableTargetInfoAccessor::GetFinalizerImpl, + ScrollableTargetInfoAccessor::CallHolderImpl, ScrollableTargetInfoAccessor::IsBeginImpl, ScrollableTargetInfoAccessor::IsEndImpl, }; @@ -42665,6 +44097,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollerAccessor::DestroyPeerImpl, ScrollerAccessor::ConstructImpl, ScrollerAccessor::GetFinalizerImpl, + ScrollerAccessor::CallHolderImpl, ScrollerAccessor::ScrollToImpl, ScrollerAccessor::ScrollEdgeImpl, ScrollerAccessor::FlingImpl, @@ -42688,6 +44121,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollResultAccessor::DestroyPeerImpl, ScrollResultAccessor::ConstructImpl, ScrollResultAccessor::GetFinalizerImpl, + ScrollResultAccessor::CallHolderImpl, ScrollResultAccessor::GetOffsetRemainImpl, ScrollResultAccessor::SetOffsetRemainImpl, }; @@ -42703,6 +44137,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SearchControllerAccessor::DestroyPeerImpl, SearchControllerAccessor::ConstructImpl, SearchControllerAccessor::GetFinalizerImpl, + SearchControllerAccessor::CallHolderImpl, SearchControllerAccessor::CaretPositionImpl, SearchControllerAccessor::StopEditingImpl, SearchControllerAccessor::SetTextSelectionImpl, @@ -42727,6 +44162,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SpringBackActionAccessor::DestroyPeerImpl, SpringBackActionAccessor::ConstructImpl, SpringBackActionAccessor::GetFinalizerImpl, + SpringBackActionAccessor::CallHolderImpl, SpringBackActionAccessor::SpringBackImpl, }; return &SpringBackActionAccessorImpl; @@ -42761,6 +44197,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { StyledStringAccessor::DestroyPeerImpl, StyledStringAccessor::ConstructImpl, StyledStringAccessor::GetFinalizerImpl, + StyledStringAccessor::CallHolderImpl, StyledStringAccessor::GetStringImpl, StyledStringAccessor::GetStylesImpl, StyledStringAccessor::EqualsImpl, @@ -42785,6 +44222,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { StyledStringControllerAccessor::DestroyPeerImpl, StyledStringControllerAccessor::ConstructImpl, StyledStringControllerAccessor::GetFinalizerImpl, + StyledStringControllerAccessor::CallHolderImpl, StyledStringControllerAccessor::SetStyledStringImpl, StyledStringControllerAccessor::GetStyledStringImpl, }; @@ -42800,6 +44238,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SubmitEventAccessor::DestroyPeerImpl, SubmitEventAccessor::ConstructImpl, SubmitEventAccessor::GetFinalizerImpl, + SubmitEventAccessor::CallHolderImpl, SubmitEventAccessor::KeepEditableStateImpl, SubmitEventAccessor::GetTextImpl, SubmitEventAccessor::SetTextImpl, @@ -42816,6 +44255,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SubTabBarStyleAccessor::DestroyPeerImpl, SubTabBarStyleAccessor::ConstructImpl, SubTabBarStyleAccessor::GetFinalizerImpl, + SubTabBarStyleAccessor::CallHolderImpl, SubTabBarStyleAccessor::OfImpl, SubTabBarStyleAccessor::IndicatorImpl, SubTabBarStyleAccessor::SelectedModeImpl, @@ -42837,6 +44277,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwipeGestureEventAccessor::DestroyPeerImpl, SwipeGestureEventAccessor::ConstructImpl, SwipeGestureEventAccessor::GetFinalizerImpl, + SwipeGestureEventAccessor::CallHolderImpl, SwipeGestureEventAccessor::GetAngleImpl, SwipeGestureEventAccessor::SetAngleImpl, SwipeGestureEventAccessor::GetSpeedImpl, @@ -42854,6 +44295,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperContentTransitionProxyAccessor::DestroyPeerImpl, SwiperContentTransitionProxyAccessor::ConstructImpl, SwiperContentTransitionProxyAccessor::GetFinalizerImpl, + SwiperContentTransitionProxyAccessor::CallHolderImpl, SwiperContentTransitionProxyAccessor::FinishTransitionImpl, SwiperContentTransitionProxyAccessor::GetSelectedIndexImpl, SwiperContentTransitionProxyAccessor::SetSelectedIndexImpl, @@ -42876,6 +44318,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperControllerAccessor::DestroyPeerImpl, SwiperControllerAccessor::ConstructImpl, SwiperControllerAccessor::GetFinalizerImpl, + SwiperControllerAccessor::CallHolderImpl, SwiperControllerAccessor::ShowNextImpl, SwiperControllerAccessor::ShowPreviousImpl, SwiperControllerAccessor::ChangeIndexImpl, @@ -42894,6 +44337,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwipeRecognizerAccessor::DestroyPeerImpl, SwipeRecognizerAccessor::ConstructImpl, SwipeRecognizerAccessor::GetFinalizerImpl, + SwipeRecognizerAccessor::CallHolderImpl, SwipeRecognizerAccessor::GetVelocityThresholdImpl, SwipeRecognizerAccessor::GetDirectionImpl, }; @@ -42909,6 +44353,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SymbolEffectAccessor::DestroyPeerImpl, SymbolEffectAccessor::ConstructImpl, SymbolEffectAccessor::GetFinalizerImpl, + SymbolEffectAccessor::CallHolderImpl, }; return &SymbolEffectAccessorImpl; } @@ -42939,6 +44384,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabBarSymbolAccessor::DestroyPeerImpl, TabBarSymbolAccessor::ConstructImpl, TabBarSymbolAccessor::GetFinalizerImpl, + TabBarSymbolAccessor::CallHolderImpl, TabBarSymbolAccessor::GetNormalImpl, TabBarSymbolAccessor::SetNormalImpl, TabBarSymbolAccessor::GetSelectedImpl, @@ -42956,6 +44402,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabContentTransitionProxyAccessor::DestroyPeerImpl, TabContentTransitionProxyAccessor::ConstructImpl, TabContentTransitionProxyAccessor::GetFinalizerImpl, + TabContentTransitionProxyAccessor::CallHolderImpl, TabContentTransitionProxyAccessor::FinishTransitionImpl, TabContentTransitionProxyAccessor::GetFromImpl, TabContentTransitionProxyAccessor::SetFromImpl, @@ -42974,6 +44421,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabsControllerAccessor::DestroyPeerImpl, TabsControllerAccessor::ConstructImpl, TabsControllerAccessor::GetFinalizerImpl, + TabsControllerAccessor::CallHolderImpl, TabsControllerAccessor::ChangeIndexImpl, TabsControllerAccessor::PreloadItemsImpl, TabsControllerAccessor::SetTabBarTranslateImpl, @@ -42999,6 +44447,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TapGestureEventAccessor::DestroyPeerImpl, TapGestureEventAccessor::ConstructImpl, TapGestureEventAccessor::GetFinalizerImpl, + TapGestureEventAccessor::CallHolderImpl, TapGestureEventAccessor::GetTapLocationImpl, TapGestureEventAccessor::SetTapLocationImpl, }; @@ -43014,6 +44463,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TapRecognizerAccessor::DestroyPeerImpl, TapRecognizerAccessor::ConstructImpl, TapRecognizerAccessor::GetFinalizerImpl, + TapRecognizerAccessor::CallHolderImpl, TapRecognizerAccessor::GetTapCountImpl, }; return &TapRecognizerAccessorImpl; @@ -43028,6 +44478,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAreaControllerAccessor::DestroyPeerImpl, TextAreaControllerAccessor::ConstructImpl, TextAreaControllerAccessor::GetFinalizerImpl, + TextAreaControllerAccessor::CallHolderImpl, TextAreaControllerAccessor::CaretPositionImpl, TextAreaControllerAccessor::SetTextSelectionImpl, TextAreaControllerAccessor::StopEditingImpl, @@ -43044,6 +44495,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextBaseControllerAccessor::DestroyPeerImpl, TextBaseControllerAccessor::ConstructImpl, TextBaseControllerAccessor::GetFinalizerImpl, + TextBaseControllerAccessor::CallHolderImpl, TextBaseControllerAccessor::SetSelectionImpl, TextBaseControllerAccessor::CloseSelectionMenuImpl, TextBaseControllerAccessor::GetLayoutManagerImpl, @@ -43060,6 +44512,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextClockControllerAccessor::DestroyPeerImpl, TextClockControllerAccessor::ConstructImpl, TextClockControllerAccessor::GetFinalizerImpl, + TextClockControllerAccessor::CallHolderImpl, TextClockControllerAccessor::StartImpl, TextClockControllerAccessor::StopImpl, }; @@ -43075,6 +44528,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextContentControllerBaseAccessor::DestroyPeerImpl, TextContentControllerBaseAccessor::ConstructImpl, TextContentControllerBaseAccessor::GetFinalizerImpl, + TextContentControllerBaseAccessor::CallHolderImpl, TextContentControllerBaseAccessor::GetCaretOffsetImpl, TextContentControllerBaseAccessor::GetTextContentRectImpl, TextContentControllerBaseAccessor::GetTextContentLineCountImpl, @@ -43096,6 +44550,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextControllerAccessor::DestroyPeerImpl, TextControllerAccessor::ConstructImpl, TextControllerAccessor::GetFinalizerImpl, + TextControllerAccessor::CallHolderImpl, TextControllerAccessor::CloseSelectionMenuImpl, TextControllerAccessor::SetStyledStringImpl, TextControllerAccessor::GetLayoutManagerImpl, @@ -43112,6 +44567,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextEditControllerExAccessor::DestroyPeerImpl, TextEditControllerExAccessor::ConstructImpl, TextEditControllerExAccessor::GetFinalizerImpl, + TextEditControllerExAccessor::CallHolderImpl, TextEditControllerExAccessor::IsEditingImpl, TextEditControllerExAccessor::StopEditingImpl, TextEditControllerExAccessor::SetCaretOffsetImpl, @@ -43148,6 +44604,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextInputControllerAccessor::DestroyPeerImpl, TextInputControllerAccessor::ConstructImpl, TextInputControllerAccessor::GetFinalizerImpl, + TextInputControllerAccessor::CallHolderImpl, TextInputControllerAccessor::CaretPositionImpl, TextInputControllerAccessor::SetTextSelectionImpl, TextInputControllerAccessor::StopEditingImpl, @@ -43164,6 +44621,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextMenuItemIdAccessor::DestroyPeerImpl, TextMenuItemIdAccessor::ConstructImpl, TextMenuItemIdAccessor::GetFinalizerImpl, + TextMenuItemIdAccessor::CallHolderImpl, TextMenuItemIdAccessor::OfImpl, TextMenuItemIdAccessor::EqualsImpl, TextMenuItemIdAccessor::GetCUTImpl, @@ -43189,6 +44647,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextShadowStyleAccessor::DestroyPeerImpl, TextShadowStyleAccessor::ConstructImpl, TextShadowStyleAccessor::GetFinalizerImpl, + TextShadowStyleAccessor::CallHolderImpl, TextShadowStyleAccessor::GetTextShadowImpl, }; return &TextShadowStyleAccessorImpl; @@ -43203,6 +44662,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextStyleAccessor::DestroyPeerImpl, TextStyleAccessor::ConstructImpl, TextStyleAccessor::GetFinalizerImpl, + TextStyleAccessor::CallHolderImpl, TextStyleAccessor::GetFontColorImpl, TextStyleAccessor::GetFontFamilyImpl, TextStyleAccessor::GetFontSizeImpl, @@ -43221,6 +44681,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextTimerControllerAccessor::DestroyPeerImpl, TextTimerControllerAccessor::ConstructImpl, TextTimerControllerAccessor::GetFinalizerImpl, + TextTimerControllerAccessor::CallHolderImpl, TextTimerControllerAccessor::StartImpl, TextTimerControllerAccessor::PauseImpl, TextTimerControllerAccessor::ResetImpl, @@ -43248,6 +44709,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TouchEventAccessor::DestroyPeerImpl, TouchEventAccessor::ConstructImpl, TouchEventAccessor::GetFinalizerImpl, + TouchEventAccessor::CallHolderImpl, TouchEventAccessor::StopPropagationImpl, TouchEventAccessor::GetHistoricalPointsImpl, TouchEventAccessor::PreventDefaultImpl, @@ -43270,6 +44732,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TouchRecognizerAccessor::DestroyPeerImpl, TouchRecognizerAccessor::ConstructImpl, TouchRecognizerAccessor::GetFinalizerImpl, + TouchRecognizerAccessor::CallHolderImpl, TouchRecognizerAccessor::GetEventTargetInfoImpl, TouchRecognizerAccessor::CancelTouchImpl, }; @@ -43291,6 +44754,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TransitionEffectAccessor::Construct5Impl, TransitionEffectAccessor::Construct6Impl, TransitionEffectAccessor::GetFinalizerImpl, + TransitionEffectAccessor::CallHolderImpl, TransitionEffectAccessor::TranslateImpl, TransitionEffectAccessor::RotateImpl, TransitionEffectAccessor::ScaleImpl, @@ -43316,6 +44780,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UICommonEventAccessor::DestroyPeerImpl, UICommonEventAccessor::ConstructImpl, UICommonEventAccessor::GetFinalizerImpl, + UICommonEventAccessor::CallHolderImpl, UICommonEventAccessor::SetOnClickImpl, UICommonEventAccessor::SetOnTouchImpl, UICommonEventAccessor::SetOnAppearImpl, @@ -43348,6 +44813,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UIExtensionProxyAccessor::DestroyPeerImpl, UIExtensionProxyAccessor::ConstructImpl, UIExtensionProxyAccessor::GetFinalizerImpl, + UIExtensionProxyAccessor::CallHolderImpl, UIExtensionProxyAccessor::SendImpl, UIExtensionProxyAccessor::SendSyncImpl, UIExtensionProxyAccessor::OnAsyncReceiverRegisterImpl, @@ -43367,6 +44833,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UrlStyleAccessor::DestroyPeerImpl, UrlStyleAccessor::ConstructImpl, UrlStyleAccessor::GetFinalizerImpl, + UrlStyleAccessor::CallHolderImpl, UrlStyleAccessor::GetUrlImpl, }; return &UrlStyleAccessorImpl; @@ -43381,6 +44848,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { VideoControllerAccessor::DestroyPeerImpl, VideoControllerAccessor::ConstructImpl, VideoControllerAccessor::GetFinalizerImpl, + VideoControllerAccessor::CallHolderImpl, VideoControllerAccessor::StartImpl, VideoControllerAccessor::PauseImpl, VideoControllerAccessor::StopImpl, @@ -43401,6 +44869,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { WaterFlowSectionsAccessor::DestroyPeerImpl, WaterFlowSectionsAccessor::ConstructImpl, WaterFlowSectionsAccessor::GetFinalizerImpl, + WaterFlowSectionsAccessor::CallHolderImpl, WaterFlowSectionsAccessor::SpliceImpl, WaterFlowSectionsAccessor::PushImpl, WaterFlowSectionsAccessor::UpdateImpl, @@ -43419,6 +44888,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebCookieAccessor::DestroyPeerImpl, WebCookieAccessor::ConstructImpl, WebCookieAccessor::GetFinalizerImpl, + WebCookieAccessor::CallHolderImpl, WebCookieAccessor::SetCookieImpl, WebCookieAccessor::SaveCookieImpl, }; @@ -43434,6 +44904,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { XComponentControllerAccessor::DestroyPeerImpl, XComponentControllerAccessor::ConstructImpl, XComponentControllerAccessor::GetFinalizerImpl, + XComponentControllerAccessor::CallHolderImpl, XComponentControllerAccessor::GetXComponentSurfaceIdImpl, XComponentControllerAccessor::SetXComponentSurfaceRectImpl, XComponentControllerAccessor::GetXComponentSurfaceRectImpl, diff --git a/arkoala-arkts/framework/native/src/generated/real_impl.cpp b/arkoala-arkts/framework/native/src/generated/real_impl.cpp index b676295482fadd76ecef59dc7be18bd5355b7148..26962826e13caf6749363885386cecc0f783ff2b 100644 --- a/arkoala-arkts/framework/native/src/generated/real_impl.cpp +++ b/arkoala-arkts/framework/native/src/generated/real_impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -20,6 +20,8 @@ #include #include #include +#include +#include #include "Serializers.h" #include "interop-logging.h" @@ -817,6 +819,34 @@ void ShowCrash(Ark_CharPtr message) {} } } +class RefCounter { +public: + RefCounter() {} + void hold(const void* const ptr) { + ++counters_[ptr]; + } + size_t release(const void* const ptr) { + auto it = counters_.find(ptr); + if (it == counters_.end()) { + return 0; + } + std::size_t& cnt = it->second; + if (cnt < 2) { + counters_.erase(it); + return 0; + } + --cnt; + return cnt; + } +private: + std::unordered_map counters_; +}; + +RefCounter& GetRefCounter() { + static RefCounter counter; + return counter; +} + void RegisterOnClick(Ark_NativePointer node, const Callback_ClickEvent_Void* event) { auto frameNode = AsNode(node); @@ -9885,7 +9915,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_AccessibilityHoverEvent ConstructImpl() @@ -9896,6 +9928,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_AccessibilityHoverEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_AccessibilityHoverType GetTypeImpl(Ark_AccessibilityHoverEvent peer) { return {}; @@ -10016,7 +10055,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_AppearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) @@ -10027,6 +10068,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_AppearSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_EffectScope GetScopeImpl(Ark_AppearSymbolEffect peer) { return {}; @@ -10041,7 +10089,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_AxisEvent ConstructImpl() @@ -10052,6 +10102,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_AxisEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void PropagationImpl(Ark_AxisEvent peer) { } @@ -10137,7 +10194,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BackgroundColorStyle ConstructImpl(const Ark_TextBackgroundStyle* textBackgroundStyle) @@ -10148,6 +10207,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BackgroundColorStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_TextBackgroundStyle GetTextBackgroundStyleImpl(Ark_BackgroundColorStyle peer) { return {}; @@ -10158,7 +10224,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BaseEvent ConstructImpl() @@ -10169,6 +10237,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BaseEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) { return {}; @@ -10287,7 +10362,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BaseGestureEvent ConstructImpl() @@ -10298,6 +10375,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BaseGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Array_FingerInfo GetFingerListImpl(Ark_BaseGestureEvent peer) { return {}; @@ -10320,7 +10404,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BaselineOffsetStyle ConstructImpl(Ark_LengthMetrics value) @@ -10331,6 +10417,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BaselineOffsetStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetBaselineOffsetImpl(Ark_BaselineOffsetStyle peer) { return {}; @@ -10341,7 +10434,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_arkui_component_idlize_BaseShape ConstructImpl() @@ -10352,6 +10447,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_arkui_component_idlize_BaseShape peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_arkui_component_idlize_BaseShape WidthImpl(Ark_arkui_component_idlize_BaseShape peer, const Ark_Length* width) { @@ -10373,7 +10475,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BottomTabBarStyle ConstructImpl(const Ark_Union_ResourceStr_TabBarSymbol* icon, @@ -10385,6 +10489,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BottomTabBarStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_BottomTabBarStyle OfImpl(const Ark_Union_ResourceStr_TabBarSymbol* icon, const Ark_ResourceStr* text) { @@ -10431,7 +10542,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BounceSymbolEffect ConstructImpl(const Opt_EffectScope* scope, @@ -10443,6 +10556,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BounceSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_EffectScope GetScopeImpl(Ark_BounceSymbolEffect peer) { return {}; @@ -10465,7 +10585,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_BuilderNodeOps ConstructImpl() @@ -10476,6 +10598,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_BuilderNodeOps peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void CreateImpl(Ark_BuilderNodeOps peer, const Custom_Callback_Void* buildFunc) { @@ -10507,7 +10636,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CalendarPickerDialog ConstructImpl() @@ -10518,6 +10649,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CalendarPickerDialog peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ShowImpl(const Opt_CalendarDialogOptions* options) { } @@ -10527,7 +10665,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CanvasGradient ConstructImpl() @@ -10538,6 +10678,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CanvasGradient peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_void AddColorStopImpl(Ark_CanvasGradient peer, Ark_Float64 offset, const Ark_Union_String_ColorMetrics* color) @@ -10550,7 +10697,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CanvasPath ConstructImpl() @@ -10561,6 +10710,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CanvasPath peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ArcImpl(Ark_CanvasPath peer, Ark_Float64 x, Ark_Float64 y, @@ -10631,7 +10787,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CanvasPattern ConstructImpl() @@ -10642,6 +10800,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CanvasPattern peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetTransformImpl(Ark_CanvasPattern peer, const Opt_Matrix2D* transform) { @@ -10652,7 +10817,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CanvasRenderer ConstructImpl() @@ -10663,6 +10830,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CanvasRenderer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void DrawImage0Impl(Ark_CanvasRenderer peer, const Ark_Union_ImageBitmap_image_PixelMap* image, Ark_Float64 dx, @@ -11041,7 +11215,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CanvasRenderingContext2D ConstructImpl(const Opt_RenderingContextSettings* settings, @@ -11053,6 +11229,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CanvasRenderingContext2D peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String ToDataURLImpl(Ark_CanvasRenderingContext2D peer, const Opt_String* type, const Opt_Float64* quality) @@ -11107,7 +11290,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ChildrenMainSize ConstructImpl(Ark_Float64 childDefaultSize) @@ -11118,6 +11303,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ChildrenMainSize peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_void SpliceImpl(Ark_ChildrenMainSize peer, Ark_Int32 start, const Opt_Int32* deleteCount, @@ -11145,7 +11337,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ClickEvent ConstructImpl() @@ -11156,6 +11350,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ClickEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_void PreventDefaultImpl(Ark_ClickEvent peer) { return {}; @@ -11222,7 +11423,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ColorContent ConstructImpl() @@ -11233,6 +11436,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ColorContent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_ColorContent GetORIGINImpl() { return {}; @@ -11243,7 +11453,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ColorFilter ConstructImpl(const Array_F64* value) @@ -11254,13 +11466,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ColorFilter peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } } // ColorFilterAccessor namespace CommonShapeAccessor { void DestroyPeerImpl(Ark_CommonShape peer) { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CommonShape ConstructImpl() @@ -11271,6 +11492,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CommonShape peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_CommonShape OffsetImpl(Ark_CommonShape peer, const Ark_Position* offset) { @@ -11450,7 +11678,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CopyEvent ConstructImpl() @@ -11461,6 +11691,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CopyEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void PreventDefaultImpl(Ark_CopyEvent peer) { } @@ -11470,7 +11707,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CrownEvent ConstructImpl() @@ -11481,6 +11720,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CrownEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StopPropagationImpl(Ark_CrownEvent peer) { } @@ -11522,7 +11768,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CustomDialogController ConstructImpl(const Ark_CustomDialogControllerOptions* value) @@ -11533,6 +11781,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CustomDialogController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void OpenImpl(Ark_CustomDialogController peer) { } @@ -11549,7 +11804,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CustomDialogControllerExtender ConstructImpl(const Ark_CustomDialogControllerOptionsExtender* value) @@ -11560,6 +11817,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CustomDialogControllerExtender peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void OpenImpl(Ark_CustomDialogControllerExtender peer) { } @@ -11580,7 +11844,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CustomSpan ConstructImpl() @@ -11591,6 +11857,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CustomSpan peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void InvalidateImpl(Ark_CustomSpan peer) { } @@ -11616,7 +11889,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_CutEvent ConstructImpl() @@ -11627,6 +11902,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_CutEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void PreventDefaultImpl(Ark_CutEvent peer) { } @@ -11636,7 +11918,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DecorationStyle ConstructImpl(const Ark_DecorationStyleInterface* value) @@ -11647,6 +11931,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DecorationStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_TextDecorationType GetTypeImpl(Ark_DecorationStyle peer) { return {}; @@ -11676,7 +11967,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DigitIndicator ConstructImpl() @@ -11687,6 +11980,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DigitIndicator peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void FontColorImpl(Ark_DigitIndicator peer, const Opt_ResourceColor* value) { @@ -11709,7 +12009,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DisappearSymbolEffect ConstructImpl(const Opt_EffectScope* scope) @@ -11720,6 +12022,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DisappearSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_EffectScope GetScopeImpl(Ark_DisappearSymbolEffect peer) { return {}; @@ -11734,7 +12043,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DismissDialogAction ConstructImpl() @@ -11745,6 +12056,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DismissDialogAction peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void DismissImpl(Ark_DismissDialogAction peer) { } @@ -11762,7 +12080,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DismissPopupAction ConstructImpl() @@ -11773,6 +12093,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DismissPopupAction peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void DismissImpl(Ark_DismissPopupAction peer) { } @@ -11790,7 +12117,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DotIndicator ConstructImpl() @@ -11801,6 +12130,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DotIndicator peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ItemWidthImpl(Ark_DotIndicator peer, const Opt_Length* value) { @@ -11843,7 +12179,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DragEvent ConstructImpl() @@ -11854,6 +12192,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DragEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetDisplayXImpl(Ark_DragEvent peer) { return {}; @@ -11941,7 +12286,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DrawingRenderingContext ConstructImpl(const Opt_LengthMetricsUnit* unit) @@ -11952,6 +12299,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DrawingRenderingContext peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void InvalidateImpl(Ark_DrawingRenderingContext peer) { } @@ -11969,7 +12323,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_DrawModifier ConstructImpl() @@ -11980,6 +12336,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_DrawModifier peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void InvalidateImpl(Ark_DrawModifier peer) { } @@ -12053,7 +12416,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_EventTargetInfo ConstructImpl() @@ -12064,6 +12429,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_EventTargetInfo peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String GetIdImpl(Ark_EventTargetInfo peer) { return {}; @@ -12074,7 +12446,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_FocusAxisEvent ConstructImpl() @@ -12085,6 +12459,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_FocusAxisEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StopPropagationImpl(Ark_FocusAxisEvent peer) { } @@ -12125,7 +12506,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Boolean IsModifiableImpl(Ark_NativePointer peer) @@ -12362,7 +12745,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_GestureEvent ConstructImpl() @@ -12373,6 +12758,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_GestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Boolean GetRepeatImpl(Ark_GestureEvent peer) { return {}; @@ -12621,7 +13013,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_GestureRecognizer ConstructImpl() @@ -12632,6 +13026,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_GestureRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String GetTagImpl(Ark_GestureRecognizer peer) { return {}; @@ -12681,7 +13082,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_GestureStyle ConstructImpl(const Opt_GestureStyleInterface* value) @@ -12692,7 +13095,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - } // GestureStyleAccessor + void CallHolderImpl(Ark_GestureStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } + } // GestureStyleAccessor namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { void GetImpl(const Ark_String* id, const synthetic_AsyncCallback_image_PixelMap_Void* callback, @@ -12762,7 +13172,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_HierarchicalSymbolEffect ConstructImpl(const Opt_EffectFillStyle* fillStyle) @@ -12773,6 +13185,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_HierarchicalSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_EffectFillStyle GetFillStyleImpl(Ark_HierarchicalSymbolEffect peer) { return {}; @@ -12787,7 +13206,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_HoverEvent ConstructImpl() @@ -12798,6 +13219,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_HoverEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StopPropagationImpl(Ark_HoverEvent peer) { } @@ -12855,7 +13283,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ImageAnalyzerController ConstructImpl() @@ -12866,6 +13296,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ImageAnalyzerController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Array_ImageAnalyzerType GetImageAnalyzerSupportTypesImpl(Ark_ImageAnalyzerController peer) { return {}; @@ -12876,7 +13313,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ImageAttachment ConstructImpl(const Opt_AttachmentType* value) @@ -12887,6 +13326,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ImageAttachment peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_image_PixelMap GetValueImpl(Ark_ImageAttachment peer) { return {}; @@ -12917,7 +13363,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ImageBitmap ConstructImpl(const Ark_Union_image_PixelMap_String* src, @@ -12929,6 +13377,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ImageBitmap peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void CloseImpl(Ark_ImageBitmap peer) { } @@ -12946,7 +13401,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Indicator ConstructImpl() @@ -12957,6 +13414,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_Indicator peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void LeftImpl(Ark_Indicator peer, const Opt_Length* value) { @@ -13000,7 +13464,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_IndicatorComponentController ConstructImpl() @@ -13011,6 +13477,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_IndicatorComponentController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ShowNextImpl(Ark_IndicatorComponentController peer) { } @@ -13038,7 +13511,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_KeyEvent ConstructImpl() @@ -13049,6 +13524,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_KeyEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_KeyType GetTypeImpl(Ark_KeyEvent peer) { return {}; @@ -13143,7 +13625,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Layoutable ConstructImpl() @@ -13154,6 +13638,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_Layoutable peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void LayoutImpl(Ark_Layoutable peer, const Ark_Position* position) { @@ -13192,7 +13683,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LayoutChild ConstructImpl() @@ -13203,6 +13696,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LayoutChild peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void MeasureImpl(Ark_LayoutChild peer, const Ark_ConstraintSizeOptions* childConstraint) { @@ -13237,7 +13737,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LayoutManager ConstructImpl() @@ -13248,6 +13750,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LayoutManager peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_Int32 GetLineCountImpl(Ark_LayoutManager peer) { return {}; @@ -13276,7 +13785,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LayoutPolicy ConstructImpl() @@ -13287,6 +13798,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LayoutPolicy peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_LayoutPolicy GetMatchParentImpl() { return {}; @@ -13340,7 +13858,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LetterSpacingStyle ConstructImpl(Ark_LengthMetrics value) @@ -13351,6 +13871,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LetterSpacingStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetLetterSpacingImpl(Ark_LetterSpacingStyle peer) { return {}; @@ -13361,7 +13888,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LinearGradient ConstructImpl(const Array_ColorStop* colorStops) @@ -13372,13 +13901,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LinearGradient peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } } // LinearGradientAccessor namespace LineHeightStyleAccessor { void DestroyPeerImpl(Ark_LineHeightStyle peer) { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LineHeightStyle ConstructImpl(Ark_LengthMetrics lineHeight) @@ -13389,6 +13927,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LineHeightStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetLineHeightImpl(Ark_LineHeightStyle peer) { return {}; @@ -13399,7 +13944,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ListScroller ConstructImpl() @@ -13410,6 +13957,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ListScroller peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_RectResult GetItemRectInGroupImpl(Ark_ListScroller peer, Ark_Int32 index, Ark_Int32 indexInGroup) @@ -13441,7 +13995,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LongPressGestureEvent ConstructImpl() @@ -13452,6 +14008,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LongPressGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Boolean GetRepeatImpl(Ark_LongPressGestureEvent peer) { return {}; @@ -13466,7 +14029,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_LongPressRecognizer ConstructImpl() @@ -13477,6 +14042,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_LongPressRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) { return {}; @@ -13491,7 +14063,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Matrix2D ConstructImpl(const Opt_LengthMetricsUnit* unit) @@ -13502,6 +14076,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_Matrix2D peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Matrix2D IdentityImpl(Ark_Matrix2D peer) { return {}; @@ -13583,7 +14164,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Measurable ConstructImpl() @@ -13594,6 +14177,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_Measurable peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_MeasureResult MeasureImpl(Ark_Measurable peer, const Ark_ConstraintSizeOptions* constraint) { @@ -13625,7 +14215,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_MouseEvent ConstructImpl() @@ -13636,6 +14228,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_MouseEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_MouseButton GetButtonImpl(Ark_MouseEvent peer) { return {}; @@ -13738,7 +14337,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_MutableStyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, @@ -13750,6 +14351,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_MutableStyledString peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_void ReplaceStringImpl(Ark_MutableStyledString peer, Ark_Int32 start, Ark_Int32 length, @@ -13818,7 +14426,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_NavDestinationContext ConstructImpl() @@ -13829,6 +14439,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_NavDestinationContext peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_RouteMapConfig GetConfigInRouteMapImpl(Ark_NavDestinationContext peer) { return {}; @@ -13930,7 +14547,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_NavigationTransitionProxy ConstructImpl() @@ -13941,6 +14560,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_NavigationTransitionProxy peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) { } @@ -13990,7 +14616,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_NavPathInfo ConstructImpl(const Ark_String* name, @@ -14004,6 +14632,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_NavPathInfo peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String GetNameImpl(Ark_NavPathInfo peer) { return {}; @@ -14046,7 +14681,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_NavPathStack ConstructImpl() @@ -14057,6 +14694,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_NavPathStack peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void PushDestination0Impl(Ark_VMContext vmContext, Ark_AsyncWorkerPtr asyncWorker, Ark_NavPathStack peer, @@ -14249,7 +14893,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_OffscreenCanvas ConstructImpl(Ark_Float64 width, @@ -14262,7 +14908,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) + void CallHolderImpl(Ark_OffscreenCanvas peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } + Opt_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvas peer) { return {}; } @@ -14293,7 +14946,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_OffscreenCanvasRenderingContext2D ConstructImpl(Ark_Float64 width, @@ -14307,13 +14962,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_OffscreenCanvasRenderingContext2D peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String ToDataURLImpl(Ark_OffscreenCanvasRenderingContext2D peer, const Opt_String* type, const Opt_Float64* quality) { return {}; } - Ark_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) + Opt_ImageBitmap TransferToImageBitmapImpl(Ark_OffscreenCanvasRenderingContext2D peer) { return {}; } @@ -14323,7 +14985,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PanGestureEvent ConstructImpl() @@ -14334,6 +14998,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PanGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetOffsetXImpl(Ark_PanGestureEvent peer) { return {}; @@ -14380,7 +15051,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PanGestureOptions ConstructImpl(const Opt_PanGestureHandlerOptions* value) @@ -14391,6 +15064,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PanGestureOptions peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetDirectionImpl(Ark_PanGestureOptions peer, Ark_PanDirection value) { @@ -14417,7 +15097,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PanRecognizer ConstructImpl() @@ -14428,6 +15110,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PanRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_PanGestureOptions GetPanGestureOptionsImpl(Ark_PanRecognizer peer) { return {}; @@ -14438,7 +15127,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ParagraphStyle ConstructImpl(const Opt_ParagraphStyleInterface* value) @@ -14449,6 +15140,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ParagraphStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_TextAlign GetTextAlignImpl(Ark_ParagraphStyle peer) { return {}; @@ -14508,7 +15206,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PasteEvent ConstructImpl() @@ -14519,6 +15219,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PasteEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void PreventDefaultImpl(Ark_PasteEvent peer) { } @@ -14528,7 +15235,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Path2D Construct0Impl() @@ -14561,6 +15270,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_Path2D peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void AddPathImpl(Ark_Path2D peer, Ark_Path2D path, const Opt_Matrix2D* transform) @@ -14572,7 +15288,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PatternLockController ConstructImpl() @@ -14583,6 +15301,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PatternLockController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ResetImpl(Ark_PatternLockController peer) { } @@ -14616,7 +15341,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PinchGestureEvent ConstructImpl() @@ -14627,6 +15354,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PinchGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetScaleImpl(Ark_PinchGestureEvent peer) { return {}; @@ -14657,7 +15391,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PinchRecognizer ConstructImpl() @@ -14668,6 +15404,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PinchRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetDistanceImpl(Ark_PinchRecognizer peer) { return {}; @@ -14678,7 +15421,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PixelMapMock ConstructImpl() @@ -14689,6 +15434,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PixelMapMock peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ReleaseImpl(Ark_PixelMapMock peer) { } @@ -14698,7 +15450,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ProgressMask ConstructImpl(Ark_Float64 value, @@ -14711,6 +15465,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ProgressMask peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void UpdateProgressImpl(Ark_ProgressMask peer, Ark_Float64 value) { @@ -14775,7 +15536,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_PulseSymbolEffect ConstructImpl() @@ -14786,13 +15549,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_PulseSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } } // PulseSymbolEffectAccessor namespace RenderingContextSettingsAccessor { void DestroyPeerImpl(Ark_RenderingContextSettings peer) { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RenderingContextSettings ConstructImpl(const Opt_Boolean* antialias) @@ -14803,6 +15575,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RenderingContextSettings peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_Boolean GetAntialiasImpl(Ark_RenderingContextSettings peer) { return {}; @@ -14825,7 +15604,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } void SetBackgroundColorImpl(Ark_RenderNode peer, @@ -15004,7 +15785,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ReplaceSymbolEffect ConstructImpl(const Opt_EffectScope* scope) @@ -15015,9 +15798,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) + void CallHolderImpl(Ark_ReplaceSymbolEffect peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } + Opt_EffectScope GetScopeImpl(Ark_ReplaceSymbolEffect peer) + { + return {}; } void SetScopeImpl(Ark_ReplaceSymbolEffect peer, const Opt_EffectScope* scope) @@ -15029,7 +15819,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RestrictedWorker ConstructImpl(const Ark_String* scriptURL, @@ -15041,6 +15833,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RestrictedWorker peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_void PostMessage0Impl(Ark_RestrictedWorker peer, const Ark_Object* message, const Array_Buffer* transfer) @@ -15151,7 +15950,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RichEditorBaseController ConstructImpl() @@ -15162,6 +15963,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RichEditorBaseController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_Int32 GetCaretOffsetImpl(Ark_RichEditorBaseController peer) { return {}; @@ -15213,7 +16021,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RichEditorController ConstructImpl() @@ -15224,6 +16034,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RichEditorController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_Int32 AddTextSpanImpl(Ark_RichEditorController peer, const Ark_ResourceStr* content, const Opt_RichEditorTextSpanOptions* options) @@ -15290,7 +16107,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RichEditorStyledStringController ConstructImpl() @@ -15301,6 +16120,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RichEditorStyledStringController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetStyledStringImpl(Ark_RichEditorStyledStringController peer, Ark_StyledString styledString) { @@ -15323,7 +16149,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RotationGestureEvent ConstructImpl() @@ -15334,6 +16162,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RotationGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetAngleImpl(Ark_RotationGestureEvent peer) { return {}; @@ -15348,7 +16183,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_RotationRecognizer ConstructImpl() @@ -15359,6 +16196,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_RotationRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetAngleImpl(Ark_RotationRecognizer peer) { return {}; @@ -15478,7 +16322,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ScaleSymbolEffect ConstructImpl(const Opt_EffectScope* scope, @@ -15490,6 +16336,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ScaleSymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_EffectScope GetScopeImpl(Ark_ScaleSymbolEffect peer) { return {}; @@ -15519,7 +16372,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ScrollableTargetInfo ConstructImpl() @@ -15530,6 +16385,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ScrollableTargetInfo peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Boolean IsBeginImpl(Ark_ScrollableTargetInfo peer) { return {}; @@ -15544,7 +16406,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_Scroller ConstructImpl() @@ -15555,6 +16419,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_Scroller peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ScrollToImpl(Ark_Scroller peer, const Ark_ScrollOptions* options) { @@ -15610,7 +16481,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_ScrollResult ConstructImpl() @@ -15621,6 +16494,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_ScrollResult peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetOffsetRemainImpl(Ark_ScrollResult peer) { return {}; @@ -15635,7 +16515,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SearchController ConstructImpl() @@ -15646,6 +16528,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SearchController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void CaretPositionImpl(Ark_SearchController peer, Ark_Int32 value) { @@ -15675,7 +16564,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SpringBackAction ConstructImpl() @@ -15686,6 +16577,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SpringBackAction peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SpringBackImpl(Ark_SpringBackAction peer) { } @@ -15731,7 +16629,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_StyledString ConstructImpl(const Ark_Union_String_ImageAttachment_CustomSpan* value, @@ -15743,6 +16643,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_StyledString peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String GetStringImpl(Ark_StyledString peer) { return {}; @@ -15807,7 +16714,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_StyledStringController ConstructImpl() @@ -15818,6 +16727,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_StyledStringController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetStyledStringImpl(Ark_StyledStringController peer, Ark_StyledString styledString) { @@ -15832,7 +16748,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SubmitEvent ConstructImpl() @@ -15843,6 +16761,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SubmitEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void KeepEditableStateImpl(Ark_SubmitEvent peer) { } @@ -15860,7 +16785,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SubTabBarStyle ConstructImpl(const Ark_Union_ResourceStr_ComponentContent* content) @@ -15871,6 +16798,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SubTabBarStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_SubTabBarStyle OfImpl(const Ark_Union_ResourceStr_ComponentContent* content) { return {}; @@ -15916,7 +16850,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SwipeGestureEvent ConstructImpl() @@ -15927,6 +16863,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SwipeGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetAngleImpl(Ark_SwipeGestureEvent peer) { return {}; @@ -15949,7 +16892,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SwiperContentTransitionProxy ConstructImpl() @@ -15960,6 +16905,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SwiperContentTransitionProxy peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void FinishTransitionImpl(Ark_SwiperContentTransitionProxy peer) { } @@ -16001,7 +16953,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SwiperController ConstructImpl() @@ -16012,6 +16966,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SwiperController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ShowNextImpl(Ark_SwiperController peer) { } @@ -16040,7 +17001,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SwipeRecognizer ConstructImpl() @@ -16051,6 +17014,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SwipeRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Float64 GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) { return {}; @@ -16065,7 +17035,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_SymbolEffect ConstructImpl() @@ -16076,6 +17048,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_SymbolEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } } // SymbolEffectAccessor namespace SystemOpsAccessor { Ark_NativePointer StartFrameImpl() @@ -16126,7 +17105,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TabBarSymbol ConstructImpl() @@ -16137,6 +17118,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TabBarSymbol peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_SymbolGlyphModifier GetNormalImpl(Ark_TabBarSymbol peer) { return {}; @@ -16159,7 +17147,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TabContentTransitionProxy ConstructImpl() @@ -16170,6 +17160,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TabContentTransitionProxy peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void FinishTransitionImpl(Ark_TabContentTransitionProxy peer) { } @@ -16195,7 +17192,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TabsController ConstructImpl() @@ -16206,6 +17205,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TabsController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void ChangeIndexImpl(Ark_TabsController peer, Ark_Int32 value) { @@ -16238,7 +17244,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TapGestureEvent ConstructImpl() @@ -16249,6 +17257,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TapGestureEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_EventLocationInfo GetTapLocationImpl(Ark_TapGestureEvent peer) { return {}; @@ -16263,7 +17278,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TapRecognizer ConstructImpl() @@ -16274,6 +17291,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TapRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Int32 GetTapCountImpl(Ark_TapRecognizer peer) { return {}; @@ -16284,7 +17308,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextAreaController ConstructImpl() @@ -16295,6 +17321,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextAreaController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void CaretPositionImpl(Ark_TextAreaController peer, Ark_Int32 value) { @@ -16314,7 +17347,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextBaseController ConstructImpl() @@ -16325,6 +17360,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextBaseController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetSelectionImpl(Ark_TextBaseController peer, Ark_Int32 selectionStart, Ark_Int32 selectionEnd, @@ -16344,7 +17386,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextClockController ConstructImpl() @@ -16355,6 +17399,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextClockController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StartImpl(Ark_TextClockController peer) { } @@ -16367,7 +17418,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextContentControllerBase ConstructImpl() @@ -16378,6 +17431,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextContentControllerBase peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) { return {}; @@ -16418,7 +17478,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextController ConstructImpl() @@ -16429,6 +17491,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void CloseSelectionMenuImpl(Ark_TextController peer) { } @@ -16446,7 +17515,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextEditControllerEx ConstructImpl() @@ -16457,6 +17528,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextEditControllerEx peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_Boolean IsEditingImpl(Ark_TextEditControllerEx peer) { return {}; @@ -16563,7 +17641,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextInputController ConstructImpl() @@ -16574,6 +17654,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextInputController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void CaretPositionImpl(Ark_TextInputController peer, Ark_Int32 value) { @@ -16593,7 +17680,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextMenuItemId ConstructImpl() @@ -16604,6 +17693,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextMenuItemId peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_TextMenuItemId OfImpl(const Ark_ResourceStr* id) { return {}; @@ -16659,7 +17755,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextShadowStyle ConstructImpl(const Ark_Union_ShadowOptions_Array_ShadowOptions* value) @@ -16670,6 +17768,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextShadowStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Array_ShadowOptions GetTextShadowImpl(Ark_TextShadowStyle peer) { return {}; @@ -16680,7 +17785,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextStyle ConstructImpl(const Opt_TextStyleInterface* value) @@ -16691,6 +17798,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Opt_ResourceColor GetFontColorImpl(Ark_TextStyle peer) { return {}; @@ -16717,7 +17831,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TextTimerController ConstructImpl() @@ -16728,6 +17844,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TextTimerController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StartImpl(Ark_TextTimerController peer) { } @@ -16766,7 +17889,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TouchEvent ConstructImpl() @@ -16777,6 +17902,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TouchEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StopPropagationImpl(Ark_TouchEvent peer) { } @@ -16818,7 +17950,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TouchRecognizer ConstructImpl() @@ -16829,6 +17963,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TouchRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_EventTargetInfo GetEventTargetInfoImpl(Ark_TouchRecognizer peer) { return {}; @@ -16842,7 +17983,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_TransitionEffect Construct0Impl(const Ark_String* type) @@ -16877,6 +18020,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_TransitionEffect peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) { return {}; @@ -16934,7 +18084,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_UICommonEvent ConstructImpl() @@ -16945,6 +18097,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_UICommonEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetOnClickImpl(Ark_UICommonEvent peer, const Opt_Callback_ClickEvent_Void* callback_) { @@ -17002,7 +18161,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_UIExtensionProxy ConstructImpl() @@ -17013,6 +18174,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_UIExtensionProxy peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Throws_void SendImpl(Ark_UIExtensionProxy peer, const Map_String_Opt_Object* data) { @@ -17049,7 +18217,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_UrlStyle ConstructImpl(const Ark_String* url) @@ -17060,6 +18230,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_UrlStyle peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String GetUrlImpl(Ark_UrlStyle peer) { return {}; @@ -17070,7 +18247,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_VideoController ConstructImpl() @@ -17081,6 +18260,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_VideoController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void StartImpl(Ark_VideoController peer) { } @@ -17111,7 +18297,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_WaterFlowSections ConstructImpl() @@ -17122,6 +18310,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_WaterFlowSections peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_Boolean SpliceImpl(Ark_WaterFlowSections peer, Ark_Int32 start, const Opt_Int32* deleteCount, @@ -17154,7 +18349,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_WebCookie ConstructImpl() @@ -17165,6 +18362,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_WebCookie peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } void SetCookieImpl(Ark_WebCookie peer) { } @@ -17177,7 +18381,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { - delete peerImpl; + if (GetRefCounter().release(peerImpl) == 0) { + delete peerImpl; + } } } Ark_XComponentController ConstructImpl() @@ -17188,6 +18394,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } + void CallHolderImpl(Ark_XComponentController peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + GetRefCounter().hold(peerImpl); + } + } Ark_String GetXComponentSurfaceIdImpl(Ark_XComponentController peer) { return {}; @@ -17295,6 +18508,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { AccessibilityHoverEventAccessor::DestroyPeerImpl, AccessibilityHoverEventAccessor::ConstructImpl, AccessibilityHoverEventAccessor::GetFinalizerImpl, + AccessibilityHoverEventAccessor::CallHolderImpl, AccessibilityHoverEventAccessor::GetTypeImpl, AccessibilityHoverEventAccessor::SetTypeImpl, AccessibilityHoverEventAccessor::GetXImpl, @@ -17354,6 +18568,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { AppearSymbolEffectAccessor::DestroyPeerImpl, AppearSymbolEffectAccessor::ConstructImpl, AppearSymbolEffectAccessor::GetFinalizerImpl, + AppearSymbolEffectAccessor::CallHolderImpl, AppearSymbolEffectAccessor::GetScopeImpl, AppearSymbolEffectAccessor::SetScopeImpl, }; @@ -17369,6 +18584,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { AxisEventAccessor::DestroyPeerImpl, AxisEventAccessor::ConstructImpl, AxisEventAccessor::GetFinalizerImpl, + AxisEventAccessor::CallHolderImpl, AxisEventAccessor::PropagationImpl, AxisEventAccessor::GetHorizontalAxisValueImpl, AxisEventAccessor::GetVerticalAxisValueImpl, @@ -17402,6 +18618,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BackgroundColorStyleAccessor::DestroyPeerImpl, BackgroundColorStyleAccessor::ConstructImpl, BackgroundColorStyleAccessor::GetFinalizerImpl, + BackgroundColorStyleAccessor::CallHolderImpl, BackgroundColorStyleAccessor::GetTextBackgroundStyleImpl, }; return &BackgroundColorStyleAccessorImpl; @@ -17416,6 +18633,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseEventAccessor::DestroyPeerImpl, BaseEventAccessor::ConstructImpl, BaseEventAccessor::GetFinalizerImpl, + BaseEventAccessor::CallHolderImpl, BaseEventAccessor::GetTargetImpl, BaseEventAccessor::SetTargetImpl, BaseEventAccessor::GetTimestampImpl, @@ -17457,6 +18675,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseGestureEventAccessor::DestroyPeerImpl, BaseGestureEventAccessor::ConstructImpl, BaseGestureEventAccessor::GetFinalizerImpl, + BaseGestureEventAccessor::CallHolderImpl, BaseGestureEventAccessor::GetFingerListImpl, BaseGestureEventAccessor::SetFingerListImpl, BaseGestureEventAccessor::GetFingerInfosImpl, @@ -17474,6 +18693,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaselineOffsetStyleAccessor::DestroyPeerImpl, BaselineOffsetStyleAccessor::ConstructImpl, BaselineOffsetStyleAccessor::GetFinalizerImpl, + BaselineOffsetStyleAccessor::CallHolderImpl, BaselineOffsetStyleAccessor::GetBaselineOffsetImpl, }; return &BaselineOffsetStyleAccessorImpl; @@ -17488,6 +18708,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseShapeAccessor::DestroyPeerImpl, BaseShapeAccessor::ConstructImpl, BaseShapeAccessor::GetFinalizerImpl, + BaseShapeAccessor::CallHolderImpl, BaseShapeAccessor::WidthImpl, BaseShapeAccessor::HeightImpl, BaseShapeAccessor::SizeImpl, @@ -17504,6 +18725,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BottomTabBarStyleAccessor::DestroyPeerImpl, BottomTabBarStyleAccessor::ConstructImpl, BottomTabBarStyleAccessor::GetFinalizerImpl, + BottomTabBarStyleAccessor::CallHolderImpl, BottomTabBarStyleAccessor::OfImpl, BottomTabBarStyleAccessor::LabelStyleImpl, BottomTabBarStyleAccessor::PaddingImpl, @@ -17525,6 +18747,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BounceSymbolEffectAccessor::DestroyPeerImpl, BounceSymbolEffectAccessor::ConstructImpl, BounceSymbolEffectAccessor::GetFinalizerImpl, + BounceSymbolEffectAccessor::CallHolderImpl, BounceSymbolEffectAccessor::GetScopeImpl, BounceSymbolEffectAccessor::SetScopeImpl, BounceSymbolEffectAccessor::GetDirectionImpl, @@ -17542,6 +18765,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { BuilderNodeOpsAccessor::DestroyPeerImpl, BuilderNodeOpsAccessor::ConstructImpl, BuilderNodeOpsAccessor::GetFinalizerImpl, + BuilderNodeOpsAccessor::CallHolderImpl, BuilderNodeOpsAccessor::CreateImpl, BuilderNodeOpsAccessor::DisposeNodeImpl, BuilderNodeOpsAccessor::SetUpdateConfigurationCallbackImpl, @@ -17561,6 +18785,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CalendarPickerDialogAccessor::DestroyPeerImpl, CalendarPickerDialogAccessor::ConstructImpl, CalendarPickerDialogAccessor::GetFinalizerImpl, + CalendarPickerDialogAccessor::CallHolderImpl, CalendarPickerDialogAccessor::ShowImpl, }; return &CalendarPickerDialogAccessorImpl; @@ -17575,6 +18800,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasGradientAccessor::DestroyPeerImpl, CanvasGradientAccessor::ConstructImpl, CanvasGradientAccessor::GetFinalizerImpl, + CanvasGradientAccessor::CallHolderImpl, CanvasGradientAccessor::AddColorStopImpl, }; return &CanvasGradientAccessorImpl; @@ -17589,6 +18815,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasPathAccessor::DestroyPeerImpl, CanvasPathAccessor::ConstructImpl, CanvasPathAccessor::GetFinalizerImpl, + CanvasPathAccessor::CallHolderImpl, CanvasPathAccessor::ArcImpl, CanvasPathAccessor::ArcToImpl, CanvasPathAccessor::BezierCurveToImpl, @@ -17611,6 +18838,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasPatternAccessor::DestroyPeerImpl, CanvasPatternAccessor::ConstructImpl, CanvasPatternAccessor::GetFinalizerImpl, + CanvasPatternAccessor::CallHolderImpl, CanvasPatternAccessor::SetTransformImpl, }; return &CanvasPatternAccessorImpl; @@ -17625,6 +18853,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRendererAccessor::DestroyPeerImpl, CanvasRendererAccessor::ConstructImpl, CanvasRendererAccessor::GetFinalizerImpl, + CanvasRendererAccessor::CallHolderImpl, CanvasRendererAccessor::DrawImage0Impl, CanvasRendererAccessor::DrawImage1Impl, CanvasRendererAccessor::DrawImage2Impl, @@ -17717,6 +18946,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRenderingContext2DAccessor::DestroyPeerImpl, CanvasRenderingContext2DAccessor::ConstructImpl, CanvasRenderingContext2DAccessor::GetFinalizerImpl, + CanvasRenderingContext2DAccessor::CallHolderImpl, CanvasRenderingContext2DAccessor::ToDataURLImpl, CanvasRenderingContext2DAccessor::StartImageAnalyzerImpl, CanvasRenderingContext2DAccessor::StopImageAnalyzerImpl, @@ -17740,6 +18970,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ChildrenMainSizeAccessor::DestroyPeerImpl, ChildrenMainSizeAccessor::ConstructImpl, ChildrenMainSizeAccessor::GetFinalizerImpl, + ChildrenMainSizeAccessor::CallHolderImpl, ChildrenMainSizeAccessor::SpliceImpl, ChildrenMainSizeAccessor::UpdateImpl, ChildrenMainSizeAccessor::GetChildDefaultSizeImpl, @@ -17757,6 +18988,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ClickEventAccessor::DestroyPeerImpl, ClickEventAccessor::ConstructImpl, ClickEventAccessor::GetFinalizerImpl, + ClickEventAccessor::CallHolderImpl, ClickEventAccessor::PreventDefaultImpl, ClickEventAccessor::GetDisplayXImpl, ClickEventAccessor::SetDisplayXImpl, @@ -17785,6 +19017,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ColorContentAccessor::DestroyPeerImpl, ColorContentAccessor::ConstructImpl, ColorContentAccessor::GetFinalizerImpl, + ColorContentAccessor::CallHolderImpl, ColorContentAccessor::GetORIGINImpl, }; return &ColorContentAccessorImpl; @@ -17799,6 +19032,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ColorFilterAccessor::DestroyPeerImpl, ColorFilterAccessor::ConstructImpl, ColorFilterAccessor::GetFinalizerImpl, + ColorFilterAccessor::CallHolderImpl, }; return &ColorFilterAccessorImpl; } @@ -17812,6 +19046,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonShapeAccessor::DestroyPeerImpl, CommonShapeAccessor::ConstructImpl, CommonShapeAccessor::GetFinalizerImpl, + CommonShapeAccessor::CallHolderImpl, CommonShapeAccessor::OffsetImpl, CommonShapeAccessor::FillImpl, CommonShapeAccessor::PositionImpl, @@ -17861,6 +19096,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CopyEventAccessor::DestroyPeerImpl, CopyEventAccessor::ConstructImpl, CopyEventAccessor::GetFinalizerImpl, + CopyEventAccessor::CallHolderImpl, CopyEventAccessor::PreventDefaultImpl, }; return &CopyEventAccessorImpl; @@ -17875,6 +19111,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CrownEventAccessor::DestroyPeerImpl, CrownEventAccessor::ConstructImpl, CrownEventAccessor::GetFinalizerImpl, + CrownEventAccessor::CallHolderImpl, CrownEventAccessor::StopPropagationImpl, CrownEventAccessor::GetTimestampImpl, CrownEventAccessor::SetTimestampImpl, @@ -17897,6 +19134,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CustomDialogControllerAccessor::DestroyPeerImpl, CustomDialogControllerAccessor::ConstructImpl, CustomDialogControllerAccessor::GetFinalizerImpl, + CustomDialogControllerAccessor::CallHolderImpl, CustomDialogControllerAccessor::OpenImpl, CustomDialogControllerAccessor::CloseImpl, CustomDialogControllerAccessor::GetExternalOptionsImpl, @@ -17913,6 +19151,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CustomDialogControllerExtenderAccessor::DestroyPeerImpl, CustomDialogControllerExtenderAccessor::ConstructImpl, CustomDialogControllerExtenderAccessor::GetFinalizerImpl, + CustomDialogControllerExtenderAccessor::CallHolderImpl, CustomDialogControllerExtenderAccessor::OpenImpl, CustomDialogControllerExtenderAccessor::CloseImpl, CustomDialogControllerExtenderAccessor::SetOwnerViewImpl, @@ -17930,6 +19169,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CustomSpanAccessor::DestroyPeerImpl, CustomSpanAccessor::ConstructImpl, CustomSpanAccessor::GetFinalizerImpl, + CustomSpanAccessor::CallHolderImpl, CustomSpanAccessor::InvalidateImpl, CustomSpanAccessor::GetOnMeasure_callbackImpl, CustomSpanAccessor::SetOnMeasure_callbackImpl, @@ -17948,6 +19188,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CutEventAccessor::DestroyPeerImpl, CutEventAccessor::ConstructImpl, CutEventAccessor::GetFinalizerImpl, + CutEventAccessor::CallHolderImpl, CutEventAccessor::PreventDefaultImpl, }; return &CutEventAccessorImpl; @@ -17962,6 +19203,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DecorationStyleAccessor::DestroyPeerImpl, DecorationStyleAccessor::ConstructImpl, DecorationStyleAccessor::GetFinalizerImpl, + DecorationStyleAccessor::CallHolderImpl, DecorationStyleAccessor::GetTypeImpl, DecorationStyleAccessor::GetColorImpl, DecorationStyleAccessor::GetStyleImpl, @@ -17988,6 +19230,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DigitIndicatorAccessor::DestroyPeerImpl, DigitIndicatorAccessor::ConstructImpl, DigitIndicatorAccessor::GetFinalizerImpl, + DigitIndicatorAccessor::CallHolderImpl, DigitIndicatorAccessor::FontColorImpl, DigitIndicatorAccessor::SelectedFontColorImpl, DigitIndicatorAccessor::DigitFontImpl, @@ -18005,6 +19248,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DisappearSymbolEffectAccessor::DestroyPeerImpl, DisappearSymbolEffectAccessor::ConstructImpl, DisappearSymbolEffectAccessor::GetFinalizerImpl, + DisappearSymbolEffectAccessor::CallHolderImpl, DisappearSymbolEffectAccessor::GetScopeImpl, DisappearSymbolEffectAccessor::SetScopeImpl, }; @@ -18020,6 +19264,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DismissDialogActionAccessor::DestroyPeerImpl, DismissDialogActionAccessor::ConstructImpl, DismissDialogActionAccessor::GetFinalizerImpl, + DismissDialogActionAccessor::CallHolderImpl, DismissDialogActionAccessor::DismissImpl, DismissDialogActionAccessor::GetReasonImpl, DismissDialogActionAccessor::SetReasonImpl, @@ -18036,6 +19281,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DismissPopupActionAccessor::DestroyPeerImpl, DismissPopupActionAccessor::ConstructImpl, DismissPopupActionAccessor::GetFinalizerImpl, + DismissPopupActionAccessor::CallHolderImpl, DismissPopupActionAccessor::DismissImpl, DismissPopupActionAccessor::GetReasonImpl, DismissPopupActionAccessor::SetReasonImpl, @@ -18052,6 +19298,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DotIndicatorAccessor::DestroyPeerImpl, DotIndicatorAccessor::ConstructImpl, DotIndicatorAccessor::GetFinalizerImpl, + DotIndicatorAccessor::CallHolderImpl, DotIndicatorAccessor::ItemWidthImpl, DotIndicatorAccessor::ItemHeightImpl, DotIndicatorAccessor::SelectedItemWidthImpl, @@ -18074,6 +19321,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DragEventAccessor::DestroyPeerImpl, DragEventAccessor::ConstructImpl, DragEventAccessor::GetFinalizerImpl, + DragEventAccessor::CallHolderImpl, DragEventAccessor::GetDisplayXImpl, DragEventAccessor::GetDisplayYImpl, DragEventAccessor::GetWindowXImpl, @@ -18107,6 +19355,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DrawingRenderingContextAccessor::DestroyPeerImpl, DrawingRenderingContextAccessor::ConstructImpl, DrawingRenderingContextAccessor::GetFinalizerImpl, + DrawingRenderingContextAccessor::CallHolderImpl, DrawingRenderingContextAccessor::InvalidateImpl, DrawingRenderingContextAccessor::GetSizeImpl, DrawingRenderingContextAccessor::GetCanvasImpl, @@ -18123,6 +19372,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { DrawModifierAccessor::DestroyPeerImpl, DrawModifierAccessor::ConstructImpl, DrawModifierAccessor::GetFinalizerImpl, + DrawModifierAccessor::CallHolderImpl, DrawModifierAccessor::InvalidateImpl, DrawModifierAccessor::GetDrawBehind_callbackImpl, DrawModifierAccessor::SetDrawBehind_callbackImpl, @@ -18165,6 +19415,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { EventTargetInfoAccessor::DestroyPeerImpl, EventTargetInfoAccessor::ConstructImpl, EventTargetInfoAccessor::GetFinalizerImpl, + EventTargetInfoAccessor::CallHolderImpl, EventTargetInfoAccessor::GetIdImpl, }; return &EventTargetInfoAccessorImpl; @@ -18179,6 +19430,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { FocusAxisEventAccessor::DestroyPeerImpl, FocusAxisEventAccessor::ConstructImpl, FocusAxisEventAccessor::GetFinalizerImpl, + FocusAxisEventAccessor::CallHolderImpl, FocusAxisEventAccessor::StopPropagationImpl, FocusAxisEventAccessor::GetAxisMapImpl, FocusAxisEventAccessor::SetAxisMapImpl, @@ -18275,6 +19527,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureEventAccessor::DestroyPeerImpl, GestureEventAccessor::ConstructImpl, GestureEventAccessor::GetFinalizerImpl, + GestureEventAccessor::CallHolderImpl, GestureEventAccessor::GetRepeatImpl, GestureEventAccessor::SetRepeatImpl, GestureEventAccessor::GetFingerListImpl, @@ -18343,6 +19596,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureRecognizerAccessor::DestroyPeerImpl, GestureRecognizerAccessor::ConstructImpl, GestureRecognizerAccessor::GetFinalizerImpl, + GestureRecognizerAccessor::CallHolderImpl, GestureRecognizerAccessor::GetTagImpl, GestureRecognizerAccessor::GetTypeImpl, GestureRecognizerAccessor::IsBuiltInImpl, @@ -18367,6 +19621,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureStyleAccessor::DestroyPeerImpl, GestureStyleAccessor::ConstructImpl, GestureStyleAccessor::GetFinalizerImpl, + GestureStyleAccessor::CallHolderImpl, }; return &GestureStyleAccessorImpl; } @@ -18435,6 +19690,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { HierarchicalSymbolEffectAccessor::DestroyPeerImpl, HierarchicalSymbolEffectAccessor::ConstructImpl, HierarchicalSymbolEffectAccessor::GetFinalizerImpl, + HierarchicalSymbolEffectAccessor::CallHolderImpl, HierarchicalSymbolEffectAccessor::GetFillStyleImpl, HierarchicalSymbolEffectAccessor::SetFillStyleImpl, }; @@ -18450,6 +19706,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { HoverEventAccessor::DestroyPeerImpl, HoverEventAccessor::ConstructImpl, HoverEventAccessor::GetFinalizerImpl, + HoverEventAccessor::CallHolderImpl, HoverEventAccessor::StopPropagationImpl, HoverEventAccessor::GetXImpl, HoverEventAccessor::SetXImpl, @@ -18476,6 +19733,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAnalyzerControllerAccessor::DestroyPeerImpl, ImageAnalyzerControllerAccessor::ConstructImpl, ImageAnalyzerControllerAccessor::GetFinalizerImpl, + ImageAnalyzerControllerAccessor::CallHolderImpl, ImageAnalyzerControllerAccessor::GetImageAnalyzerSupportTypesImpl, }; return &ImageAnalyzerControllerAccessorImpl; @@ -18490,6 +19748,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttachmentAccessor::DestroyPeerImpl, ImageAttachmentAccessor::ConstructImpl, ImageAttachmentAccessor::GetFinalizerImpl, + ImageAttachmentAccessor::CallHolderImpl, ImageAttachmentAccessor::GetValueImpl, ImageAttachmentAccessor::GetSizeImpl, ImageAttachmentAccessor::GetVerticalAlignImpl, @@ -18509,6 +19768,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageBitmapAccessor::DestroyPeerImpl, ImageBitmapAccessor::ConstructImpl, ImageBitmapAccessor::GetFinalizerImpl, + ImageBitmapAccessor::CallHolderImpl, ImageBitmapAccessor::CloseImpl, ImageBitmapAccessor::GetHeightImpl, ImageBitmapAccessor::GetWidthImpl, @@ -18525,6 +19785,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { IndicatorAccessor::DestroyPeerImpl, IndicatorAccessor::ConstructImpl, IndicatorAccessor::GetFinalizerImpl, + IndicatorAccessor::CallHolderImpl, IndicatorAccessor::LeftImpl, IndicatorAccessor::TopImpl, IndicatorAccessor::RightImpl, @@ -18547,6 +19808,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { IndicatorComponentControllerAccessor::DestroyPeerImpl, IndicatorComponentControllerAccessor::ConstructImpl, IndicatorComponentControllerAccessor::GetFinalizerImpl, + IndicatorComponentControllerAccessor::CallHolderImpl, IndicatorComponentControllerAccessor::ShowNextImpl, IndicatorComponentControllerAccessor::ShowPreviousImpl, IndicatorComponentControllerAccessor::ChangeIndexImpl, @@ -18572,6 +19834,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { KeyEventAccessor::DestroyPeerImpl, KeyEventAccessor::ConstructImpl, KeyEventAccessor::GetFinalizerImpl, + KeyEventAccessor::CallHolderImpl, KeyEventAccessor::GetTypeImpl, KeyEventAccessor::SetTypeImpl, KeyEventAccessor::GetKeyCodeImpl, @@ -18607,6 +19870,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutableAccessor::DestroyPeerImpl, LayoutableAccessor::ConstructImpl, LayoutableAccessor::GetFinalizerImpl, + LayoutableAccessor::CallHolderImpl, LayoutableAccessor::LayoutImpl, LayoutableAccessor::GetMarginImpl, LayoutableAccessor::GetPaddingImpl, @@ -18628,6 +19892,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutChildAccessor::DestroyPeerImpl, LayoutChildAccessor::ConstructImpl, LayoutChildAccessor::GetFinalizerImpl, + LayoutChildAccessor::CallHolderImpl, LayoutChildAccessor::MeasureImpl, LayoutChildAccessor::GetNameImpl, LayoutChildAccessor::SetNameImpl, @@ -18648,6 +19913,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutManagerAccessor::DestroyPeerImpl, LayoutManagerAccessor::ConstructImpl, LayoutManagerAccessor::GetFinalizerImpl, + LayoutManagerAccessor::CallHolderImpl, LayoutManagerAccessor::GetLineCountImpl, LayoutManagerAccessor::GetGlyphPositionAtCoordinateImpl, LayoutManagerAccessor::GetLineMetricsImpl, @@ -18665,6 +19931,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LayoutPolicyAccessor::DestroyPeerImpl, LayoutPolicyAccessor::ConstructImpl, LayoutPolicyAccessor::GetFinalizerImpl, + LayoutPolicyAccessor::CallHolderImpl, LayoutPolicyAccessor::GetMatchParentImpl, }; return &LayoutPolicyAccessorImpl; @@ -18699,6 +19966,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LetterSpacingStyleAccessor::DestroyPeerImpl, LetterSpacingStyleAccessor::ConstructImpl, LetterSpacingStyleAccessor::GetFinalizerImpl, + LetterSpacingStyleAccessor::CallHolderImpl, LetterSpacingStyleAccessor::GetLetterSpacingImpl, }; return &LetterSpacingStyleAccessorImpl; @@ -18713,6 +19981,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LinearGradientAccessor::DestroyPeerImpl, LinearGradientAccessor::ConstructImpl, LinearGradientAccessor::GetFinalizerImpl, + LinearGradientAccessor::CallHolderImpl, }; return &LinearGradientAccessorImpl; } @@ -18726,6 +19995,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LineHeightStyleAccessor::DestroyPeerImpl, LineHeightStyleAccessor::ConstructImpl, LineHeightStyleAccessor::GetFinalizerImpl, + LineHeightStyleAccessor::CallHolderImpl, LineHeightStyleAccessor::GetLineHeightImpl, }; return &LineHeightStyleAccessorImpl; @@ -18740,6 +20010,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ListScrollerAccessor::DestroyPeerImpl, ListScrollerAccessor::ConstructImpl, ListScrollerAccessor::GetFinalizerImpl, + ListScrollerAccessor::CallHolderImpl, ListScrollerAccessor::GetItemRectInGroupImpl, ListScrollerAccessor::ScrollToItemInGroupImpl, ListScrollerAccessor::CloseAllSwipeActionsImpl, @@ -18757,6 +20028,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LongPressGestureEventAccessor::DestroyPeerImpl, LongPressGestureEventAccessor::ConstructImpl, LongPressGestureEventAccessor::GetFinalizerImpl, + LongPressGestureEventAccessor::CallHolderImpl, LongPressGestureEventAccessor::GetRepeatImpl, LongPressGestureEventAccessor::SetRepeatImpl, }; @@ -18772,6 +20044,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LongPressRecognizerAccessor::DestroyPeerImpl, LongPressRecognizerAccessor::ConstructImpl, LongPressRecognizerAccessor::GetFinalizerImpl, + LongPressRecognizerAccessor::CallHolderImpl, LongPressRecognizerAccessor::IsRepeatImpl, LongPressRecognizerAccessor::GetDurationImpl, }; @@ -18787,6 +20060,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { Matrix2DAccessor::DestroyPeerImpl, Matrix2DAccessor::ConstructImpl, Matrix2DAccessor::GetFinalizerImpl, + Matrix2DAccessor::CallHolderImpl, Matrix2DAccessor::IdentityImpl, Matrix2DAccessor::InvertImpl, Matrix2DAccessor::RotateImpl, @@ -18817,6 +20091,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { MeasurableAccessor::DestroyPeerImpl, MeasurableAccessor::ConstructImpl, MeasurableAccessor::GetFinalizerImpl, + MeasurableAccessor::CallHolderImpl, MeasurableAccessor::MeasureImpl, MeasurableAccessor::GetMarginImpl, MeasurableAccessor::GetPaddingImpl, @@ -18836,6 +20111,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { MouseEventAccessor::DestroyPeerImpl, MouseEventAccessor::ConstructImpl, MouseEventAccessor::GetFinalizerImpl, + MouseEventAccessor::CallHolderImpl, MouseEventAccessor::GetButtonImpl, MouseEventAccessor::SetButtonImpl, MouseEventAccessor::GetActionImpl, @@ -18873,6 +20149,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { MutableStyledStringAccessor::DestroyPeerImpl, MutableStyledStringAccessor::ConstructImpl, MutableStyledStringAccessor::GetFinalizerImpl, + MutableStyledStringAccessor::CallHolderImpl, MutableStyledStringAccessor::ReplaceStringImpl, MutableStyledStringAccessor::InsertStringImpl, MutableStyledStringAccessor::RemoveStringImpl, @@ -18897,6 +20174,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavDestinationContextAccessor::DestroyPeerImpl, NavDestinationContextAccessor::ConstructImpl, NavDestinationContextAccessor::GetFinalizerImpl, + NavDestinationContextAccessor::CallHolderImpl, NavDestinationContextAccessor::GetConfigInRouteMapImpl, NavDestinationContextAccessor::GetPathInfoImpl, NavDestinationContextAccessor::SetPathInfoImpl, @@ -18937,6 +20215,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavigationTransitionProxyAccessor::DestroyPeerImpl, NavigationTransitionProxyAccessor::ConstructImpl, NavigationTransitionProxyAccessor::GetFinalizerImpl, + NavigationTransitionProxyAccessor::CallHolderImpl, NavigationTransitionProxyAccessor::FinishTransitionImpl, NavigationTransitionProxyAccessor::GetFromImpl, NavigationTransitionProxyAccessor::SetFromImpl, @@ -18961,6 +20240,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavPathInfoAccessor::DestroyPeerImpl, NavPathInfoAccessor::ConstructImpl, NavPathInfoAccessor::GetFinalizerImpl, + NavPathInfoAccessor::CallHolderImpl, NavPathInfoAccessor::GetNameImpl, NavPathInfoAccessor::SetNameImpl, NavPathInfoAccessor::GetParamImpl, @@ -18983,6 +20263,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavPathStackAccessor::DestroyPeerImpl, NavPathStackAccessor::ConstructImpl, NavPathStackAccessor::GetFinalizerImpl, + NavPathStackAccessor::CallHolderImpl, NavPathStackAccessor::PushDestination0Impl, NavPathStackAccessor::PushDestination1Impl, NavPathStackAccessor::PushDestinationByName0Impl, @@ -19042,6 +20323,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { OffscreenCanvasAccessor::DestroyPeerImpl, OffscreenCanvasAccessor::ConstructImpl, OffscreenCanvasAccessor::GetFinalizerImpl, + OffscreenCanvasAccessor::CallHolderImpl, OffscreenCanvasAccessor::TransferToImageBitmapImpl, OffscreenCanvasAccessor::GetContext2dImpl, OffscreenCanvasAccessor::GetHeightImpl, @@ -19061,6 +20343,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { OffscreenCanvasRenderingContext2DAccessor::DestroyPeerImpl, OffscreenCanvasRenderingContext2DAccessor::ConstructImpl, OffscreenCanvasRenderingContext2DAccessor::GetFinalizerImpl, + OffscreenCanvasRenderingContext2DAccessor::CallHolderImpl, OffscreenCanvasRenderingContext2DAccessor::ToDataURLImpl, OffscreenCanvasRenderingContext2DAccessor::TransferToImageBitmapImpl, }; @@ -19076,6 +20359,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureEventAccessor::DestroyPeerImpl, PanGestureEventAccessor::ConstructImpl, PanGestureEventAccessor::GetFinalizerImpl, + PanGestureEventAccessor::CallHolderImpl, PanGestureEventAccessor::GetOffsetXImpl, PanGestureEventAccessor::SetOffsetXImpl, PanGestureEventAccessor::GetOffsetYImpl, @@ -19099,6 +20383,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureOptionsAccessor::DestroyPeerImpl, PanGestureOptionsAccessor::ConstructImpl, PanGestureOptionsAccessor::GetFinalizerImpl, + PanGestureOptionsAccessor::CallHolderImpl, PanGestureOptionsAccessor::SetDirectionImpl, PanGestureOptionsAccessor::SetDistanceImpl, PanGestureOptionsAccessor::SetFingersImpl, @@ -19117,6 +20402,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanRecognizerAccessor::DestroyPeerImpl, PanRecognizerAccessor::ConstructImpl, PanRecognizerAccessor::GetFinalizerImpl, + PanRecognizerAccessor::CallHolderImpl, PanRecognizerAccessor::GetPanGestureOptionsImpl, }; return &PanRecognizerAccessorImpl; @@ -19131,6 +20417,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ParagraphStyleAccessor::DestroyPeerImpl, ParagraphStyleAccessor::ConstructImpl, ParagraphStyleAccessor::GetFinalizerImpl, + ParagraphStyleAccessor::CallHolderImpl, ParagraphStyleAccessor::GetTextAlignImpl, ParagraphStyleAccessor::GetTextIndentImpl, ParagraphStyleAccessor::GetMaxLinesImpl, @@ -19162,6 +20449,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PasteEventAccessor::DestroyPeerImpl, PasteEventAccessor::ConstructImpl, PasteEventAccessor::GetFinalizerImpl, + PasteEventAccessor::CallHolderImpl, PasteEventAccessor::PreventDefaultImpl, }; return &PasteEventAccessorImpl; @@ -19181,6 +20469,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { Path2DAccessor::Construct4Impl, Path2DAccessor::Construct5Impl, Path2DAccessor::GetFinalizerImpl, + Path2DAccessor::CallHolderImpl, Path2DAccessor::AddPathImpl, }; return &Path2DAccessorImpl; @@ -19195,6 +20484,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PatternLockControllerAccessor::DestroyPeerImpl, PatternLockControllerAccessor::ConstructImpl, PatternLockControllerAccessor::GetFinalizerImpl, + PatternLockControllerAccessor::CallHolderImpl, PatternLockControllerAccessor::ResetImpl, PatternLockControllerAccessor::SetChallengeResultImpl, }; @@ -19222,6 +20512,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PinchGestureEventAccessor::DestroyPeerImpl, PinchGestureEventAccessor::ConstructImpl, PinchGestureEventAccessor::GetFinalizerImpl, + PinchGestureEventAccessor::CallHolderImpl, PinchGestureEventAccessor::GetScaleImpl, PinchGestureEventAccessor::SetScaleImpl, PinchGestureEventAccessor::GetPinchCenterXImpl, @@ -19241,6 +20532,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PinchRecognizerAccessor::DestroyPeerImpl, PinchRecognizerAccessor::ConstructImpl, PinchRecognizerAccessor::GetFinalizerImpl, + PinchRecognizerAccessor::CallHolderImpl, PinchRecognizerAccessor::GetDistanceImpl, }; return &PinchRecognizerAccessorImpl; @@ -19255,6 +20547,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PixelMapMockAccessor::DestroyPeerImpl, PixelMapMockAccessor::ConstructImpl, PixelMapMockAccessor::GetFinalizerImpl, + PixelMapMockAccessor::CallHolderImpl, PixelMapMockAccessor::ReleaseImpl, }; return &PixelMapMockAccessorImpl; @@ -19269,6 +20562,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ProgressMaskAccessor::DestroyPeerImpl, ProgressMaskAccessor::ConstructImpl, ProgressMaskAccessor::GetFinalizerImpl, + ProgressMaskAccessor::CallHolderImpl, ProgressMaskAccessor::UpdateProgressImpl, ProgressMaskAccessor::UpdateColorImpl, ProgressMaskAccessor::EnableBreathingAnimationImpl, @@ -19298,6 +20592,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PulseSymbolEffectAccessor::DestroyPeerImpl, PulseSymbolEffectAccessor::ConstructImpl, PulseSymbolEffectAccessor::GetFinalizerImpl, + PulseSymbolEffectAccessor::CallHolderImpl, }; return &PulseSymbolEffectAccessorImpl; } @@ -19311,6 +20606,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RenderingContextSettingsAccessor::DestroyPeerImpl, RenderingContextSettingsAccessor::ConstructImpl, RenderingContextSettingsAccessor::GetFinalizerImpl, + RenderingContextSettingsAccessor::CallHolderImpl, RenderingContextSettingsAccessor::GetAntialiasImpl, RenderingContextSettingsAccessor::SetAntialiasImpl, }; @@ -19380,6 +20676,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ReplaceSymbolEffectAccessor::DestroyPeerImpl, ReplaceSymbolEffectAccessor::ConstructImpl, ReplaceSymbolEffectAccessor::GetFinalizerImpl, + ReplaceSymbolEffectAccessor::CallHolderImpl, ReplaceSymbolEffectAccessor::GetScopeImpl, ReplaceSymbolEffectAccessor::SetScopeImpl, }; @@ -19395,6 +20692,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RestrictedWorkerAccessor::DestroyPeerImpl, RestrictedWorkerAccessor::ConstructImpl, RestrictedWorkerAccessor::GetFinalizerImpl, + RestrictedWorkerAccessor::CallHolderImpl, RestrictedWorkerAccessor::PostMessage0Impl, RestrictedWorkerAccessor::PostMessage1Impl, RestrictedWorkerAccessor::PostMessageWithSharedSendableImpl, @@ -19429,6 +20727,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorBaseControllerAccessor::DestroyPeerImpl, RichEditorBaseControllerAccessor::ConstructImpl, RichEditorBaseControllerAccessor::GetFinalizerImpl, + RichEditorBaseControllerAccessor::CallHolderImpl, RichEditorBaseControllerAccessor::GetCaretOffsetImpl, RichEditorBaseControllerAccessor::SetCaretOffsetImpl, RichEditorBaseControllerAccessor::CloseSelectionMenuImpl, @@ -19453,6 +20752,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorControllerAccessor::DestroyPeerImpl, RichEditorControllerAccessor::ConstructImpl, RichEditorControllerAccessor::GetFinalizerImpl, + RichEditorControllerAccessor::CallHolderImpl, RichEditorControllerAccessor::AddTextSpanImpl, RichEditorControllerAccessor::AddImageSpanImpl, RichEditorControllerAccessor::AddBuilderSpanImpl, @@ -19478,6 +20778,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorStyledStringControllerAccessor::DestroyPeerImpl, RichEditorStyledStringControllerAccessor::ConstructImpl, RichEditorStyledStringControllerAccessor::GetFinalizerImpl, + RichEditorStyledStringControllerAccessor::CallHolderImpl, RichEditorStyledStringControllerAccessor::SetStyledStringImpl, RichEditorStyledStringControllerAccessor::GetStyledStringImpl, RichEditorStyledStringControllerAccessor::GetSelectionImpl, @@ -19495,6 +20796,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RotationGestureEventAccessor::DestroyPeerImpl, RotationGestureEventAccessor::ConstructImpl, RotationGestureEventAccessor::GetFinalizerImpl, + RotationGestureEventAccessor::CallHolderImpl, RotationGestureEventAccessor::GetAngleImpl, RotationGestureEventAccessor::SetAngleImpl, }; @@ -19510,6 +20812,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RotationRecognizerAccessor::DestroyPeerImpl, RotationRecognizerAccessor::ConstructImpl, RotationRecognizerAccessor::GetFinalizerImpl, + RotationRecognizerAccessor::CallHolderImpl, RotationRecognizerAccessor::GetAngleImpl, }; return &RotationRecognizerAccessorImpl; @@ -19550,6 +20853,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScaleSymbolEffectAccessor::DestroyPeerImpl, ScaleSymbolEffectAccessor::ConstructImpl, ScaleSymbolEffectAccessor::GetFinalizerImpl, + ScaleSymbolEffectAccessor::CallHolderImpl, ScaleSymbolEffectAccessor::GetScopeImpl, ScaleSymbolEffectAccessor::SetScopeImpl, ScaleSymbolEffectAccessor::GetDirectionImpl, @@ -19575,6 +20879,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollableTargetInfoAccessor::DestroyPeerImpl, ScrollableTargetInfoAccessor::ConstructImpl, ScrollableTargetInfoAccessor::GetFinalizerImpl, + ScrollableTargetInfoAccessor::CallHolderImpl, ScrollableTargetInfoAccessor::IsBeginImpl, ScrollableTargetInfoAccessor::IsEndImpl, }; @@ -19590,6 +20895,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollerAccessor::DestroyPeerImpl, ScrollerAccessor::ConstructImpl, ScrollerAccessor::GetFinalizerImpl, + ScrollerAccessor::CallHolderImpl, ScrollerAccessor::ScrollToImpl, ScrollerAccessor::ScrollEdgeImpl, ScrollerAccessor::FlingImpl, @@ -19613,6 +20919,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollResultAccessor::DestroyPeerImpl, ScrollResultAccessor::ConstructImpl, ScrollResultAccessor::GetFinalizerImpl, + ScrollResultAccessor::CallHolderImpl, ScrollResultAccessor::GetOffsetRemainImpl, ScrollResultAccessor::SetOffsetRemainImpl, }; @@ -19628,6 +20935,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SearchControllerAccessor::DestroyPeerImpl, SearchControllerAccessor::ConstructImpl, SearchControllerAccessor::GetFinalizerImpl, + SearchControllerAccessor::CallHolderImpl, SearchControllerAccessor::CaretPositionImpl, SearchControllerAccessor::StopEditingImpl, SearchControllerAccessor::SetTextSelectionImpl, @@ -19652,6 +20960,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SpringBackActionAccessor::DestroyPeerImpl, SpringBackActionAccessor::ConstructImpl, SpringBackActionAccessor::GetFinalizerImpl, + SpringBackActionAccessor::CallHolderImpl, SpringBackActionAccessor::SpringBackImpl, }; return &SpringBackActionAccessorImpl; @@ -19686,6 +20995,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { StyledStringAccessor::DestroyPeerImpl, StyledStringAccessor::ConstructImpl, StyledStringAccessor::GetFinalizerImpl, + StyledStringAccessor::CallHolderImpl, StyledStringAccessor::GetStringImpl, StyledStringAccessor::GetStylesImpl, StyledStringAccessor::EqualsImpl, @@ -19710,6 +21020,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { StyledStringControllerAccessor::DestroyPeerImpl, StyledStringControllerAccessor::ConstructImpl, StyledStringControllerAccessor::GetFinalizerImpl, + StyledStringControllerAccessor::CallHolderImpl, StyledStringControllerAccessor::SetStyledStringImpl, StyledStringControllerAccessor::GetStyledStringImpl, }; @@ -19725,6 +21036,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SubmitEventAccessor::DestroyPeerImpl, SubmitEventAccessor::ConstructImpl, SubmitEventAccessor::GetFinalizerImpl, + SubmitEventAccessor::CallHolderImpl, SubmitEventAccessor::KeepEditableStateImpl, SubmitEventAccessor::GetTextImpl, SubmitEventAccessor::SetTextImpl, @@ -19741,6 +21053,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SubTabBarStyleAccessor::DestroyPeerImpl, SubTabBarStyleAccessor::ConstructImpl, SubTabBarStyleAccessor::GetFinalizerImpl, + SubTabBarStyleAccessor::CallHolderImpl, SubTabBarStyleAccessor::OfImpl, SubTabBarStyleAccessor::IndicatorImpl, SubTabBarStyleAccessor::SelectedModeImpl, @@ -19762,6 +21075,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwipeGestureEventAccessor::DestroyPeerImpl, SwipeGestureEventAccessor::ConstructImpl, SwipeGestureEventAccessor::GetFinalizerImpl, + SwipeGestureEventAccessor::CallHolderImpl, SwipeGestureEventAccessor::GetAngleImpl, SwipeGestureEventAccessor::SetAngleImpl, SwipeGestureEventAccessor::GetSpeedImpl, @@ -19779,6 +21093,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperContentTransitionProxyAccessor::DestroyPeerImpl, SwiperContentTransitionProxyAccessor::ConstructImpl, SwiperContentTransitionProxyAccessor::GetFinalizerImpl, + SwiperContentTransitionProxyAccessor::CallHolderImpl, SwiperContentTransitionProxyAccessor::FinishTransitionImpl, SwiperContentTransitionProxyAccessor::GetSelectedIndexImpl, SwiperContentTransitionProxyAccessor::SetSelectedIndexImpl, @@ -19801,6 +21116,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperControllerAccessor::DestroyPeerImpl, SwiperControllerAccessor::ConstructImpl, SwiperControllerAccessor::GetFinalizerImpl, + SwiperControllerAccessor::CallHolderImpl, SwiperControllerAccessor::ShowNextImpl, SwiperControllerAccessor::ShowPreviousImpl, SwiperControllerAccessor::ChangeIndexImpl, @@ -19819,6 +21135,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwipeRecognizerAccessor::DestroyPeerImpl, SwipeRecognizerAccessor::ConstructImpl, SwipeRecognizerAccessor::GetFinalizerImpl, + SwipeRecognizerAccessor::CallHolderImpl, SwipeRecognizerAccessor::GetVelocityThresholdImpl, SwipeRecognizerAccessor::GetDirectionImpl, }; @@ -19834,6 +21151,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { SymbolEffectAccessor::DestroyPeerImpl, SymbolEffectAccessor::ConstructImpl, SymbolEffectAccessor::GetFinalizerImpl, + SymbolEffectAccessor::CallHolderImpl, }; return &SymbolEffectAccessorImpl; } @@ -19864,6 +21182,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabBarSymbolAccessor::DestroyPeerImpl, TabBarSymbolAccessor::ConstructImpl, TabBarSymbolAccessor::GetFinalizerImpl, + TabBarSymbolAccessor::CallHolderImpl, TabBarSymbolAccessor::GetNormalImpl, TabBarSymbolAccessor::SetNormalImpl, TabBarSymbolAccessor::GetSelectedImpl, @@ -19881,6 +21200,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabContentTransitionProxyAccessor::DestroyPeerImpl, TabContentTransitionProxyAccessor::ConstructImpl, TabContentTransitionProxyAccessor::GetFinalizerImpl, + TabContentTransitionProxyAccessor::CallHolderImpl, TabContentTransitionProxyAccessor::FinishTransitionImpl, TabContentTransitionProxyAccessor::GetFromImpl, TabContentTransitionProxyAccessor::SetFromImpl, @@ -19899,6 +21219,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabsControllerAccessor::DestroyPeerImpl, TabsControllerAccessor::ConstructImpl, TabsControllerAccessor::GetFinalizerImpl, + TabsControllerAccessor::CallHolderImpl, TabsControllerAccessor::ChangeIndexImpl, TabsControllerAccessor::PreloadItemsImpl, TabsControllerAccessor::SetTabBarTranslateImpl, @@ -19924,6 +21245,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TapGestureEventAccessor::DestroyPeerImpl, TapGestureEventAccessor::ConstructImpl, TapGestureEventAccessor::GetFinalizerImpl, + TapGestureEventAccessor::CallHolderImpl, TapGestureEventAccessor::GetTapLocationImpl, TapGestureEventAccessor::SetTapLocationImpl, }; @@ -19939,6 +21261,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TapRecognizerAccessor::DestroyPeerImpl, TapRecognizerAccessor::ConstructImpl, TapRecognizerAccessor::GetFinalizerImpl, + TapRecognizerAccessor::CallHolderImpl, TapRecognizerAccessor::GetTapCountImpl, }; return &TapRecognizerAccessorImpl; @@ -19953,6 +21276,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAreaControllerAccessor::DestroyPeerImpl, TextAreaControllerAccessor::ConstructImpl, TextAreaControllerAccessor::GetFinalizerImpl, + TextAreaControllerAccessor::CallHolderImpl, TextAreaControllerAccessor::CaretPositionImpl, TextAreaControllerAccessor::SetTextSelectionImpl, TextAreaControllerAccessor::StopEditingImpl, @@ -19969,6 +21293,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextBaseControllerAccessor::DestroyPeerImpl, TextBaseControllerAccessor::ConstructImpl, TextBaseControllerAccessor::GetFinalizerImpl, + TextBaseControllerAccessor::CallHolderImpl, TextBaseControllerAccessor::SetSelectionImpl, TextBaseControllerAccessor::CloseSelectionMenuImpl, TextBaseControllerAccessor::GetLayoutManagerImpl, @@ -19985,6 +21310,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextClockControllerAccessor::DestroyPeerImpl, TextClockControllerAccessor::ConstructImpl, TextClockControllerAccessor::GetFinalizerImpl, + TextClockControllerAccessor::CallHolderImpl, TextClockControllerAccessor::StartImpl, TextClockControllerAccessor::StopImpl, }; @@ -20000,6 +21326,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextContentControllerBaseAccessor::DestroyPeerImpl, TextContentControllerBaseAccessor::ConstructImpl, TextContentControllerBaseAccessor::GetFinalizerImpl, + TextContentControllerBaseAccessor::CallHolderImpl, TextContentControllerBaseAccessor::GetCaretOffsetImpl, TextContentControllerBaseAccessor::GetTextContentRectImpl, TextContentControllerBaseAccessor::GetTextContentLineCountImpl, @@ -20021,6 +21348,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextControllerAccessor::DestroyPeerImpl, TextControllerAccessor::ConstructImpl, TextControllerAccessor::GetFinalizerImpl, + TextControllerAccessor::CallHolderImpl, TextControllerAccessor::CloseSelectionMenuImpl, TextControllerAccessor::SetStyledStringImpl, TextControllerAccessor::GetLayoutManagerImpl, @@ -20037,6 +21365,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextEditControllerExAccessor::DestroyPeerImpl, TextEditControllerExAccessor::ConstructImpl, TextEditControllerExAccessor::GetFinalizerImpl, + TextEditControllerExAccessor::CallHolderImpl, TextEditControllerExAccessor::IsEditingImpl, TextEditControllerExAccessor::StopEditingImpl, TextEditControllerExAccessor::SetCaretOffsetImpl, @@ -20073,6 +21402,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextInputControllerAccessor::DestroyPeerImpl, TextInputControllerAccessor::ConstructImpl, TextInputControllerAccessor::GetFinalizerImpl, + TextInputControllerAccessor::CallHolderImpl, TextInputControllerAccessor::CaretPositionImpl, TextInputControllerAccessor::SetTextSelectionImpl, TextInputControllerAccessor::StopEditingImpl, @@ -20089,6 +21419,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextMenuItemIdAccessor::DestroyPeerImpl, TextMenuItemIdAccessor::ConstructImpl, TextMenuItemIdAccessor::GetFinalizerImpl, + TextMenuItemIdAccessor::CallHolderImpl, TextMenuItemIdAccessor::OfImpl, TextMenuItemIdAccessor::EqualsImpl, TextMenuItemIdAccessor::GetCUTImpl, @@ -20114,6 +21445,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextShadowStyleAccessor::DestroyPeerImpl, TextShadowStyleAccessor::ConstructImpl, TextShadowStyleAccessor::GetFinalizerImpl, + TextShadowStyleAccessor::CallHolderImpl, TextShadowStyleAccessor::GetTextShadowImpl, }; return &TextShadowStyleAccessorImpl; @@ -20128,6 +21460,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextStyleAccessor::DestroyPeerImpl, TextStyleAccessor::ConstructImpl, TextStyleAccessor::GetFinalizerImpl, + TextStyleAccessor::CallHolderImpl, TextStyleAccessor::GetFontColorImpl, TextStyleAccessor::GetFontFamilyImpl, TextStyleAccessor::GetFontSizeImpl, @@ -20146,6 +21479,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextTimerControllerAccessor::DestroyPeerImpl, TextTimerControllerAccessor::ConstructImpl, TextTimerControllerAccessor::GetFinalizerImpl, + TextTimerControllerAccessor::CallHolderImpl, TextTimerControllerAccessor::StartImpl, TextTimerControllerAccessor::PauseImpl, TextTimerControllerAccessor::ResetImpl, @@ -20173,6 +21507,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TouchEventAccessor::DestroyPeerImpl, TouchEventAccessor::ConstructImpl, TouchEventAccessor::GetFinalizerImpl, + TouchEventAccessor::CallHolderImpl, TouchEventAccessor::StopPropagationImpl, TouchEventAccessor::GetHistoricalPointsImpl, TouchEventAccessor::PreventDefaultImpl, @@ -20195,6 +21530,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TouchRecognizerAccessor::DestroyPeerImpl, TouchRecognizerAccessor::ConstructImpl, TouchRecognizerAccessor::GetFinalizerImpl, + TouchRecognizerAccessor::CallHolderImpl, TouchRecognizerAccessor::GetEventTargetInfoImpl, TouchRecognizerAccessor::CancelTouchImpl, }; @@ -20216,6 +21552,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TransitionEffectAccessor::Construct5Impl, TransitionEffectAccessor::Construct6Impl, TransitionEffectAccessor::GetFinalizerImpl, + TransitionEffectAccessor::CallHolderImpl, TransitionEffectAccessor::TranslateImpl, TransitionEffectAccessor::RotateImpl, TransitionEffectAccessor::ScaleImpl, @@ -20241,6 +21578,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UICommonEventAccessor::DestroyPeerImpl, UICommonEventAccessor::ConstructImpl, UICommonEventAccessor::GetFinalizerImpl, + UICommonEventAccessor::CallHolderImpl, UICommonEventAccessor::SetOnClickImpl, UICommonEventAccessor::SetOnTouchImpl, UICommonEventAccessor::SetOnAppearImpl, @@ -20273,6 +21611,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UIExtensionProxyAccessor::DestroyPeerImpl, UIExtensionProxyAccessor::ConstructImpl, UIExtensionProxyAccessor::GetFinalizerImpl, + UIExtensionProxyAccessor::CallHolderImpl, UIExtensionProxyAccessor::SendImpl, UIExtensionProxyAccessor::SendSyncImpl, UIExtensionProxyAccessor::OnAsyncReceiverRegisterImpl, @@ -20292,6 +21631,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UrlStyleAccessor::DestroyPeerImpl, UrlStyleAccessor::ConstructImpl, UrlStyleAccessor::GetFinalizerImpl, + UrlStyleAccessor::CallHolderImpl, UrlStyleAccessor::GetUrlImpl, }; return &UrlStyleAccessorImpl; @@ -20306,6 +21646,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { VideoControllerAccessor::DestroyPeerImpl, VideoControllerAccessor::ConstructImpl, VideoControllerAccessor::GetFinalizerImpl, + VideoControllerAccessor::CallHolderImpl, VideoControllerAccessor::StartImpl, VideoControllerAccessor::PauseImpl, VideoControllerAccessor::StopImpl, @@ -20326,6 +21667,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { WaterFlowSectionsAccessor::DestroyPeerImpl, WaterFlowSectionsAccessor::ConstructImpl, WaterFlowSectionsAccessor::GetFinalizerImpl, + WaterFlowSectionsAccessor::CallHolderImpl, WaterFlowSectionsAccessor::SpliceImpl, WaterFlowSectionsAccessor::PushImpl, WaterFlowSectionsAccessor::UpdateImpl, @@ -20344,6 +21686,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebCookieAccessor::DestroyPeerImpl, WebCookieAccessor::ConstructImpl, WebCookieAccessor::GetFinalizerImpl, + WebCookieAccessor::CallHolderImpl, WebCookieAccessor::SetCookieImpl, WebCookieAccessor::SaveCookieImpl, }; @@ -20359,6 +21702,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { XComponentControllerAccessor::DestroyPeerImpl, XComponentControllerAccessor::ConstructImpl, XComponentControllerAccessor::GetFinalizerImpl, + XComponentControllerAccessor::CallHolderImpl, XComponentControllerAccessor::GetXComponentSurfaceIdImpl, XComponentControllerAccessor::SetXComponentSurfaceRectImpl, XComponentControllerAccessor::GetXComponentSurfaceRectImpl, diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-arkgen-0.0.0-vlQYyGWLi9d1N7cCQLGhV6NfY3k.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-arkgen-0.0.0-S5b5hBk_FrWqf6av8W7l7633tI0.tgz similarity index 32% rename from arkoala-arkts/tools/peer-generator/bundle/idlizer-arkgen-0.0.0-vlQYyGWLi9d1N7cCQLGhV6NfY3k.tgz rename to arkoala-arkts/tools/peer-generator/bundle/idlizer-arkgen-0.0.0-S5b5hBk_FrWqf6av8W7l7633tI0.tgz index 191c6f1603937eef7ca4b1c504ecd12ef7629a41..61e17f428c0d3f1118d6cb96e7df5838c1b4d453 100644 --- a/arkoala-arkts/tools/peer-generator/bundle/idlizer-arkgen-0.0.0-vlQYyGWLi9d1N7cCQLGhV6NfY3k.tgz +++ b/arkoala-arkts/tools/peer-generator/bundle/idlizer-arkgen-0.0.0-S5b5hBk_FrWqf6av8W7l7633tI0.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1bbbce519f7038d3be50775909934e1fd9098d31bfea042c53a3bc511ff97787 -size 671614 +oid sha256:82cf2c3f7e96c36f3bde5dc0a6186daaf4c1f05de7bde478c2e49b1a80cca427 +size 677006 diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-core-0.0.0-lvPuW6aYNK7XqjTIW141EJlv4E4.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-core-0.0.0-v0hVWModsk4cRjuCRrtue2d_6KI.tgz similarity index 32% rename from arkoala-arkts/tools/peer-generator/bundle/idlizer-core-0.0.0-lvPuW6aYNK7XqjTIW141EJlv4E4.tgz rename to arkoala-arkts/tools/peer-generator/bundle/idlizer-core-0.0.0-v0hVWModsk4cRjuCRrtue2d_6KI.tgz index 9776da4702500b96e8f52113f605c3e7bd81b1e5..937d67633834ab63a9dfc299da561cbebcec5849 100644 --- a/arkoala-arkts/tools/peer-generator/bundle/idlizer-core-0.0.0-lvPuW6aYNK7XqjTIW141EJlv4E4.tgz +++ b/arkoala-arkts/tools/peer-generator/bundle/idlizer-core-0.0.0-v0hVWModsk4cRjuCRrtue2d_6KI.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d2cc27f63b49401e7aa042f6adfa88185cbc259d66f6fc593173821165bcb93 -size 213179 +oid sha256:a368cf299efaffcd01e00ca7d9661bed163e53e1698dc6f36cdd79751db27bbc +size 214000 diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-etsgen-0.0.0-Y-Z1oex-GrcU7b4EmM1Lkqc7ht4.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-etsgen-0.0.0-0dJCobWYTZ5gaYfid2QjNA5RiDk.tgz similarity index 32% rename from arkoala-arkts/tools/peer-generator/bundle/idlizer-etsgen-0.0.0-Y-Z1oex-GrcU7b4EmM1Lkqc7ht4.tgz rename to arkoala-arkts/tools/peer-generator/bundle/idlizer-etsgen-0.0.0-0dJCobWYTZ5gaYfid2QjNA5RiDk.tgz index 3b5e4ab7b7acbf6cd83fa971eec0041efdadfe4f..509e5c8ec30c3d22ed7c7963f9b4812bc184d2c3 100644 --- a/arkoala-arkts/tools/peer-generator/bundle/idlizer-etsgen-0.0.0-Y-Z1oex-GrcU7b4EmM1Lkqc7ht4.tgz +++ b/arkoala-arkts/tools/peer-generator/bundle/idlizer-etsgen-0.0.0-0dJCobWYTZ5gaYfid2QjNA5RiDk.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dca2d50e518cc50e7f7c200e2184ee3d1a2de053f8022b9a064c1fc61a15b899 -size 306189 +oid sha256:509d8f8c1df302bfd0c4d95dfe1ca663c3fbd229d3eae7cadfcb50cd10da0eaa +size 309258 diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-libohos-0.0.0-UZiXOVMM_QNQEDuCSv3yo2YX4UA.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-libohos-0.0.0-kX1N0tfi5_qAop46gP2dmIOfKVU.tgz similarity index 32% rename from arkoala-arkts/tools/peer-generator/bundle/idlizer-libohos-0.0.0-UZiXOVMM_QNQEDuCSv3yo2YX4UA.tgz rename to arkoala-arkts/tools/peer-generator/bundle/idlizer-libohos-0.0.0-kX1N0tfi5_qAop46gP2dmIOfKVU.tgz index 882454d95b0bb189c3fe616ebc67273b95d40712..50bce3348b75313af3d50e29a0da0dcaa957a230 100644 --- a/arkoala-arkts/tools/peer-generator/bundle/idlizer-libohos-0.0.0-UZiXOVMM_QNQEDuCSv3yo2YX4UA.tgz +++ b/arkoala-arkts/tools/peer-generator/bundle/idlizer-libohos-0.0.0-kX1N0tfi5_qAop46gP2dmIOfKVU.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7f473aea5c4f35a5cdfb0ef0dc47d212f51ba6df805a6c75c51bcf636eb90ac1 -size 183519 +oid sha256:90ceb7effec82d25ea63ae70cc9264bfad86f1f8f770bcf122f376688b610f21 +size 184911 diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-ohosgen-0.0.0-ZlJj8SQ1l6DuazUsB0ccwzGaikU.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-ohosgen-0.0.0-ZlJj8SQ1l6DuazUsB0ccwzGaikU.tgz deleted file mode 100644 index 478a7eac9a9ce497a8cbd0c79573215177556261..0000000000000000000000000000000000000000 --- a/arkoala-arkts/tools/peer-generator/bundle/idlizer-ohosgen-0.0.0-ZlJj8SQ1l6DuazUsB0ccwzGaikU.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a03616ab9108e9ccb38b494f694177366ab7c8a47c3fe7fb2e75cd0b6c9147c -size 552585 diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-ohosgen-0.0.0-b7s0A88rCCSZsGnmBnz-Vig5lRU.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-ohosgen-0.0.0-b7s0A88rCCSZsGnmBnz-Vig5lRU.tgz new file mode 100644 index 0000000000000000000000000000000000000000..923ee900768a2401b0ddb644e932daa62b88db24 --- /dev/null +++ b/arkoala-arkts/tools/peer-generator/bundle/idlizer-ohosgen-0.0.0-b7s0A88rCCSZsGnmBnz-Vig5lRU.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f76b6492d5b1b0cf1d0a09ba58014e887275122a36ef83ea0e53110600c964fb +size 559124 diff --git a/arkoala-arkts/tools/peer-generator/bundle/idlizer-runner-0.0.0-eJJyIGTA1VeozyWjL-AhjjZttzE.tgz b/arkoala-arkts/tools/peer-generator/bundle/idlizer-runner-0.0.0-xQ7RD6Ju05ibWPmhO-V55mM3c34.tgz similarity index 33% rename from arkoala-arkts/tools/peer-generator/bundle/idlizer-runner-0.0.0-eJJyIGTA1VeozyWjL-AhjjZttzE.tgz rename to arkoala-arkts/tools/peer-generator/bundle/idlizer-runner-0.0.0-xQ7RD6Ju05ibWPmhO-V55mM3c34.tgz index 47ce457e3cd06e7d265077d514aa865cb10fe37a..b9555a5be1b6855baa14855960dc39adf4ff2147 100644 --- a/arkoala-arkts/tools/peer-generator/bundle/idlizer-runner-0.0.0-eJJyIGTA1VeozyWjL-AhjjZttzE.tgz +++ b/arkoala-arkts/tools/peer-generator/bundle/idlizer-runner-0.0.0-xQ7RD6Ju05ibWPmhO-V55mM3c34.tgz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ab2c1d409fcf9d5fcdbe3e0f9d69a3d6b49b8fcde3fd2780eabab738fedc1bc -size 49657 +oid sha256:95c15c19b43af83c51fe37fa4be83de5456799515577b289f2daf3c80a956dd7 +size 49715 diff --git a/arkoala-arkts/tools/peer-generator/package.json b/arkoala-arkts/tools/peer-generator/package.json index 5e2c664d823c4cceb56ad276a2abcc4afab40fca..18c00583b694a247fd6569bac6a2f075f483fdc9 100644 --- a/arkoala-arkts/tools/peer-generator/package.json +++ b/arkoala-arkts/tools/peer-generator/package.json @@ -25,12 +25,12 @@ "@koalaui/compat": "file:../../../compat", "@koalaui/interop": "file:../../../interop", "@koalaui/libarkts": "file:../../../libarkts", - "@idlizer/arkgen": "file:./bundle/idlizer-arkgen-0.0.0-vlQYyGWLi9d1N7cCQLGhV6NfY3k.tgz", - "@idlizer/ohosgen": "file:./bundle/idlizer-ohosgen-0.0.0-ZlJj8SQ1l6DuazUsB0ccwzGaikU.tgz", - "@idlizer/core": "file:./bundle/idlizer-core-0.0.0-lvPuW6aYNK7XqjTIW141EJlv4E4.tgz", - "@idlizer/etsgen": "file:./bundle/idlizer-etsgen-0.0.0-Y-Z1oex-GrcU7b4EmM1Lkqc7ht4.tgz", - "@idlizer/libohos": "file:./bundle/idlizer-libohos-0.0.0-UZiXOVMM_QNQEDuCSv3yo2YX4UA.tgz", + "@idlizer/arkgen": "file:./bundle/idlizer-arkgen-0.0.0-S5b5hBk_FrWqf6av8W7l7633tI0.tgz", + "@idlizer/ohosgen": "file:./bundle/idlizer-ohosgen-0.0.0-b7s0A88rCCSZsGnmBnz-Vig5lRU.tgz", + "@idlizer/core": "file:./bundle/idlizer-core-0.0.0-v0hVWModsk4cRjuCRrtue2d_6KI.tgz", + "@idlizer/etsgen": "file:./bundle/idlizer-etsgen-0.0.0-0dJCobWYTZ5gaYfid2QjNA5RiDk.tgz", + "@idlizer/libohos": "file:./bundle/idlizer-libohos-0.0.0-kX1N0tfi5_qAop46gP2dmIOfKVU.tgz", "@idlizer/interfaces": "file:./bundle/idlizer-interfaces-0.0.0-fngwXnpL9sBbacO9YTkOG7wGkl8.tgz", - "@idlizer/runner": "file:./bundle/idlizer-runner-0.0.0-eJJyIGTA1VeozyWjL-AhjjZttzE.tgz" + "@idlizer/runner": "file:./bundle/idlizer-runner-0.0.0-xQ7RD6Ju05ibWPmhO-V55mM3c34.tgz" } } \ No newline at end of file diff --git a/tools/download-sdk.json b/tools/download-sdk.json index b87aba6644cf9ad373974483f8f2867265fd57ee..a39b2fa2a2779a9d4c30a6ff6ee9c779278e0328 100644 --- a/tools/download-sdk.json +++ b/tools/download-sdk.json @@ -1,4 +1,4 @@ { "url": "https://gitcode.com/pavelmironchik/interface_sdk-js.git", - "ref": "3a8186124d5c30ec8f1ebe1ee6a6358587d7828d" + "ref": "1c3440bee10ce33c5ab433872beedcc18d97d921" }